Stand-alone R installation on USB stick from Windows

Avoiding installing applications on any PC we need to work on every time can be an efficient solution. In fact, for some of them it is possible to install an application on a USB stick and carry everything you need to work with you. In this article we will install the R console on a USB stick. In this way we will be able to work with R, do our statistical analysis on any PC with Windows. Once finished, we will remove the key, leaving the PC clean.

Stand-alone R installation on USB Stick

To download the R platform, connect to the R official website (r-project.org). Click on CRAN to search for the nearest mirror and download the version that best suits your operating system.

R - download di CRAN dal sito ufficiale

For example in my case:

R - download di CRAN dal sito ufficiale 2

Once downloaded to your PC, and installed, you will find an R directory in C:\Program Files\R\R-4.0.3 or similar. Copy directory R to a USB stick. You should now have your standalone executable on USB.

R - download di CRAN dal sito ufficiale 3

Now you are free to mount the USB stick on any PC with the same operating system and work with R wherever you want. Just click on R-4.0.2\bin\R.exe inside the USB key to open the console.

R - Eseguire la console R su chiavetta USB

Now you are free to start working ….

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.