How to install R on the Parallella (ZedBoard)

Moderator: censix

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

Postby theyogre » Tue May 06, 2014 9:03 pm

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.
theyogre
 
Posts: 15
Joined: Mon Dec 17, 2012 3:30 am
Location: Georgia, USA

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

Postby censix » Tue May 27, 2014 8:59 pm

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
censix
 
Posts: 49
Joined: Sun Dec 16, 2012 7:54 pm
Location: europe

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

Postby shodruk » Wed May 28, 2014 3:29 pm

Great! Thanks! :D
Shodruky
shodruk
 
Posts: 464
Joined: Mon Apr 08, 2013 7:03 pm

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

Postby jubertroldan » Thu Jun 05, 2014 12:39 pm

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
jubertroldan
 
Posts: 10
Joined: Thu May 29, 2014 8:37 am

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

Postby censix » Thu Jun 05, 2014 9:58 pm

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.
censix
 
Posts: 49
Joined: Sun Dec 16, 2012 7:54 pm
Location: europe

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

Postby jubertroldan » Fri Jun 06, 2014 6:23 am

thanks censix!
jubertroldan
 
Posts: 10
Joined: Thu May 29, 2014 8:37 am

Previous

Return to R

Who is online

Users browsing this forum: No registered users and 5 guests

cron