[R] Where can I download/install grDevices

Dirk Eddelbuettel edd at debian.org
Tue Aug 31 14:03:24 CEST 2010


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:

   edd at max:~$ dpkg -S /usr/lib/R/library/grDevices/DESCRIPTION 
   r-base-core: /usr/lib/R/library/grDevices/DESCRIPTION
   edd at max:~$ 

Hth, Dirk

-- 
Three out of two people have difficulties with fractions.



More information about the R-help mailing list