When I use
library(Hmisc)
I get the following error
Error in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]) : there is no package called 'stringi'
Error: package 'ggplot2' could not be loaded
As well, if I use
library(ggplot2)
I get the following error
Error in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]) : there is no package called 'stringi'
Error: package or namespace load failed for 'ggplot2'
I've tryed to install 'stringi' install.packages("stringi")
But at some point, during the installation, I get the following error message:
configure: error: in `/private/var/folders/pr/wdr5dvjj24bb4wwnjpg1hndc0000gr/T/RtmpeQ5pXk/R.INSTALL10b94a012cab/stringi':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details
ERROR: configuration failed for package 'stringi'
* removing '/Library/Frameworks/R.framework/Versions/3.2/Resources/library/stringi'
I'm using RStudio (Version 0.99.447) and I have R version 3.2.1.
sessionInfo()
. – Stochmalapt-get install build-essential
|yum install gcc
| [download Xcode + run it once to accept license]xcode-select --install
(OS X) – Teniacide/Library/Frameworks/R.framework/
gives that away. Marta: Grab Xcode from the Mac App Store and use thatxcode-select --install
to download the command line tools. You may need a (free) developer account. – Teniacideoptions(install.packages.check.source = "no")
and theninstall.packages("stringi")
. (IMPORTANT: it's related to new releases of package, now everything should be ok) – Padraic