I'm using Jupyter with R Kernel to create training forms. With some packages of R, I need to use a 32 bit release of R engine, and for others (the main part) 64 bit.
So my goal is to be able to switch really easily from a R Kernel 32 bit to a R Kernel 64 bit really easily.
From now on, the only thing I've been able to do is
To install the Kernel, my code is always the same :
install.packages(c('repr', 'IRkernel', 'IRdisplay'),
repos = c('http://irkernel.github.io/', getOption('repos')))
IRkernel::installspec()
The easiest way is to edit your kernel spec file:
%USERPROFILE%\AppData\Roaming\jupyter\kernels\
and copy the ir
folder to e.g. ir64bit
kernel.json
file so that it reads [...]"argv": ["C:/PROGRA~1/R/R-3.2/bin/x64/R.exe", [...]
-> full path to R
in the x64
(or i386
) subfolder of bin
."R 3.2 64bit"
).