Skip to content
Prev 249414 / 398498 Next

Where does R look for library packages - there is no package called 'BRugs'

David Winsemius wrote:
I'm posting a specific answer to my own question for the record since The
help for libPaths (actually should be ?.libPaths) doesn't explain this
fully. I created the file Renviron.site in the folder C:\Program
Files\R\R-2.12.0\etc and put the text R_LIBS =
C:/Users/myusername/Documents/.../R/win-library/2.12 in that file.  The ...
represents the path for the subdirectory that I moved R\win-library\2.12\...
to.