[R-SIG-Mac] trouble installing RccpOcatve

C W tmrsg11 at gmail.com
Sun May 10 19:49:43 CEST 2015


Hi,

I am trying install the RcppOctave package to run Matlab packages in R.  I
did the following,

> install.packages("RcppOctave")

After some time of installation, I get the following error.  I have
homebrew installed, I also have Octave and Matlab install.

installing the source package ‘RcppOctave’

trying URL '
http://watson.nci.nih.gov/cran_mirror/src/contrib/RcppOctave_0.14.5.tar.gz'
Content type 'application/octet-stream' length 767455 bytes (749 KB)
==================================================
downloaded 749 KB

* installing *source* package ‘RcppOctave’ ...
** package ‘RcppOctave’ successfully unpacked and MD5 sums checked
checking R CC... clang
checking R CFLAGS... -Wall -mtune=core2 -g -O2
checking R CPPFLAGS... -I/usr/local/include -I/usr/local/include/freetype2
-I/opt/X11/include
checking R CXXFLAGS... -Wall -mtune=core2 -O3
checking for clang... /usr/bin/clang
checking for gcc... clang
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... checking whether we are cross
compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether clang accepts -g... yes
checking for clang option to accept ISO C89... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for g++... /usr/bin/g++
Original R_LDFLAGS:   -F/Library/Frameworks/R.framework/.. -framework R
-lpcre -llzma -lbz2 -lz -licucore -lm -liconv
Original R_CPPFLAGS: -I/Library/Frameworks/R.framework/Resources/include
checking whether R is a shared library... yes
checking type of Operating System... Darwin
checking whether OS is Mac OS (Darwin)... yes
Using mkoctfile with R_LDFLAGS: -Wl,"-F/Library/Frameworks/R.framework/..
-framework R -lpcre -llzma -lbz2 -lz -licucore -lm -liconv"
Using mkoctfile with R_CPPFLAGS:
-I/Library/Frameworks/R.framework/Resources/include
checking Octave binary path specification... none
using Octave binary path from $PATH
checking for octave-config... no
checking for mkoctfile... no
configure: error: mkoctfile not found, is Octave installed?

    -> On Mac OS please check that the required packages are installed:

      * octave package from homebrew (works out of the box):
        $ brew install gfortran octave

        # install as usual in R
        > install.packages('RcppOctave')

ERROR: configuration failed for package ‘RcppOctave’
* removing
‘/Library/Frameworks/R.framework/Versions/3.2/Resources/library/RcppOctave’

The downloaded source packages are in
‘/private/var/folders/qf/q83rlh3x2qjcp75c3phtj81c0000gn/T/Rtmpdh718K/downloaded_packages’
Warning message:
In install.packages("RcppOctave") :
  installation of package ‘RcppOctave’ had non-zero exit status
>

Here's my sessionInfo(),
> sessionInfo()
R version 3.2.0 (2015-04-16)
Platform: x86_64-apple-darwin13.4.0 (64-bit)
Running under: OS X 10.10.3 (Yosemite)

locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base


Thanks in advance,

Mike

	[[alternative HTML version deleted]]



More information about the R-SIG-Mac mailing list