Difficulty loading maxent package in R -


i'm trying load maxent package in r (http://cran.r-project.org/web/packages/maxent/index.html) keeps returning error:

error: package ‘maxent’ not installed 'arch=x86_64' 

the above happens when attempting load cran repository. specifically, when trying build source, goes:

> install.packages('maxent_1.3.3.tar.gz', repos = null, type = 'source') warning in install.packages :   package ‘maxent_1.3.3.tar.gz’ not available (for r version 2.15.2)     installing package(s)     ‘/library/frameworks/r.framework/versions/2.15/resources/library’ (as ‘lib’ unspecified) * installing *source* package ‘maxent’ ... ** package ‘maxent’ unpacked , md5 sums checked ** libs *** arch - i386 sh: make: command not found error: compilation failed package ‘maxent’ * removing ‘/library/frameworks/r.framework/versions/2.15/resources/library/maxent’ * restoring previous     ‘/library/frameworks/r.framework/versions/2.15/resources/library/maxent’ 

i've tried building library source, using mac osx binary. below information regarding version:

platform       x86_64-apple-darwin9.8.0      arch           x86_64                        os             darwin9.8.0                   system         x86_64, darwin9.8.0           status                                       major          2                             minor          15.2                          year           2012                          month          10                            day            26                            svn rev        61015                         language       r                             version.string r version 2.15.2 (2012-10-26) nickname       trick or treat 

i'm doing in rstudio (version 0.97.312). has else experienced problem? going terminal try build library hasn't worked, either.

the error message

 sh: make: command not found 

suggests don't have command-line version of xcode tools installed. or maybe do, x64 in case should tell r cmd install (on command-line) not install both architectures.


Comments

Popular posts from this blog

python - How to create a legend for 3D bar in matplotlib? -

java - Multi-Label Document Classification -

php - Dynamic url re-writing using htaccess -