I'm having trouble loading ggplot2 on my mac (Snow Leopard) using R version 2.12.1, as shown below. I can't find a posting relevant to this problem, so any help would be very much appreciated. Thanks,
peter l > install.packages('ggplot2', dep = TRUE) trying URL 'http://cran.cnr.Berkeley.edu/bin/macosx/leopard/contrib/2.12/ggplot2_0.8.9.tgz' Content type 'application/x-gzip' length 2481399 bytes (2.4 Mb) opened URL ================================================== downloaded 2.4 Mb The downloaded packages are in /var/folders/XF/XF0tU7gdGTeF4Th7KhKYDk+++TI/-Tmp-//RtmpFMnqLB/downloaded_packages > library(ggplot2) Error in assign(names[i], dots[[i]], env = envir) : invalid first argument Error : unable to load R code in package 'ggplot2' Error: package/namespace load failed for 'ggplot2' -- View this message in context: http://r.789695.n4.nabble.com/trouble-loading-ggplot2-using-R-tp3332044p3332044.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ 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.