Skip to content

R (language)

Jason Charney edited this page Mar 29, 2016 · 2 revisions

:under_construction: NEW PAGE!

:info: This page is part of our series of [Data Science](Data Science).

R is a free software environment for statistical computing and graphics. It compiles and runs on a wide variety of UNIX platforms, Windows, MacOSX, and of courseLinux.

Installation

R would be very easy to install if only the we could have done it they way I wanted to do it.

We have to do this instead

I had to get everything from the repo. It would not install anything past 3.1.1-1.

sudo apt-get install r-base-core r-base-recommended r-base r-base-dev

If it did work, here's what I would have done.

For our CRAN mirror, I'm using http://cran.wustl.edu/ from Washington University-St. Louis. They have backports for wheesy and jessie. We'll want to install the one for jessie. Even better news is that these backports won't need to be installed like with i3 because they are singed. I'm putting this backport into a file called cran.list instead of jessie-backports.list because it has a signed key.

$ sudo bash -c "echo 'deb http://cran.wustl.edu/bin/linux/debian jessie-cran3/' >> /etc/apt/sources.list.d/cran.list"
$ sudo apt-key adv --keyserver keys.gnupg.net --recv-key 381BA480
$ sudo apt-get update
$ sudo apt-get install r-base-core r-recommended r-base r-base-dev

Links

Setup

  1. [Assemble the Hardware](Assemble the Hardware)
  2. [Install the Software](Install the Software)
  3. 🆙 [Setup your Raspberry Pi](Setup your Raspberry Pi)
  4. [Download the Missing Parts](Download the Missing Parts)

Typical Utilities

  • [Downloading and extracting with curl and tar](curl and tar)
  • [Browsing with ls and cat](ls and cat)
  • [Searching with grep and find](grep and find)
  • [Filtering with sed and awk](sed and awk)
  • [Piping with less, pv, and tee](less, pv, and tee)
  • Monitor your system with htop
  • Multiplex with tmux
Clone this wiki locally