Skip to content

Creating a Portable R (#Rstats)

What is R?

R is a great statistical environment. Not only free as beer and as freedom, we can also run the programme from the USB drive (memory stick) with a Portable R.
Learn more about R here.

A Portable R?

Screen Shot 2014-09-16 at 12.27.09 AM

A portable R configures R to work with the PortableApps framework, so that R can be ran from a thumb drive or portable hard drive without leaving artifacts on the computer.
You may download the portable R here or here.

Screen Shot 2014-09-16 at 12.24.13 AM

Do it your self.

 

A Portable R-Studio

Screen Shot 2014-09-15 at 11.56.00 PM

We can also create a portable usefule and famous IDE for R, R Studio by following the guide provided by Josh Paulson as following.

You can create a portable version of RStudio that will run on a USB drive. This allows you to run RStudio from any machine that has R already installed.

Windows:
On windows, you simply need to copy the RStudio directory (normally located in Program Files) onto your USB device. To open RStudio from this device, run rstudio.exe located in the bin folder.

Mac OS X:
For the Mac, after mounting the RStudio .dmg file, drag the RStudio Application file onto your USB device (normally you would drag this to your Applications Folder). To open RStudio from this device, simply double click the RStudio Application file from within your USB device.

Linux:
For Linux users, your USB drive must be formatted in a native Linux file format such as RiserFS or Ext 2/3. With this setup, simply copy the RStudio directory from /usr/lib onto the USB device. To open RStudio, run the rstudio executable file located in the bin directory of your USB drive.

Note:
This allows RStudio to be portable, but the data will remain on the local home directory of the computer.

No comments yet

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: