Posts

Showing posts with the label cran

Installing an R package from local unzipped folder

Installing an R package from local unzipped folder I am having difficulty installing an unzipped package on a Windows 7 computer without administrative privileges and no internet access. I am using the RGui (not RStudio). Right now I have an unzipped library sitting in a directory. Unfortunately, when I try: install.packages("C://path//to//directory", repos = NULL, lib = "C://path//to//newDirectory") I am getting the error: Warning in `install.packages("C://path//to//directory",` : 'lib = "C://path//to//newDirectory"' is not writable Which is strange because I do have write privileges to where I am attempting to store the package. When I get this error, I also get a popup from RGui: Would you like to use a personal library instead? If I click Yes , it throws the error: Yes Error in `install.packages("C://path//to//directory",` : type == "both" cannot be used with 'repos = NULL' I also cannot ...