Skip to content
Prev 7823 / 15075 Next

problem loading ggplot2 package

Peter,

There should not be a problem with ggplot2 on a Mac; I was able to install
and load it without difficulty just now (see below).  (though apparently
some dependencies are not available, so perhaps some ggplot2 functions
won't work properly; I don't know)

This does tend to suggest something is awry with your R installation, as
Bob Bond-Lamberty suggested in his response. Note that I have 32 bit R
2.12.2 whereas you have 64 bit 2.12.1. I don't think the 32 vs 64 bit is
the problem, since I can run R64 and load ggplot2.

Does
  traceback()
used immediately after the error, give any useful information?

Not much help, I know...

-Don
--- Please select a CRAN mirror for use in this session ---
Loading Tcl/Tk interface ... done
Warning: dependencies 'marray', 'affy', 'Biobase' are not available
also installing the dependencies 'logspline', 'digest', 'quantreg',
'hexbin'

trying URL 
'http://cran.cnr.Berkeley.edu/bin/macosx/leopard/contrib/2.12/logspline_2.1
.3.tgz'
Content type 'application/x-gzip' length 409453 bytes (399 Kb)
opened URL
==================================================
downloaded 399 Kb

trying URL 
'http://cran.cnr.Berkeley.edu/bin/macosx/leopard/contrib/2.12/digest_0.4.2.
tgz'
Content type 'application/x-gzip' length 120633 bytes (117 Kb)
opened URL
==================================================
downloaded 117 Kb

trying URL 
'http://cran.cnr.Berkeley.edu/bin/macosx/leopard/contrib/2.12/quantreg_4.57
.tgz'
Content type 'application/x-gzip' length 2818374 bytes (2.7 Mb)
opened URL
==================================================
downloaded 2.7 Mb

trying URL 
'http://cran.cnr.Berkeley.edu/bin/macosx/leopard/contrib/2.12/hexbin_1.24.0
.tgz'
Content type 'application/x-gzip' length 690100 bytes (673 Kb)
opened URL
==================================================
downloaded 673 Kb

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/pa/pamYryRNGGKLDVNRYyxBt+++m+c/-Tmp-//RtmplZqsQp/downloaded_pa
ckages
Loading required package: ggplot2
Loading required package: reshape
Loading required package: plyr

Attaching package: 'reshape'

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

    round_any

Loading required package: grid
Loading required package: proto
R version 2.12.2 (2011-02-25)
Platform: i386-apple-darwin9.8.0/i386 (32-bit)

locale:
[1] C

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

other attached packages:
[1] ggplot2_0.8.9 proto_0.3-8   reshape_0.8.4 plyr_1.4

loaded via a namespace (and not attached):
[1] tcltk_2.12.2 tools_2.12.2