Hi R Com.
i have some problems installing the prophet package. I am using the following code:
install.packages("prophet")
ERROR
WARNING: Rtools is required to build R packages but is not currently installed. Please download and install the appropriate version of Rtools before proceeding:
https://cran.rstudio.com/bin/windows/Rtools/
Installing package into ‘C:/Users/JRNH/OneDrive - Columbus Global/Documents/R/win-library/4.1’
(as ‘lib’ is unspecified)
trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.1/prophet_1.0.zip'
Content type 'application/zip' length 2051255 bytes (2.0 MB)
downloaded 2.0 MB
package ‘prophet’ successfully unpacked and MD5 sums checked
Error in install.packages : ERROR: failed to lock directory ‘C:\Users\JRNH\OneDrive - Columbus Global\Documents\R\win-library\4.1’ for modifying
Try removing ‘C:\Users\JRNH\OneDrive - Columbus Global\Documents\R\win-library\4.1/00LOCK’
Thanks