I am trying to start Rserve using Rserve() command in R console but I am getting an error as /Library/Frameworks/R.framework/Resources/bin/R: line 141: exec: sh: not found
I have Mac OSX Maverick. I installed R version 3.1.0. After this I tried to install Rserve using command install.packages("Rserve") after which in red color the message displayed was
trying URL 'http://cran.cnr.Berkeley.edu/bin/macosx/mavericks/contrib/3.1/Rserve_1.7-3.tgz'
Content type 'application/x-gzip' length 329829 bytes (322 Kb)
opened URL
==================================================
downloaded 322 Kb
After this I gave command library(Rserve) in R console and no error came but then when I gave command Rserve() to start the server I got the error which I have mentioned above.
I am unable to understand why this error is coming. Is it because Rserve is not installed successfully? How else the Rserve can be installed? I tried to install Rserve through source package also. I downloaded the source package from rforge website and when I gave the command install.packages("Rserve", type = "source") I got the error as:
installation of package ‘Rserve’ had non-zero exit status
Any help will be great!
(version 3.1.0)
– Grindlay