Skip to content

cyverse-vice/rstudio-geospatial

Repository files navigation

Project Supported by CyVerse Project Status: Active – The project has reached a stable, usable state and is being actively developed. DOI license

RStudio Geospatial

RStudio Server with geospatial packages and AI development tools for the CyVerse Discovery Environment.

Based on the Rocker-Project.org Docker RStudio geospatial container with additional configuration for CyVerse Kubernetes orchestration.

Harbor Build Status GitHub commits since tagged version Docker Pulls

Quick Launch

Version Launch
latest

Features

AI Development Tools

  • Claude Code - Anthropic AI coding assistant (claude)
  • Gemini CLI - Google AI CLI (gemini)
  • OpenAI Codex - OpenAI coding assistant (codex)
  • Node.js - JavaScript runtime for AI tools

Development Tools

  • GitHub CLI (gh) - Command-line tool for GitHub operations
  • RStudio Server - Full-featured R IDE

Geospatial R Packages

  • sf - Simple features for R
  • terra - Spatial data analysis
  • raster - Raster data handling
  • rgdal - Geospatial data abstraction
  • rgeos - Geometry operations
  • sp - Classes and methods for spatial data
  • leaflet - Interactive maps
  • mapview - Interactive viewing of spatial data
  • tmap - Thematic maps

tidyverse Ecosystem

  • tidyverse - dplyr, ggplot2, tidyr, readr, purrr, tibble, stringr, forcats
  • RMarkdown - Document generation
  • Shiny - Interactive web applications

CyVerse Integration

  • GoCommands (gocmd) - CyVerse data transfer utilities
  • nginx reverse proxy - Kubernetes compatibility

System Utilities

  • Monitoring - htop, glances for system monitoring
  • Build tools - gcc, development essentials
  • GDAL/GEOS/PROJ - Geospatial libraries

Run Locally

# Pull the container
docker pull harbor.cyverse.org/vice/rstudio/geospatial:latest

# Run the container
docker run -it --rm -p 8787:80 -e REDIRECT_URL=http://localhost:8787 harbor.cyverse.org/vice/rstudio/geospatial:latest

Access RStudio at: http://localhost:8787

Default credentials:

  • Username: rstudio
  • Password: rstudio1

To set a custom password:

docker run -it --rm -p 8787:80 -e PASSWORD=yourpassword -e REDIRECT_URL=http://localhost:8787 harbor.cyverse.org/vice/rstudio/geospatial:latest

With mounted home directory

docker run -it --rm -v $HOME:/app --workdir /app -p 8787:80 -e REDIRECT_URL=http://localhost:8787 harbor.cyverse.org/vice/rstudio/geospatial:latest

Build Your Own Container

FROM harbor.cyverse.org/vice/rstudio/geospatial:latest

# Install additional R packages
RUN R -e "install.packages('your-package', repos='https://cloud.r-project.org/')"

# Install system dependencies
USER root
RUN apt-get update && apt-get install -y your-package
USER rstudio

References

Resources

About

RStudio geospatial Docker container recipes for CyVerse VICE

Resources

License

Stars

1 star

Watchers

1 watching

Forks

Packages

 
 
 

Contributors