<commit_before>#via https://github.com/binder-examples/dockerfile-rstudio
FROM rocker/tidyverse:3.4.2

RUN apt-get update && \
    apt-get -y install python3-pip libgdal1-dev gdal-bin libproj-dev proj-data proj-bin && \
    pip3 install --no-cache-dir \
         notebook==5.2 requests requests_cache lxml pandas matplotlib mnis ipysankeywidget xlrd pyahocorasick fuzzywuzzy nltk gensim rdflib networkx folium fiona \
         git+https://github.com/jupyterhub/nbrsessionproxy.git@6<PASSWORD>ac11cbe82432d026f41a3341525a22d6a0b \
         git+https://github.com/jupyterhub/nbserverproxy.git@<PASSWORD> && \
    apt-get purge && \
    apt-get clean && \
    rm -rf /var/lib/apt/lists/*

ENV NB_USER rstudio
ENV NB_UID 1000
ENV HOME /home/rstudio
WORKDIR ${HOME}

USER ${NB_USER}

# Set up R Kernel for Jupyter
RUN R --quiet -e "install.packages(c('repr', 'IRdisplay', 'evaluate', 'crayon', 'pbdZMQ', 'devtools', 'uuid', 'digest', 'rgdal'))"<commit_msg>or this?<commit_after>#via https://github.com/binder-examples/dockerfile-rstudio
FROM rocker/tidyverse:3.4.2

RUN apt-get update && \
    apt-get -y install python3-pip libgdal-dev gdal-bin libproj-dev proj-data proj-bin && \
    pip3 install --no-cache-dir \
         notebook==5.2 requests requests_cache lxml pandas matplotlib mnis ipysankeywidget xlrd pyahocorasick fuzzywuzzy nltk gensim rdflib networkx folium fiona \
         git+https://github.com/jupyterhub/nbrsessionproxy.git@6eefeac11cbe82432d026f41a3341525a22d6a0b \
         git+https://github.com/jupyterhub/nbserverproxy.git@5508a182b2144d29824652d8977b32302517c8bc && \
    apt-get purge && \
    apt-get clean && \
    rm -rf /var/lib/apt/lists/*

ENV NB_USER rstudio
ENV NB_UID 1000
ENV HOME /home/rstudio
WORKDIR ${HOME}

USER ${NB_USER}

# Set up R Kernel for Jupyter
RUN R --quiet -e "install.packages(c('repr', 'IRdisplay', 'evaluate', 'crayon', 'pbdZMQ', 'devtools', 'uuid', 'digest', 'rgdal'))"
{'fraction_non_alphanumeric': 0.1296875, 'fraction_numerical': 0.05364583333333333, 'mean_word_length': 3.8025, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 6, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5024968', 'n_tokens_mistral': 821, 'n_tokens_neox': 739, 'n_words': 154}