emacs-ipython-notebook/tools/install-R.sh
dickmao bead667ee0 Clean up multilang
Do not assume python... leverage ESS to improve R interaction.
Fix both undo and fontify in the presence of toggling cells (`C-c
C-t`)
Fix and test switching kernels
2018-12-08 21:25:48 -05:00

19 lines
479 B
Bash

#!/bin/bash
# install R for Travis CI
set -x
WORKDIR=${HOME}/local
cd $WORKDIR
if [ "x$TRAVIS_OS_NAME" = "xlinux" ] ; then
if [ ! -d ${WORKDIR}/R ]; then
wget http://cran.mirrors.hoobly.com/src/base/R-3/R-3.4.1.tar.gz
tar xvf R-3.4.1.tar.gz
cd R-3.4.1
./configure --prefix=${WORKDIR}/R
make && make install
fi
R -e "install.packages('IRkernel', repos='http://cran.mirrors.hoobly.com')"
R -e "IRkernel::installspec()"
fi