Portable Development 101 - 004, R 001 (R and R Studio Installation + Jupyter Kernel)

This is the Part 3 of the tutorial for working on a Portable Development

At this point in time, the latest stable version of R version is 3.5.0,
R Studio latest version 1.1.453

Here is the R Portable Website
https://www.r-project.org/
Here is the R Studio Website
https://www.rstudio.com


Here's a quick link to do the download
https://sourceforge.net/projects/rportable/files/R-Portable/3.5.0/R-Portable_3.5.0.paf.exe/download
It is about 82MB in size


Here is the R Studio download
https://download1.rstudio.org/RStudio-1.1.453.zip
It is about 126MB in size

After the download, it is a zip file,
so just unzip to a folder next to WinPython.
That completes the basic installation.

Jupyter Kernel Installation
Goes to Windows Environment Variable
Under user variables,
Under Path, you need to add a new Path
Example:
C:\dev\R-Portable-3.5.0\App\R-Portable\bin\x64

Next, go back to WinPython and click to open WinPython Command Prompt

Run R in console.
Install the necessary package for R Kernel
Note* following is just 1 line of command

key in the following command in R prompt
*********************************************
install.packages(c('repr', 'IRdisplay', 'stringr', 'crayon', 'pbdZMQ', 'devtools', 'evaluate', 'uuid', 'digest', 'stringi'), repos = c('http://cran.rstudio.com/', 'http://cran.rstudio.com/'))
*********************************************



If there is a question about compiling from source the answer is NO.
Reason is there are machines which mostly will NOT be successful in doing the compiling.
At least there is a binary version to work with.



Next install the actual R Kernel in R
key in the following command in R prompt
*********************************************
devtools::install_github('IRkernel/IRkernel')
*********************************************

Last but not least install the R Kernel in to WinPython

key in the following command in R prompt
*********************************************
IRkernel::installspec()
*********************************************

Popular posts from this blog

Portable Development 101 - 002, WinPython 001 (WinPython Installation)

Portable Development 101 - 003, Octave 001 (Octave Installation + Jupyter Kernel)