Page 2 of 2

Re: How to install R on the Parallella (ZedBoard)

PostPosted: Tue May 06, 2014 9:03 pm
by theyogre
This is the language I most hoped to use when I took a chance on my ability to figure things out and supported the parallela project. Thanks.

One question: will R still work with parallela if I use the x11 interface, or do I need to learn to do everything command line? Is the best choice for someone like me putting the R programs together on another machine and just copying them over to run them (or waiting until someone else does all the hard work of making it more user friendly)? It still takes me tons of work to figure out how to run new things from the command line, but I do ok with learning a couple of commands.

Thanks for any advice.

Re: How to install R on the Parallella (ZedBoard)

PostPosted: Tue May 27, 2014 8:59 pm
by censix
Hi

actually, there is a quick and dirty way to get R running on the parallella board, by simply installing r-cran-* and other binary packages directly from the linaro package repository. At the command prompt on you parallella board(s), do:

# for the prerequisites
sudo apt-get install gfortran libreadline6-dev

# then, you could do
sudo apt-get install r-cran-rjava

# which will install all the dependencies needed for running R

It has been working ok for me.

If you use this method, you should also automatically have X11 support, i.e. graphical output from R.

Soren
http://censix.com

Re: How to install R on the Parallella (ZedBoard)

PostPosted: Wed May 28, 2014 3:29 pm
by shodruk
Great! Thanks! :D

Re: How to install R on the Parallella (ZedBoard)

PostPosted: Thu Jun 05, 2014 12:39 pm
by jubertroldan
Hi,

bit new in using R, i tried installing using the headless one and succeeded but then i realized that i needed the graphical interface so what i did is removed the headless R by using make uninstall and reinstalled by means of sudo apt-get install r-base r-base-dev

what is the advantage of using the headless installation compared to the basic installation procedure?

thanks appreciate your help.

kind regards,
Jubert

Re: How to install R on the Parallella (ZedBoard)

PostPosted: Thu Jun 05, 2014 9:58 pm
by censix
Juber

Valid question. Answer: It may just be a matter of taste.

I initially went for the (complicated & headless) installation from source since I wasn't sure if using the Epiphany processor from R would require changes to the R source itself. But that is not the case, since we can go the OpenCL route.

S.

Re: How to install R on the Parallella (ZedBoard)

PostPosted: Fri Jun 06, 2014 6:23 am
by jubertroldan
thanks censix!