Skip to content

qtalr/qtalr-rstudio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

qtalr-rstudio image

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

Properties:

  • Based on the francojc/qtalr-r image
  • Installs RStudio (2024.04.2+7640)
  • Exposes 8787 for RStudio Server access

Usage

The image can be found on Docker Hub at francojc/qtalr-rstudio. To use it, you will need to map the port 8787 to 8787 on your host machine and set a password for the RStudio user ruser.

You can run:

docker run -d -p 8787:8787 -e PASSWORD=yourpassword francojc/qtalr-rstudio:latest

If you want to attach a host directory to the container, you can use the following command:

docker run -d -p 8787:8787 -e PASSWORD=yourpassword -v /path/to/host/directory:/home/ruser/hostdir francojc/qtalr-rstudio:latest

Then you can access RStudio Server at http://localhost:8787 and log in with the username ruser and the password you set.

You can also use the Desktop version of Docker 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.

Releases

No releases published

Packages

No packages published