Hi Dirk, I already have the package installed.
$ apt-cache policy r-base-core r-base-core: Installed: 2.7.1-1+lenny1 Candidate: 2.7.1-1+lenny1 Version table: *** 2.7.1-1+lenny1 0 500 http://ftp.hk.debian.org lenny/main Packages 100 /var/lib/dpkg/status $ dpkg -S /usr/lib/R/library/grDevices/DESCRIPTION r-base-core: /usr/lib/R/library/grDevices/DESCRIPTION It is there. But I can't find dev.new on R B.R. Stephen ----- Original Message ---- From: Dirk Eddelbuettel <e...@debian.org> To: Stephen Liu <sati...@yahoo.com> Cc: "r-help@r-project.org" <r-help@r-project.org> Sent: Tue, August 31, 2010 8:03:24 PM Subject: Re: [R] Where can I download/install grDevices On Tue, Aug 31, 2010 at 04:50:39AM -0700, Stephen Liu wrote: > Hi folks, > > Debian 504 64 bit > > grDevices is NOT on Debian repo > > $ apt-cache search r-cran | grep grDevices > no printout > > On R > > $ sudo R > > install.packages("grDevices", dependencies=TRUE)) > Warning in install.packages("grDevices") : > argument 'lib' is missing: using '/usr/local/lib/R/site-library' > --- Please select a CRAN mirror for use in this session --- > Loading Tcl/Tk interface ... done > Warning message: > In install.packages("grDevices") : package ‘grDevices’ is not available > > Please advise where can I download/install grDevices? TIA You're confused. It is part of R itself, and on Debian et al in r-base-core: e...@max:~$ dpkg -S /usr/lib/R/library/grDevices/DESCRIPTION r-base-core: /usr/lib/R/library/grDevices/DESCRIPTION e...@max:~$ Hth, Dirk -- Three out of two people have difficulties with fractions. ______________________________________________ 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.