[R] Where can I download/install grDevices

Stephen Liu satimis at yahoo.com
Tue Aug 31 14:23:54 CEST 2010


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 <edd at debian.org>
To: Stephen Liu <satimis at yahoo.com>
Cc: "r-help at r-project.org" <r-help at 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:

   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