install.packages("corrpolt", dependencies = TRUE, repos = 'http://cran.rstudio.com/') 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/mahes/Documents/R/win-library/3.6’ (as ‘lib’ is unspecified) Warning in install.packages : 'lib = "C:/Users/mahes/Documents/R/win-library/3.6"' is not writable Error in install.packages : unable to install packages`Preformatted text`
it looks like you don't have write access to your R library. Does the path
C:/Users/mahes/Documents/R/win-library/3.6 exists on your computer and is accessible by the system user that tries to install the package?
Can you please tell me a work around it.
there is no actual workaround. You have to check in Windows Explorer that the directory exists. If the directory exists you should check that your Windows user and the Windows user that has R installed is able to write in this directory.
Okay, I will do that.
This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.