Re: [R] (no subject)

From: Hadley Wickham <hadley_at_rice.edu>
Date: Mon, 18 Apr 2011 10:40:59 -0500

Yes, it's fixed and a new version of plyr has been pushed up to cran - hopefully will be available for download soon. In the meantime, I think you can fix it by running library(stats) before library(ggplot2).

Hadley

On Sun, Apr 17, 2011 at 3:51 PM, Bryan Hanson <hanson_at_depauw.edu> wrote:
> 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.
>
> ______________________________________________
> R-help_at_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.
>

-- 
Assistant Professor / Dobelman Family Junior Chair
Department of Statistics / Rice University
http://had.co.nz/

______________________________________________
R-help_at_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.
Received on Mon 18 Apr 2011 - 15:43:36 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Mon 18 Apr 2011 - 16:20:31 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive