Re-Install R with Shared library option in CentOS 6.5 -


operating system:centos 6.5 (64 bit) r version: 3.1.3 (2015-03-09) -- "smooth sidewalk"

i did r installation using yum:

# su -c 'rpm -uvh http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm' # yum update --disablerepo=epel  # yum install r 

i downloaded , installed r-studio server:

# wget http://download2.rstudio.org/rstudio-server-0.98.507-x86_64.rpm # sudo yum install –nogpgcheck rstudio-server-0.98.507-x86_64.rpm 

further had installed several r packages (especially rjava & rhive). issue have rhive.init() , related functions.

in putty session things fine. when accessed on r-console via browser , rhive.init() fails following message, after setting variable hive_home @ host. error:

library(rhive) loading required package: rjava rhive.init() [1] false

looks issue because r wasn't installed shared library. searching web provided inputs download tarballs, unzip, configure, build, make , install.

since i've installed r (using yum install), there anyway or option yum install, r re-installed 'shared library' option.

appreciate help.

try ./configure --help can see option below:

--enable-r-shlib build shared/dynamic library 'libr' [no] 

Comments

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -