Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

qtalr/qtalr-r

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

12 Commits

Repository files navigation

qtalr-r base image

This repo contains the Dockerfile for the base image to set up an environment to be used with the Introduction to Quantitative Text Analysis for Linguistics textbook.

Properties:

  • Based on the rocker/r-ver:4.4.2 image
  • Installs Python3, radian, jupyter, Pandoc (3.1.11.1) and Quarto (1.6.39)
  • Creates a non-root user ruser with passwordless sudo access
  • Installs R packages: {pak}, {renv}, {knitr}, {rmarkdown}, {languageserver}, and {tinytext}, as well as running the TinyTex installer adding the executables to ~/.local/bin/

Usage

The image can be found on Docker Hub at francojc/qtalr-r. To use it, you can run:

docker run -it francojc/qtalr-r:latest

Or you can create a container with a volume to mount your local directory:

docker run -it -v /path/to/your/local/directory:/home/ruser francojc/qtalr-r:latest

Alternatively, you can use Docker Desktop to run the image and connect it to a host directory.

Note

I highly recommend installing packages with {pak} instead of the default install.packages() function. This will ensure that when packages are installed, any system dependencies are also installed.

About

qtalr Base image

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

AltStyle によって変換されたページ (->オリジナル) /