R Experts, I had a problem when trying to install package tm. The install looked successful ("Package 'tm' successfully unpacked and MD5 sums checked") but I could not load it through library(tm). It kept complaining that tm package was not installed.
So it was through this problem that I realized I had two locations where my packages are stored: C:R/R-3.0.2/library #Preferred \\\\lab.gov/users/lopez/Data/documents/R/win-library/3.0 #NOT Preferred I am not sure when and how the second location was created. But now I want to change my default location to the "Preferred" location. I referred to http://stat.ethz.ch/R-manual/R-devel/library/base/html/libPaths.html but I don't understand how to set the environment variables R_LIBS or R_LIBS_SITE, which is what I understood I need to do. I looked in R\R-3.0.2\etc and did not find a Renviron file (per http://mathematicalcoffee.blogspot.com/2013/04/getting-rstudio-to-include-your.html). So I created one (file name exactly as "Renviron") and set the variable (R_LIBS_USER=~/R/library) there but when I do the following I still see both library paths: > .libPaths() [1] "\\\\lab.gov/users/lopez/Data/documents/R/win-library/3.0" "C:/R/R-3.0.2/library" I only want the preferred path. How do I remove the unwanted path? BTW I did find a solution to installing tm properly but want to prevent similar problem from happening in the future by only having one library path. Dan Lopez Workforce Analyst HRIM - Workforce Analytics & Metrics Strategic Human Resources Management (925) 422-0814 [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.