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
B.R.
Stephen L
______________________________________________
R-h...@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.
You're confused.
It is part of R itself, and on Debian et al in r-base-core:
edd@max:~$ dpkg -S /usr/lib/R/library/grDevices/DESCRIPTION
r-base-core: /usr/lib/R/library/grDevices/DESCRIPTION
edd@max:~$
Hth, Dirk
--
Three out of two people have difficulties with fractions.
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
What do you mean by "can't find dev.new on R"? Do you want the source
code? At the R level?
at the R prompt (yes, without parentheses) will show you that.
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
--
%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%
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
%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%
> plotmath(area~cell,main="Myofibril areas by cell",ylab=expression("Areas
> (mu*m^2)"),xlab="")
Error: could not find function "plotmath"
> install.packages("grDevices")
Warning in install.packages("grDevices") :
argument 'lib' is missing: using
'/home/elizabeth/R/i686-pc-linux-gnu-library/2.11'
Warning message:
In getDependencies(pkgs, dependencies, available, lib) :
package ‘grDevices’ is not available
and when I just do this:
> install.packages()
grDevices isn't in the list that pops up
--
View this message in context: http://r.789695.n4.nabble.com/Where-can-I-download-install-grDevices-tp2401415p3300274.html
Sent from the R help mailing list archive at Nabble.com.
There is no plotmath function. "plotmath" is the name of the help
topic; it describes how various other functions plot text that includes
math.
>
>> install.packages("grDevices")
> Warning in install.packages("grDevices") :
grDevices is a base package, so if you've got R, you've got it.
Duncan Murdoch
> argument 'lib' is missing: using
> '/home/elizabeth/R/i686-pc-linux-gnu-library/2.11'
> Warning message:
> In getDependencies(pkgs, dependencies, available, lib) :
> package ‘grDevices’ is not available
>
> and when I just do this:
>> install.packages()
>
> grDevices isn't in the list that pops up
>
>
______________________________________________
Duncan Murdoch-2 wrote:
>
>
> There is no plotmath function. "plotmath" is the name of the help
> topic; it describes how various other functions plot text that includes
> math.
>
>
> grDevices is a base package, so if you've got R, you've got it.
>
> Duncan Murdoch
>
>
ok thanks.
I originally thought this was the case and first tried:
> plot(areas~cell,ylab=expression("Areas (mu*m^2"))
but the text wasn't re-formatted so I thought plotmath must be a separate
function. How is it supposed to work?
--
View this message in context: http://r.789695.n4.nabble.com/Where-can-I-download-install-grDevices-tp2401415p3300559.html
Sent from the R help mailing list archive at Nabble.com.
______________________________________________
Here's one way:
plot(1~1,ylab=expression("Areas ("~mu*m^2~")"))
The tildes incorporate space between the math and text elements; they're
optional, but useful. Another way that also works is
plot(1~1,ylab=expression(paste("Areas (", mu*m^2, ")", sep = ' ')))
HTH,
Dennis
[[alternative HTML version deleted]]
plot(1:5, type="n", axes=FALSE, ann=FALSE)
abline(v=3, col="lightgray")
text(3, 3.5, expression(
paste("Areas (", mu * m^2, ")", sep = " ")))
text(3, 3.0, expression(
paste("Areas (", mu * m^2, ")", sep = "xxxx")))
text(3, 2.5, expression(
paste("Areas (", mu * m^2, ")", "xxxx")))
Peter Ehlers
djmuseR wrote:
>
>
> Here's one way:
>
> plot(1~1,ylab=expression("Areas ("~mu*m^2~")"))
>
> The tildes incorporate space between the math and text elements; they're
> optional, but useful.
>
>
This worked, thanks!
Elizabeth
--
View this message in context: http://r.789695.n4.nabble.com/Where-can-I-download-install-grDevices-tp2401415p3302154.html