This site uses different types of cookies, including analytics and functional cookies (its own and from other sites). To change your cookie settings or find out more, click here. If you continue browsing our website, you accept these cookies.
Info: R (4): Warning in install.packages(c("geosphere"), repos = "http://cran.stat.nus.edu.sg/") : Info: R (4): 'lib = "C:/Program Files/Alteryx/R-3.4.4/library"' is not writable Error: R (4): Error in install.packages(c("geosphere"), repos = "http://cran.stat.nus.edu.sg/") : Info: R (4): unable to install packages Error: R (4): Execution halted
@abhinav19 you should see a magic wand that you can click on. You can type in the r package in the textbox and then select the default personal directory. After its installed, you should run the R package inside the R tool and the script will run as expected.
The install worked but when i called the package, i got below error. It may have to do with changing the default path of R package. Can you please help me with that?
My custom path where i downloaded the packge is 'C:\Users\soniab\Documents\RPackages'
Info: R (4): The following object is masked from 'package:AlteryxRDataX': Info: R (4): XMSG Error: R (4): Error: package or namespace load failed for 'readxl' in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]): Info: R (4): namespace 'Rcpp' 0.12.16 is already loaded, but >= 0.12.18 is required Error: R (4): Execution halted Error: R (4): The R.exe exit code (1) indicated an error.