[Download the latest RStudio source code from this page]
% cd /src/util
util% mv /tmp/rstudio-rstudio-v0.98.1087-0-g04dbac1.tar.gz .
util% gunzip rstudio-rstudio-v0.98.1087-0-g04dbac1.tar.gz
util% tar -xvf rstudio-rstudio-v0.98.1087-0-g04dbac1.tar
util% cd rstudio-rstudio-04dbac1/
[Read the INSTALL file]
rstudio-rstudio-04dbac1% mkdir build
rstudio-rstudio-04dbac1% cd build
build% cmake .. -DRSTUDIO_TARGET=Desktop -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/util/rstudio-04dbac1 -DBOOST_ROOT=/util/boost/include
-- Found R: /util/R-3.1.1/lib64/R
CMake Error at /usr/share/cmake/Modules/FindQt4.cmake:1619 (MESSAGE):
The installed Qt version 4.5.3 is too old, at least version 4.8.0 is
required
Call Stack (most recent call first):
src/cpp/desktop/CMakeLists.txt:51 (find_package)
-- Configuring incomplete, errors occurred!
[root@artemis build]# sudo cmake .. -DRSTUDIO_TARGET=Desktop -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/util/rstudio-cbba592 -DBOOST_ROOT=/util/boost/include -DLIBR_HOME=/util/R-3.1.2/lib64/R
-- Boost version: 1.50.0
-- Found R: /util/R-3.1.2/lib64/R
-- Configuring done
-- Generating done
-- Build files have been written to: /src/util/rstudio-rstudio-cbba592/build
[root@artemis build]# cd /opt/
[root@artemis opt]# ls
rh RStudio-QtSDK rstudio-tools
[root@artemis opt]# cd rstudio-tools/
[root@artemis rstudio-tools]# ls
boost
[root@artemis rstudio-tools]# cd /src/util/rstudio-rstudio-cbba592/build
[root@artemis build]# sudo make install
- http://www.rstudio.com/products/rstudio/download/