- Notifications
You must be signed in to change notification settings - Fork0
Docker images based on various Rocker images and with various packages pre-installed (rJava, JDK11, Drat, Packrat, etc).
License
thospfuller/rockstar
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Rockstar: A Rocker RStudio image preconfigured withrJava,OpenJDK Java 11, and other packages.
TheRockstar RStudio Dockerfile inherits fromrocker/rstudio and contains the following:
- rJava: Low-Level R to Java Interface andOpenJDK 11
- drat: 'Drat' R Archive Template
- RJSONIO: Serialize R Objects to JSON, JavaScript Object Notation
- packrat: A Dependency Management System for Projects and their R Package Dependencies
- xml2: Parse XML
- roxygen2: In-Line Documentation for R
- devtools: Tools to Make Developing R Packages Easier
- logging: R Logging Package
Note also that therstudio user has been added to the sudo group.
Rockstar is used by theRCOBOLDI (R COBOL Data Integration) Package, which is an R package for importing COBOL CopyBook data into the R Project as data frames.
Rockstar can also be helpful for data scientists or data engineers who need to use R with rJava. The rJava package can be slightly involved to set up and the Rockstar RStudio Dockerfile will help you get past this. The Rockstar RStudio Dockerfile can also act as a referece for engineers that need to configure rJava with a JDK or JRE.
TheRockstar project can be found onGitHub andRockstar images can be found onDockerHub. Below we include instructions for installing the Rockstar RStudio image and then creating a container from this image.
docker pull thospfuller/rockstar-rstudio:[latest or 1.0.0 or some other tag]
then
docker image ls
should show something like this:
> REPOSITORY TAG IMAGE ID CREATED SIZE> thospfuller/rockstar-rstudio latest f8c59f41e2d7 41 minutes ago 3.16GB
then
docker run -d -p 8787:8787 -e PASSWORD=password --name rstudio -i -t f8c59f41e2d7
Next, browse tohttp://localhost:8787 and enter the username 'rstudio' and password 'password' and you should see the following.
An example of a container created from the Rockstar RStudio docker image running on localhost:8787.
Finally, command line access to the Rockstar RStudio container can be acquired via the example below -- refer to the image for additional details.
docker exec -it 2a0889cea66f /bin/bash
An example of obtaining shell access to a running Rockstar RStudio container.
About
Docker images based on various Rocker images and with various packages pre-installed (rJava, JDK11, Drat, Packrat, etc).