Difference between revisions of "R"

From Wiki2
(Created page with "===R=== added cspan archive to /etc/apt/sources.list <syntaxhighlight> deb http://archive.ubuntu.com/ubuntu lucid main restricted universe deb http://archive.ubuntu.com/ubuntu...")
 
 
Line 1: Line 1:
===R===
===R http://198.23.156.78:8787/===
added cspan archive to /etc/apt/sources.list
added cspan archive to /etc/apt/sources.list
<syntaxhighlight>
<syntaxhighlight>

Latest revision as of 22:51, 29 January 2013

R http://198.23.156.78:8787/

added cspan archive to /etc/apt/sources.list <syntaxhighlight> deb http://archive.ubuntu.com/ubuntu lucid main restricted universe deb http://archive.ubuntu.com/ubuntu lucid-updates main restricted universe deb http://archive.ubuntu.com/ubuntu lucid-security main restricted universe deb http://archive.canonical.com/ lucid partner deb http://archive.canonical.com/ lucid partner deb http://watson.nci.nih.gov/cran_mirror/bin/linux/ubuntu lucid/ </syntaxhighlight> installed R <syntaxhighlight>

  sudo apt-get update
  sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E084DAB9
  sudo apt-get install r-base
  sudo apt-get install r-base-dev

</syntaxhighlight> installed rstudio http://198.23.156.78:8787/ <syntaxhighlight> $ sudo apt-get install gdebi-core $ sudo apt-get install libapparmor1 # Required only for Ubuntu, not Debian $ wget http://download2.rstudio.org/rstudio-server-0.97.312-i386.deb $ sudo gdebi rstudio-server-0.97.312-i386.deb </syntaxhighlight> you can add packages from the web rstudio <syntaxhighlight> </syntaxhighlight>