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.

Installazione di R dal CRAN

For example in my case:

Installazione di R download per Windows 2

Once you have downloaded the file such as R-4.3.2.exe onto your PC, double-click on it to start the installation. A window to accept the GNU license will appear and press the Next button.

Installazione di R download per Windows 3

Continue pressing the Next button, leaving the various default settings until the actual installation starts with a scroll bar. Once completed, you will find an R directory in C:\Program Files\R\R-4.3.2 or similar. Copy the R directory with all its contents to a USB stick. You should now have your standalone executable version on USB.

Installazione di R download per Windows 4

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

Installazione di R download per Windows 5

Now you are free to start working ….

Leave a Reply