I am currently trying to read a .json file in R for reading it I have install the package the jsonlite.But after installation when I have tried to read the .json file ,I am getting error.
train <- fromJSON(“train.json”, flatten = TRUE)
Error in open.connection(con, “rb”) : cannot open the connection
In addition: Warning message:
In open.connection(con, “rb”) :
cannot open file ‘train.json’: Permission denied