Rrpi
Posts: 3
Joined: Tue Sep 17, 2013 4:21 am

R GUI on Raspberry Pi?

Tue Sep 17, 2013 4:32 am

Hello

I am an experienced R user and want to use my new rpi for monitoring different web based information in R.
I managed to install R and it works well, but I cannot install a GUI, e.g. RCommander, Rstudio (my preferred) or other. For RCommander it seems like it has not yet been developed for linux.
Can anyone help me in the right direction?

Thanks in advance.

elatllat
Posts: 1337
Joined: Sat Dec 17, 2011 5:05 pm

Re: R GUI on Raspberry Pi?

Tue Sep 24, 2013 6:28 pm

Did you try something like:

Code: Select all

sudo -i
apt-get install git r-recommended
git clone https://github.com/rstudio/rstudio.git
cd rstudio
./dependencies/linux/install-dependencies-debian
mkdir build
cd build
cmake .. -DRSTUDIO_TARGET=Desktop -DCMAKE_BUILD_TYPE=Release
make install
?
but honestly combining the rpi and R you may encounter memory/performance restrictions.
(last I looked the R language did not make pipe|steam-ing convenient).

another GUI option:
http://www.walware.de/goto/statet

CLI options:
http://www.vim.org/scripts/script.php?script_id=2628
http://ess.r-project.org/

more:
http://en.wikipedia.org/wiki/R_%28progr ... s_and_IDEs
SBC with 32GB RAM: https://hardkernel.com

FAQ : https://raspberrypi.stackexchange.com

Unanswered: https://www.raspberrypi.org/forums/search.php?search_id=unanswered

Rrpi
Posts: 3
Joined: Tue Sep 17, 2013 4:21 am

Re: R GUI on Raspberry Pi?

Tue Sep 24, 2013 7:48 pm

Thanks! I will try your suggestions when I get home later this week.
I thought about the small memory on the pi might be a problem for R, but I know how to program it in R and as long as I keep it simple I figured it should be ok.

wobblestar5
Posts: 6
Joined: Sun Nov 11, 2012 7:07 pm

Re: R GUI on Raspberry Pi?

Thu Oct 10, 2013 3:47 pm

I've got Rkward running ... not as nice as RStudio.

Mark

Rrpi
Posts: 3
Joined: Tue Sep 17, 2013 4:21 am

Re: R GUI on Raspberry Pi?

Thu Oct 10, 2013 6:02 pm

Ok, so I did not succeed in getting Rstudio running.. It could not resolve host while accessing the refs, apparently.
I will try to check out Rkward then. Any tips on how to get it up and running?

Cheers

wobblestar5
Posts: 6
Joined: Sun Nov 11, 2012 7:07 pm

Re: R GUI on Raspberry Pi?

Fri Oct 11, 2013 2:13 pm

I installed it using synaptic.

mark

gerryfarm
Posts: 1
Joined: Thu Apr 17, 2014 4:20 pm

Re: R GUI on Raspberry Pi?

Thu Apr 17, 2014 4:26 pm

Could you suggest a step by step guide how to install R on my raspberry pi? I am experienced on R but am struggling to understand where to enter commands on the Rpi. For example ,does one use the "idle process" (which is used to run python) or the "run" command, or something else entirely? What is the language that is used - eg in the reply that was given to you about installing R studio as a front end gui? Apologies again for my lack of knowledge and happy to take suggestions on useful reference guides online or in books.

mikeg123
Posts: 1
Joined: Sat Feb 07, 2015 9:33 am

Re: R GUI on Raspberry Pi?

Sat Feb 07, 2015 9:39 am

If anyone is following the above instructions and gets and error about the common directory, there is a step missing in that before running the dependencies installation script you need to cd into that directory:

Code: Select all

cd dependencies/linux
./install-dependencies-debian

ericstrom
Posts: 4
Joined: Sat Apr 25, 2015 3:09 pm

Re: R GUI on Raspberry Pi?

Mon May 25, 2015 3:51 pm

Got pretty far along but at the end I got these messages after the cmake command:

CMake Error at src/cpp/desktop/CMakeLists.txt:18 (cmake_policy):
Policy "CMP0020" is not known to this version of CMake.


CMake Error at src/cpp/desktop/CMakeLists.txt:69 (get_filename_component):
get_filename_component called with incorrect number of arguments


CMake Error at src/cpp/desktop/CMakeLists.txt:76 (find_package):
By not providing "FindQt5Core.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "Qt5Core", but
CMake did not find one.

Could not find a package configuration file provided by "Qt5Core" with any
of the following names:

Qt5CoreConfig.cmake
qt5core-config.cmake

Add the installation prefix of "Qt5Core" to CMAKE_PREFIX_PATH or set
"Qt5Core_DIR" to a directory containing one of the above files. If
"Qt5Core" provides a separate development package or SDK, be sure it has
been installed.


-- Configuring incomplete, errors occurred!
[email protected]:~/rstudio/build# make install
make: *** No rule to make target 'install'. Stop.

jmccusker
Posts: 2
Joined: Sat Oct 17, 2015 5:02 am

Re: R GUI on Raspberry Pi?

Sat Oct 17, 2015 5:03 am

Any luck getting around the CMP0020 error?

Return to “Other programming languages”