You probably do not have permission to write to that directory (and you need write permission to install a package). I assume you are on Unix? Either ask your system administrator to install it for you or install it into a directory where you have permission. For example, I make a subdirectory called "R-local" in my home directory for installing my own packages. Look at ?Startup to see how you can get R to recognize your local package directory.

-roger

Swagata Nandi wrote:

Hi,

I was trying to install "quantreg" package in an R session, but got the
following error message:

ERROR: cannot write to or create directory '/usr/lib/R/library'

Can anyone suggest what I need to do?

Swagata Nandi

______________________________________________
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help




-- Together, we can stop attaching Word documents http://www.fsf.org/philosophy/no-word-attachments.html

______________________________________________
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help

Reply via email to