R with Jupyter docker image based on alpine
221
R with Jupyter docker image based on alpine
tidyverse packages including ggplot2, dplyr, tidyr, readr, purrr, tibble, stringr, lubridate, and broom are pre-installed. See detail in installed.packages() results.
# run Jupyter Notebook container (see token in log)
docker run -it --rm -p 8888:8888 -v $(pwd):/code smizy/r-notebook:3.4.2-alpine
# Or use PASSWORD environment variable instead of token
docker run -p 8888:8888 -v $(pwd):/code -e PASSWORD=yoursecretpass -d smizy/r-notebook:3.4.2-alpine
# open browser
open http://$(docker-machine ip default):8888
In case of "tm"
FROM smizy/r-jupyter:3.5.0-alpine
USER root
RUN set -x \
&& apk --no-cache add \
libxml2 \
&& apk --no-cache add --virtual .builddeps \
build-base \
libxml2-dev \
R-dev \
&& Rscript -e 'install.packages("tm")' \
&& apk del .builddeps
USER jupyter
Content type
Image
Digest
Size
157.8 MB
Last updated
about 7 years ago
docker pull smizy/r-jupyter:3.5.0-alpine-r2