[R] (no subject)

Bryan Hanson hanson at depauw.edu
Sun Apr 17 22:51:59 CEST 2011


Is there any news on this issue?  I have the same problem but on a Mac.  I
have upgraded R and updated the built packages.  The console output and
sessionInfo are below.  The problem is triggered by library(ggplot2) my
.Rprofile  If I do library(ggplot2) after the aborted start up ggplot2 is
loaded properly, and I can manually do everything in my .Rprofile and my
configuration is as originally intended.  Thanks, Bryan

Console Output:

Loading required package: reshape
Loading required package: plyr

Attaching package: 'reshape'

The following object(s) are masked from 'package:plyr':

    rename, round_any

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'
[R.app GUI 1.40 (5751) x86_64-apple-darwin9.8.0]

[History restored from /Users/bryanhanson/.Rhistory]

and here is my session info after the aborted start up:

R version 2.13.0 (2011-04-13)
Platform: x86_64-apple-darwin9.8.0/x86_64 (64-bit)

locale:
[1] en_US.UTF-8/en_US.UTF-8/C/C/en_US.UTF-8/en_US.UTF-8

attached base packages:
[1] stats     graphics  grDevices utils     datasets  grid      methods  
base     

other attached packages:
[1] proto_0.3-9.1   reshape_0.8.4   plyr_1.5.1      lattice_0.19-23

***** Original Post from Stephen Sefick


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                                                           |
|___________________________________|
| sas0025 at auburn.edu                                  |
| http://www.auburn.edu/~sas0025                 |
|___________________________________|


--
View this message in context: http://r.789695.n4.nabble.com/no-subject-tp3454416p3456100.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list