Skip to content

Commit

Permalink
add a note about the setup
Browse files Browse the repository at this point in the history
  • Loading branch information
jneen committed Mar 10, 2012
1 parent 39d6416 commit a43c8a3
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,24 @@

## Installation

### From the git repo
Install the files

``` bash
git clone git://github.com/jayferd/r
cd r
PREFIX=$HOME/.local make install
```

### From the single executable
and add the following to your bashrc:

``` bash
eval "$(r setup)"
```
curl https://raw.github.com/jayferd/r/master/bin/r > $SOMEWHERE_ON_YOUR_PATH
chmod +x $SOMEWHERE_ON_YOUR_PATH/r

or, if you don't like `eval`, you can do it manually:

``` bash
export R_PREFIX="$HOME/.local"
export PATH="$R_PREFIX/lib/r/current/bin:$PATH"
. "$R_PREFIX/lib/r.bash_completion"
```

0 comments on commit a43c8a3

Please sign in to comment.