osx - Problems installing the R package amap in a Mac 10.9.5 -
i trying install package amap in r parallel distance matrix calculations.
i run:
install.packages("amap", dependencies = true)
and error:
make: gfortran-4.8: no such file or directory make: *** [pop.o] error 1 error: compilation failed package ‘amap’ * removing ‘/users/javier/library/r/3.1/library/amap’
however, gfortran-4.8 installed in computer:
gfortran -v using built-in specs. collect_gcc=gfortran collect_lto_wrapper=/usr/local/gfortran/libexec/gcc/x86_64-apple-darwin13/4.8.2/lto-wrapper target: x86_64-apple-darwin13 configured with: ../gcc-4.8.2/configure --prefix=/usr/local/gfortran --with-gmp=/users/fx/devel/gcc/deps-static/x86_64 --enable-languages=c,c++,fortran,objc,obj-c++ --build=x86_64-apple-darwin13 thread model: posix gcc version 4.8.2 (gcc)
i read somewhere here way around typing following in .bash_source
alias fixrs="launchctl setenv path /usr/texbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/x11/bin"
and execute fixrs
in terminal. use .tcshrc typed
alias fixrs launchctl setenv path /usr/texbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/x11/bin
on .tcshrc, , execute fixrs
command in terminal before launching rstudio or r console , keep getting same error (also mentioning have tried change bash, generate .bash_profile include command , lunch rstudio , result same).
should comment placed in specific part of .tcshrc file? bash tcshrc translation wrong? have tried alias fixrs "launchctl setenv path /usr/texbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/x11/bin"
anyway, @ stage don't know how proceed install amap. know how solve issue?
Comments
Post a Comment