r - Error loading ggplot2 in RStudio -


i saw version of question posted, still did not see answer. trying use ggplot2 following errors

error in loadnamespace(i, c(lib.loc, .libpaths()), versioncheck = vi[[i]]) :    there no package called ‘stringi’ error: package or namespace load failed ‘ggplot2’ 

i installed stringi - leading error

there binary version available source version later:         binary source needs_compilation stringi  0.5-2  0.5-5              true    binaries installed  trying url 'http://cran.rstudio.com/bin/windows/contrib/3.2/stringi_0.5-2.zip' warning in install.packages :  cannot open: http status '404 not found' error in download.file(url, destfile, method, mode = "wb", ...) :   cannot open url    'http://cran.rstudio.com/bin/windows/contrib/3.2/stringi_0.5-2.zip' warning in install.packages :   download of package ‘stringi’ failed 

then read question - package 'stringi' not work after updating r3.2.1. , followed suggestion of using option , getting binaries windows version

> options(install.packages.check.source = "no") > install.packages("stringi",type="win.binary") trying url 'http://cran.rstudio.com/bin/windows/contrib/3.2/stringi_0.5-2.zip' warning in install.packages :   cannot open: http status '404 not found' error in download.file(url, destfile, method, mode = "wb", ...) :    cannot open url 'http://cran.rstudio.com/bin/windows/contrib/3.2/stringi_0.5-2.zip' warning in install.packages :   download of package ‘stringi’ failed 

and analysis stuck because of this; no ggplot2.

> sessioninfo() r version 3.2.0 (2015-04-16) platform: x86_64-w64-mingw32/x64 (64-bit) running under: windows 7 x64 (build 7601) service pack 1  locale: [1] lc_collate=english_united states.1252  [2] lc_ctype=english_united states.1252    [3] lc_monetary=english_united states.1252 [4] lc_numeric=c                           [5] lc_time=english_united states.1252      attached base packages: [1] grid      stats     graphics  grdevices utils     datasets  methods   [8] base       other attached packages: [1] gridextra_0.9.1 scales_0.2.5    lattice_0.20-31  loaded via namespace (and not attached): [1] rcpp_0.11.6      digest_0.6.8     plyr_1.8.3       gtable_0.1.2     [5] proto_0.3-10     tools_3.2.0      munsell_0.4.2    colorspace_1.2-6 [9] knitr_1.10.5   


Comments

Popular posts from this blog

android - Gradle sync Error:Configuration with name 'default' not found -

java - Andrioid studio start fail: Fatal error initializing 'null' -

html - jQuery UI Sortable - Remove placeholder after item is dropped -