Polyaxon makes it easy to start an RStudio session on your cluster.
Overview
Polyaxon schedules RStudio sessions based on this component.
Create a new session using the CLI
polyaxon run --hub rstudioTo start a session with a specific theme:
polyaxon run --hub rstudio -P theme=DraculaTo start the session on a different project
polyaxon run --hub rstudio -p project-nameViewing the service
Go to the UI under the service tab:
polyaxon ops dashboard [-uid] [-p]Or to get to the service directly:
polyaxon ops service [-uid] [-p]Or to get the service in full-screen mode:
polyaxon ops service --external [-uid] [-p]- Light theme (Polyaxon and RStudio)
- Dark theme (Polyaxon and RStudio)
Queues, presets, node scheduling, custom resources, …
You can provide more information before scheduling the service, like the queue, presets, …
polyaxon run --hub rstudio -q agent-name/queue-name --presets preset-name1,preset-name2Local preset
polyaxon run --hub rstudio -f path/to/preset.yamlYou can also provide a full operation manifest to customize the environment section, node selector, connections, initializers, resources requirements, …
version: 1.1
kind: operation
hubRef: rstudio
runPatch:
init:
- git: ...
connections: [...]
environment:
...
container:
resources:
requests:
memory: 300MiForking and customizing the component
If you need to expose the rstudio component with your predefined configuration without requiring end-users to create operations,
we suggest that you clone the component and customize it.
On Polyaxon CE, you will need to create a new .yaml file where you will host the content of the component, and users can either start new sessions using:
polyaxon run -f my-custom-rstudio.yamlpolyaxon run --url https://path/to/my-custom-rstudio.yaml
On Polyaxon Cloud or Polyaxon EE, you just need to add a new component hub.
The end users will need to run with org-name/rstudio instead of rstudio:
polyaxon run --hub acme/rstudioNote: In order to use
acme/rstudiowithout:tagyou need to name the versionlatest.
Versions
All rstudio versions can be found on the component hub
polyaxon hub ls -c rstudio





