R Portable Version 3.3.2 and RStudioPortable Version 0.99.903 have been Released! Download R Portable for free! http://bit.ly/2fvgKAe via @sourceforge

R Portable Version 3.3.2 and RStudioPortable Version 0.99.903 has been released and is available at the R Portable project page, https://sf.net/projects/rportable/.

  • R Portable Version 3.3.2 incorporates the 3.3.2 version of R in a portableapps format.
  • RStudioPortable Version 0.99.903 incorporates the 0.99.903 version of R Studio in a portableapps format.

R Portable Version 3.3.1 and RStudioPortable Version 0.99.902 have been Released! Download R Portable for free! http://bit.ly/295whjJ via @sourceforge

R Portable Version 3.3.1 and RStudioPortable Version 0.99.902 has been released and is available at the R Portable project page, https://sf.net/projects/rportable/.

  • R Portable Version 3.3.1 incorporates the 3.3.1 version of R in a portableapps format.
  • RStudioPortable Version 0.99.902 incorporates the 0.99.902 version of R Studio in a portableapps format.

R Portable Version 3.3.0 and RStudioPortable Version 0.99.896 has been Released! Download R Portable for free! http://bit.ly/1rxl03e via @sourceforge

Please update RStudio to the latest version to avoid this warning message when using R Version 3.3.0.

R graphics engine version 11 is not supported by this version of RStudio. The Plots tab will be disabled until a newer version of RStudio is installed.

R Portable Version 3.3.0 and RStudioPortable Version 0.99.896 has been released and is available at the R Portable project page,https://sf.net/projects/rportable/.

  • R Portable Version 3.3.0 incorporates the 3.3.0 version of R in a portableapps format.
  • RStudioPortable Version 0.99.896 incorporates the 0.99.896 version of R Studio in a portableapps format.

R Portable Version 3.2.0 has been Released! Download R Portable for free! http://bit.ly/1OuYdJM via @sourceforge

R Portable Version 3.2.0 has been released and is available at the R Portable project page, http://sf.net/projects/rportable/. Please update RStudio to the latest version to avoid the “Error in tools:::httpdPort < = 0L" error when using RStudio with R 3.2.0.

How To Quickly Install Packages With A New R Installation

Okay, Joel, here it is. I got these instruction off of the Internet but I do not remember who was the original source.

  1. I keep this file in a RStudio project I call installed_packages.
  2. Before I upgrade I run the first two line to update the package_list.
  3. After I upgrade I go back to project, un-comment the install.packages line and run it.
  4. I also have a line in there if you want a csv copy of the installed packages.
#Get currently installed packages

#work
package_df < - as.data.frame(installed.packages())
package_list <- as.character(package_df$Package)
#write.csv(package_df, file = "package_df.csv")
#Re-install Install packages
#install.packages(package_list)

R Portable Version 3.1.1 and RStudioPortable Version 0.98.977 Are Released!

R Portable Version 3.1.1 and RStudioPortable Version 0.98.977 have been released and is available at the R Portable project page, http://sf.net/projects/rportable/.

  • R Portable Version 3.1.1 incorporates the 3.1.1 version of R in a portableapps format.
  • RStudioPortable Version 0.98.977 incorporates the 0.98.977 version of R Studio in a portableapps format.

R Portable Version 3.0.3 and RStudioPortable Version 0.98.501 Are Released!

R Portable Version 3.0.3 and RStudioPortable Version 0.98.501 have been released and are available at the R Portable project page, http://sf.net/projects/rportable/.

  • R Portable Version 3.0.3 incorporates the 3.0.3 version of R in a portableapps format.
  • RStudioPortable Version 0.98.501 incorporates the 0.98.501 version of R Studio in a portableapps format.

Rcmdr for R-Portable or How to Create a Custom Shortcut in the PortableApps Menu

I have been playing around with Rcmdr since I saw several folks talk say good things about it. To make it play nicely R-Portable I decided to create my own PortableApps icon to launch R-Portable and automatically start Rcmdr. The procedure is similar to creating a shortcut for Rcmdr except that I will start R-Portable from a separate folder that contains a customized version of .Rprofile that automatically starts Rcmdr. So I created a  Rcmdr folder in my Portableapps program directory, created a DOS batch file that starts R-Portable with the “—sdi” option, and created a .Rprofile file like Scott Hyde had recommended. You can test your setup at this point. I am assuming you have previously installed R Commander. When you execute the batch file a DOS screen should briefly flash and both the R and the “sdi” version of the R Commander window should open.

To get a PortableApps icon to appear I created the PortableApps folder structure in Rcmdr, created an appinfo.ini file that referenced the batch file as the program executable, and copied the R icons from R-Portable into the “app\appinfo” folder. Now when I refresh my PortableApps icons I have a “R” icon for R Commander Portable to go with my existing icons for R Portable and RStudio Portable. Here is a zipped version of my Rcmdr folder,
Rcmdr.zip.

Where are RStudio’s Options Stored?

I was looking at Joseph Reid’s description on how to set up RStudio when I realized I did not know where the RStudio settings are stored.  Since I created a portableapps version of RStudio, I was curious if it left any files on the hard drive. The answer is found in the article, Resetting RStudio’s State. Here is the pertinent part of Windows Vista and 7 users:

RStudio stores your custom settings and options in a hidden directory called RStudio-Desktop. If this directory does not exist, RStudio will create it on start up. This directory includes user settings, log files, and other state information. Removing (or renaming) this directory will reset RStudio’s state analogous to a fresh installation.

We recommend renaming this directory to create a backup version instead of completely deleting it. This allows you to save your settings, incase you want to revert back to them. Additionally, if you experienced a crash or RStudio failed to start, this directory may contain vital information for determining the source of the error. In this case, we recommend renaming this directory to backup-rstudio-desktop and sending it along with a support request.

Accessing the RStudio-Desktop Directory

Windows

You can open an Explorer window into the RStudio-Desktop directory by typing the following command into Start -> Run:

For Windows Vista and 7:

%localappdata%\RStudio-Desktop