[R] Error in upgrading ggplot2

Burhan ul haq ulhaqz at gmail.com
Fri Mar 4 06:33:05 CET 2016


Hi,

I was planning to use GGally, which required me to upgrade ggplot2 but
despite trying multiple times, I have been unable to do so:

The ggplot2 downloads and installs, but when I load it, I get the following
message:

> library("ggplot2", lib.loc="/usr/local/lib/R/site-library")
Error in get(method, envir = home) :
  lazy-load database '/usr/local/lib/R/site-library/ggplot2/R/ggplot2.rdb'
is corrupt
In addition: Warning message:
In get(method, envir = home) : internal error -3 in R_decompress1
Error: package or namespace load failed for ‘ggplot2’

The session info is as follows:

> sessionInfo()
R version 3.2.2 (2015-08-14)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Ubuntu 14.04.1 LTS

locale:
 [1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C         LC_TIME=C
 LC_COLLATE=C         LC_MONETARY=C
 [6] LC_MESSAGES=C        LC_PAPER=C           LC_NAME=C
 LC_ADDRESS=C         LC_TELEPHONE=C
[11] LC_MEASUREMENT=C     LC_IDENTIFICATION=C

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

other attached packages:
[1] scales_0.3.0   reshape2_1.4.1 dplyr_0.4.3

loaded via a namespace (and not attached):
 [1] Rcpp_0.12.3      assertthat_0.1   digest_0.6.8     MASS_7.3-40
 R6_2.1.1         grid_3.2.2
 [7] plyr_1.8.3       gtable_0.1.2     DBI_0.3.1        magrittr_1.5
stringi_1.0-1    lazyeval_0.1.10
[13] proto_0.3-10     tools_3.2.2      stringr_1.0.0    munsell_0.4.2
 parallel_3.2.2   colorspace_1.2-6


Thanks

	[[alternative HTML version deleted]]



More information about the R-help mailing list