Closed thierrygosselin closed 8 years ago
There is something wrong with your R installation. You're passing an -fopenmp
flag to the compiler which shouldn't be there. Probably in your ~/R/environment
or so.
the -fopenmp is required if I want to run Random Forest on multiple CPU...
well according to your own output, you're setting it somewhere where it is not supported...
Turned off -fopenmp
flag in ~/.R/Makevars
file and it worked with install.packages("hunspell")
.
First time I get problem with -fopenmp
option during install...
I guess you usually don't install packages from source? There is really nothing special about the hunspell package.
Warning in install.packages : URL 'https://cran.rstudio.com/bin/macosx/mavericks/contrib/3.3/hunspell_1.4.2.tgz': status was '404 Not Found' Error in download.file(url, destfile, method, mode = "wb", ...) : cannot download all files Warning in install.packages : download of package ‘hunspell’ failed
Using compilation from source: Do you want to install from sources the package which needs compilation? y/n: y installing the source package ‘hunspell’
trying URL 'https://cran.rstudio.com/src/contrib/hunspell_1.4.3.tar.gz'
Content type 'application/x-gzip' length 2756073 bytes (2.6 MB)
downloaded 2.6 MB
The downloaded source packages are in ‘/private/var/folders/l_/vmf27bgn4yv1fbdc_kghmzy00000gn/T/Rtmp88pnjW/downloaded_packages’