[R] Where can I download/install grDevices

Gavin Simpson gavin.simpson at ucl.ac.uk
Tue Aug 31 19:44:39 CEST 2010


On Tue, 2010-08-31 at 05:23 -0700, Stephen Liu wrote:
> 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

What do you mean by "can't find dev.new on R"? Do you want the source
code? At the R level?

dev.new

at the R prompt (yes, without parentheses) will show you that.

?dev.new

will give you the help page - you even showed me that this worked on
your system in another thread a few days ago, so it is there.

G

> 
> 
> 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
> 

-- 
%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%
 Dr. Gavin Simpson             [t] +44 (0)20 7679 0522
 ECRC, UCL Geography,          [f] +44 (0)20 7679 0565
 Pearson Building,             [e] gavin.simpsonATNOSPAMucl.ac.uk
 Gower Street, London          [w] http://www.ucl.ac.uk/~ucfagls/
 UK. WC1E 6BT.                 [w] http://www.freshwaters.org.uk
%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%



More information about the R-help mailing list