Installing the R Tarball Package

Moderator: NorbertKrupa

Post Reply
headjoog
Newbie
Newbie
Posts: 3
Joined: Thu May 02, 2013 3:10 pm

Installing the R Tarball Package

Post by headjoog » Thu May 02, 2013 10:23 pm

Hi - I was hoping I could get some input on installing the R package. I downloaded the tarball from the Vertica site (vertica-udx-R-src-6.0.0-0.tar.gz) and am trying to following the README contained in the package for building the source. I realize there are some dependencies that need to be installed (boost, msgpack) and I've downloaded those and was trying to install. However, I'm stuck on a command in the README and am not clear what to do. Basically the commands for "boost" are:

cd boost
tar xjf boost_1_38_0.tar.bz2
cd boost_1_38_0
patch < ../patch
./configure --prefix==`pwd`/.. --exec-prefix=`pwd`/.. --libdir=`pwd`/.. \
--includedir=`pwd`/.. --with-libraries="thread"
make install
cd ../..

But, when I run the patch command I get a "Command not found". Has anyone else tried to install the R package via the README? I'm totally lost and would appreciate any guidance trying to get this going.

Thanks !

id10t
GURU
GURU
Posts: 732
Joined: Mon Apr 16, 2012 2:44 pm

Re: Installing the R Tarball Package

Post by id10t » Fri May 03, 2013 7:05 pm

HI!

Did you install patch?


What is output of:
1. For RHEL/CentOS/Suse/Fedora

Code: Select all

rpm -qa | grep patch

2. For Debian:

Code: Select all

dpkg -s patch

headjoog
Newbie
Newbie
Posts: 3
Joined: Thu May 02, 2013 3:10 pm

Re: Installing the R Tarball Package

Post by headjoog » Mon May 06, 2013 8:36 pm

Hi sKwa -

thanks for the reply. I didn't explicitly install it, so perhaps this is the issue. Will give this a shot and see where it ends up.

Thanks!

headjoog
Newbie
Newbie
Posts: 3
Joined: Thu May 02, 2013 3:10 pm

Re: Installing the R Tarball Package

Post by headjoog » Thu May 09, 2013 6:45 pm

Got it working. "patch" needed to be installed in the environment I was working in. I noted later that it is indeed included in the download. When I tried again in a different environment using the README, it worked without a hitch.

User avatar
JimKnicely
Site Admin
Site Admin
Posts: 1825
Joined: Sat Jan 21, 2012 4:58 am
Contact:

Re: Installing the R Tarball Package

Post by JimKnicely » Fri May 10, 2013 3:28 am

Great! Thanks for letting us know :)
Jim Knicely

Image

Note: I work for Vertica. My views, opinions, and thoughts expressed here do not represent those of my employer.

Post Reply

Return to “R Language Integration”