Skip to content
Prev 299577 / 398503 Next

install.packages

Thanks Sarah.

I realized it as well and tried to run install.packages("plyr", lib = .Library) as root. It works now.

Thanks again.

HXD

-----Original Message-----
From: Sarah Goslee [mailto:sarah.goslee at gmail.com] 
Sent: Monday, July 09, 2012 12:06 PM
To: Hui Du
Cc: r-help at r-project.org
Subject: Re: [R] install.packages

Hi,
On Mon, Jul 9, 2012 at 2:30 PM, Hui Du <Hui.Du at dataventures.com> wrote:
Sure. If you read ?install.packages you'll see the possible arguments,
which include specifying which mirror to use rather than waiting to be
asked.
Only root can install packages for the entire system, rather than in a
user's local directory. I find it most convenient to install a whole
bunch of packages at once as root by using task views. Then they're
available for all users of the system.

Sarah