Rstudio

From 太極
Revision as of 14:10, 12 May 2014 by Brb (talk | contribs) (Created page with "See https://github.com/rstudio/rstudio/blob/master/INSTALL for installation instruction. To build Rstudio from source in Ubuntu: # Install R. # Download a release version tar...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

See https://github.com/rstudio/rstudio/blob/master/INSTALL for installation instruction.

To build Rstudio from source in Ubuntu:

  1. Install R.
  2. Download a release version tarball of source code. Do not grab from github master branch. Sometimes the preview version works but the release version cannot be compiled. For example, the release version would give a build error from /opt/QRstudio-QtSDK/Desktop/4.8.0/gcc/include/QtCore/gstring.h, but the preview version 0.98.836 (May 11th, 2014) works fine.
  3. Make sure git is installed/available.
  4. Install dependencies
cd rstudio-rstudio-dbf531d  # the number differs
dependencies/linux/install-dependencies-debian
  1. Create build directory
mkdir build
cd build
  1. Configure by running cmake
cmake .. -DRSTUDIO_TARGET=Desktop -DCMAKE_BUILD_TYPE=Release
  1. Build and Install
sudo make install

For RStudio Desktop on Linux, make install automatically creates an entry in the Applications -> Programming menu for RStudio.