[R] Problem in installing "quantreg" package

Roger D. Peng rpeng at jhsph.edu
Thu Sep 11 15:04:00 CEST 2003

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.


Swagata Nandi wrote:

>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
>R-help at stat.math.ethz.ch mailing list

Together, we can stop attaching Word documents

More information about the R-help mailing list