1. Please do read the posting guide and perovide a sensible subject line.
2. Have you updated ggplot for R-2.13.0 before reporting the error?
E.g. please try update.packages(checkBuilt=TRUE) and afterwards report
again.
Uwe Ligges
On 16.04.2011 22:25, Steve Lianoglou wrote:
Out of curiosity, do you have a problem calling `library(ggplot2)`
from the R prompt (after R is finished "spinning up")?
I vaguely recall (~ 2 years ago) that I was trying to load some
packages in my ~/.Rprofile since I thought I always wanted them in R
anyway and had problems ... I've given up trying to do that, though
:-)
So -- doesn't answer your question, but if you have number of
libraries you want to load up, but it's a pain to call individual
`library()` calls, maybe you can define a .setup() function in your
~/.Rprofile that does all these library calls for you when you come to
a point in your (interactive) work that you think you need them.
-steve
On Sat, Apr 16, 2011 at 2:47 PM, stephen sefick<ssef...@gmail.com> wrote:
I have just upgraded to R 2.13 and have library(ggplot2) in my
.Rprofile (among other things). when i start R I get an error
message. Has something in the start up scripts changed? Is there a
better way to specify the library calls in .Rprofile? Thanks for all
of the help in advance.
Error:
Loading required package: grid
Loading required package: proto
Error in rename(x, .base_to_ggplot) : could not find function "setNames"
Error : unable to load R code in package 'ggplot2'
Error: package/namespace load failed for 'ggplot2'
[Previously saved workspace restored]
Computer 1:
R version 2.13.0 (2011-04-13)
Platform: x86_64-pc-linux-gnu (64-bit)
locale:
[1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C
[3] LC_TIME=en_US.UTF-8 LC_COLLATE=en_US.UTF-8
[5] LC_MONETARY=C LC_MESSAGES=en_US.UTF-8
[7] LC_PAPER=en_US.UTF-8 LC_NAME=C
[9] LC_ADDRESS=C LC_TELEPHONE=C
[11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C
attached base packages:
[1] stats graphics grDevices utils datasets grid methods
[8] base
other attached packages:
[1] proto_0.3-9.1 reshape_0.8.4 plyr_1.5.1
Computer 2
R version 2.13.0 (2011-04-13)
Platform: x86_64-pc-linux-gnu (64-bit)
locale:
[1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C
[3] LC_TIME=en_US.UTF-8 LC_COLLATE=en_US.UTF-8
[5] LC_MONETARY=C LC_MESSAGES=en_US.UTF-8
[7] LC_PAPER=en_US.UTF-8 LC_NAME=C
[9] LC_ADDRESS=C LC_TELEPHONE=C
[11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C
attached base packages:
[1] stats graphics grDevices utils datasets grid methods
[8] base
other attached packages:
[1] proto_0.3-9.1 reshape_0.8.4 plyr_1.5.1
--
Stephen Sefick
____________________________________
| Auburn University |
| Biological Sciences |
| 331 Funchess Hall |
| Auburn, Alabama |
| 36849 |
|___________________________________|
| sas0...@auburn.edu |
| http://www.auburn.edu/~sas0025 |
|___________________________________|
Let's not spend our time and resources thinking about things that are
so little or so large that all they really do for us is puff us up and
make us feel like gods. We are mammals, and have not exhausted the
annoying little problems of being mammals.
-K. Mullis
"A big computer, a complex algorithm and a long time does not equal science."
-Robert Gentleman
______________________________________________
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.
______________________________________________
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.