Tag Archives: install

Script for RStudio CentOS Linux install dependencies yum

 

Script for RStudio CentOS Linux install dependencies yum

This is supposed to work:

http://support.rstudio.org/help/discussions/problems/3353-installing-r-studio-server-on-redhat-446-4#comment_18902730
yum install r-studio-server.rpm

https://github.com/rstudio/rstudio/blob/master/dependencies/linux/install-dependencies-yum

 

#!/bin/bash
#
# install-dependencies-yum
#
# Copyright (C) 2009-12 by RStudio, Inc.
#
# This program is licensed to you under the terms of version 3 of the
# GNU Affero General Public License. This program is distributed WITHOUT
# ANY EXPRESS OR IMPLIED WARRANTY, INCLUDING THOSE OF NON-INFRINGEMENT,
# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Please refer to the
# AGPL (http://www.gnu.org/licenses/agpl-3.0.txt) for more details.
#
#
set -e
# build/development tools
sudo yum install -y make
sudo yum install -y gcc
sudo yum install -y gcc-c++
sudo yum install -y cmake
sudo yum install -y rpmdevtools
# core system libraries
sudo yum install -y libuuid-devel
sudo yum install -y openssl-devel
sudo yum install -y bzip2-devel
sudo yum install -y zlib-devel
sudo yum install -y pam-devel
# boost
sudo yum install -y boost-devel
# pango cairo
sudo yum install -y pango-devel
# gwt prereqs
sudo yum install -y java-1.6.0-openjdk
sudo yum install -y ant
sudo yum install -y xml-commons-apis
# common
cd ../common
./install-gwt
./install-dictionaries
./install-mathjax
cd ../linux
# boost
./install-boost
# desktop dependencies (qt)
if [ “$1” != “–exclude-qt-sdk” ]
then
   # install Qt 4.8 SDK (into a private /opt/RStudio-QtSDK directory so as to
   # not conflict with any other installed versions of Qt on the system)
   ./install-qt-sdk
fi

How to install R Base with latest update and Rstudio onto Debian Linux #rstats #linux

How to install R Base with latest update and Rstudio onto Debian Linux

apt-get install r-base

http://rwiki.sciviews.org/doku.php?id=getting-started:installation:debian#install_r

Then from http://tata-box-blog.blogspot.ca/2012/03/install-r-2142-in-debian-squeeze.html

First, open a Terminal and open the sources.list file: $ gksudo gedit /etc/apt/sources.list

Then, add these lines at the bottom of the file (Note, I use the UCLA server, but this can be easily changed taking a look here for the mirrors):

## R BACKPORTS deb http://cran.stat.ucla.edu/bin/linux/debian squeeze-cran/ #deb-src http://cran.stat.ucla.edu/bin/linux/debian squeeze-cran/ To install Rstudio download Rstudio deb file from http://www.rstudio.com/ide/download/desktop Install with deb http://linux.about.com/od/ubuntu_doc/a/ubudg21t2.htm

To install Rstudio

 

download Rstudio deb file from
http://www.rstudio.com/ide/download/desktop

Install with deb
http://linux.about.com/od/ubuntu_doc/a/ubudg21t2.htm

How to install R with RCpp RInside for C++ HFT with multithreading capabilities for parallelizing with Open MPI in Ubuntu Linux

How to install R with RCpp RInside for  C++ HFT with multithreading capabilities for parallelizing with Open MPI in Ubuntu Linux

To get RCpp and RInside running in your Ubuntu Linux environment

Install RStudio to manage the installation of your R packages which is the lazy person’s way of doing it.  Also, ensure you have the latest R version by doing:

http://quantlabs.net/r-blog/2012/10/how-to-upgrade-to-the-latest-r-package-in-your-ubuntu-linux-environment/

In RStudio, install RCpp and RInside. Download the latest version of RInside for C++ from (under Download section)

http://dirk.eddelbuettel.com/code/rinside.html

Once the tarball is expanded in your Linux environment, navigate to the examples standard to make all the examples. Again, you will need the RCpp and RInside R packages available for the build process. Other R packages may be needed as your run the many examples.

To run the RInside examples with the OPen MPI for parallelizing examples, install Open MPI following apt-get instructions at:

http://cs.ucsb.edu/~hnielsen/cs140/openmpi-install.html

The navigate to the RInside example mpi and do a make. Run the samples and watch your jaw drop on the potential of R and C++ for HFT in a multithreaded environment.