My rjson package randomly doesn't work. As in the case, it works fine sometimes, sometimes it does not load. I do not know why.
I get this error.
Error in library("rjson") : there is no package called 'rjson'
To try to mitigate this, despite the fact that he knows it, I added the installation line to my script.
install.packages("rjson", repos="http://cran.rstudio.com/") library(rjson)
Now I get ....
Install package (s) in 'C: /Users/Tom/Documents/R/win-library/2.15 (since' lib is not specified ') try url' http://cran.rstudio.com/bin/windows/contrib/ 2.15 / rjson_0.2.13.zip 'Content type "application / zip" length 491848 bytes (480 Kb) open URL downloaded 480 Kb
'rjson package successfully unpacked and MD5 sums checked Warning: cannot uninstall previous installation of' rjson package
Downloaded binary packages are located in C: \ Users \ Tom \ AppData \ Local \ Temp \ RtmpiOfTqK \ downloaded_packages
In R, when I go to "Packages β Download", for some reason rjson is NOT there. It never was, even when it worked.
I drew...
C: \ Users \ Tom \ Documents \ R \ win-win library \ 2.15
I can confirm the folder for rjson.
I do not know what to do.
source share