trevorld / ggpattern

ggplot geoms with pattern fills
https://trevorldavis.com/R/ggpattern/dev/
Other
361 stars 18 forks source link

ggpattern does not get installed in R studio #7

Closed catherinejq closed 4 years ago

catherinejq commented 4 years ago

Hello, I want to have a go in the application for my graphs I have done using ggplot (plus error bars). however, I cannot get the first step which is to install the pack. I used the command provided and to the first enquire I said 1 (all) later yes. This is the message:

Do you want to install from sources the package which needs compilation? (Yes/no/cancel) Yes installing the source package ‘Rcpp’

trying URL 'https://cran.rstudio.com/src/contrib/Rcpp_1.0.4.6.tar.gz' Content type 'application/x-gzip' length 2751467 bytes (2.6 MB)

downloaded 2.6 MB

if I select the option No, the error message changes to:

Do you want to install from sources the package which needs compilation? (Yes/no/cancel) no trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.6/Rcpp_1.0.4.tgz' Content type 'application/x-gzip' length 3124401 bytes (3.0 MB)

downloaded 3.0 MB

The downloaded binary packages are in /var/folders/wz/36vq4_t53k32nq0gmd0lys7nlwcvfw/T//Rtmp2Ew3Lw/downloaded_packages Error: Failed to install 'ggpattern' from GitHub: lazy-load database '/Library/Frameworks/R.framework/Versions/3.6/Resources/library/pkgbuild/R/pkgbuild.rdb' is corrupt In addition: Warning messages: 1: In get0(oNam, envir = ns) : restarting interrupted promise evaluation 2: In get0(oNam, envir = ns) : internal error -3 in R_decompress1.

Please, can I get help to do this.

catherinejq commented 4 years ago

I update R and ran ‘Rcpp’ from the panel, and that made the trick. Thank you anyway.