[R] Error in upgrading ggplot2

Jeff Newmiller jdnewmil at dcn.davis.ca.us
Fri Mar 4 06:56:15 CET 2016


The usual thing to try in cases like this is another mirror. 

Another worthwhile step is upgrading your R software to the latest... if only to comply with the Posting Guide. 
-- 
Sent from my phone. Please excuse my brevity.

On March 3, 2016 9:33:05 PM PST, Burhan ul haq <ulhaqz at gmail.com> wrote:
>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]]
>
>______________________________________________
>R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
>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.

	[[alternative HTML version deleted]]



More information about the R-help mailing list