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.
Re: R GUI on Raspberry Pi?
Did you try something like:
?
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
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
FAQ : https://raspberrypi.stackexchange.com
Unanswered: https://www.raspberrypi.org/forums/search.php?search_id=unanswered
Re: R GUI on Raspberry Pi?
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.
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.
-
- Posts: 6
- Joined: Sun Nov 11, 2012 7:07 pm
Re: R GUI on Raspberry Pi?
I've got Rkward running ... not as nice as RStudio.
Mark
Mark
Re: R GUI on Raspberry Pi?
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
I will try to check out Rkward then. Any tips on how to get it up and running?
Cheers
-
- Posts: 6
- Joined: Sun Nov 11, 2012 7:07 pm
Re: R GUI on Raspberry Pi?
I installed it using synaptic.
mark
mark
Re: R GUI on Raspberry Pi?
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.
Re: R GUI on Raspberry Pi?
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
Re: R GUI on Raspberry Pi?
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!
root@raspberrypi:~/rstudio/build# make install
make: *** No rule to make target 'install'. Stop.
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!
root@raspberrypi:~/rstudio/build# make install
make: *** No rule to make target 'install'. Stop.
Re: R GUI on Raspberry Pi?
Any luck getting around the CMP0020 error?