This repository contains R notebooks and data for learning Tidymodels.
R package configuration is handled by renv
. To set up packages, start R
and setup the snapshotted package configuration as follows:
R
> renv::restore()
Note that packages were installed using https://github.com/r-lib/pak. To install a new package, use
pak::pkg_install("ggplot2")
Dockerfile
describes a docker image based on the rocker/tidyverse
version 4.2.2 image from the [https://rocker-project.org/](Rocker Project). To build the image, run
docker build -t learn-tidymodels .
Use the following command to run the container created by the build above:
docker run -e PASSWORD=rstudio --rm -p 8787:8787
--mount src=pwd
,target=/home/rstudio/tm,type=bind
learn-tidymodels
which will make the current working directory available in Docker under
the directory /home/rstudio/tm
.
Access the RStudio web interface by pointing your browser at http://localhost:8787/
.
- Max Kuhn and Julia Silge. Tidy Modeling with R.
- Thomas Mock. Tidy Tuesday: A weekly data project aimed at the R ecosystem.
- Julia Silge and David Robinson. Text Mining with R: A Tidy Approach.
- Julia Silge. Blog.