Working in Your Instance
Every managed compute instance runs three editors—JupyterLab, code-server, and R Server—against the same files, plus the opencode AI agent. Use whichever you prefer, or switch between them mid-project.
Connect from the GoFigr web app: when an instance is Running, click the Jupyter, code-server, R Server, or opencode button to open that app in a new tab. (Connect links are tied to you as the owner.)
Where your files live
Section titled “Where your files live”Your home directory is /home/gofigr/notebooks. It’s seeded on first boot
with:
START-HERE.md— a short welcome and orientation.examples/— a runnable example notebook (tcga_lung_classifier.ipynb) and its Quarto/R counterpart (tcga_lung_analysis.qmd).
Everything in your home directory lives on the instance’s data volume and persists across stop/start.
The editors and agents
Section titled “The editors and agents”The GoFigr IPython extension is pre-installed. In a notebook, capture starts as soon as you load it:
%load_ext gofigrFrom there, figures you create are published automatically—no credentials to set up, because the instance is already signed in to your account. See the Python integration for what’s captured and how.
code-server is a full-featured editor running in your browser, with the GoFigr extension already installed. Open notebooks or scripts, use the integrated terminal, and manage multi-file projects. The Python interpreter is pre-selected for you.
The integrated terminal (Terminal → New Terminal) is also the natural place to run the Codex and Claude Code CLIs—see AI coding agents.
R Server gives you a full R IDE in the browser. library(gofigR) is
installed and configured, so it works the same as a local session:
library(gofigR)gofigR::enable()Figures publish as you run R scripts, R Markdown, or Quarto documents. See the R integration for usage details.
opencode is an AI coding agent with a browser UI. It opens in your home directory and can read and edit files, run shell commands, and execute code in your Python environment. Models are served by the GoFigr AI Gateway with no keys to configure.
Prefer a terminal? The Codex and Claude Code CLIs are installed too. See AI coding agents for all three.
The Python environment
Section titled “The Python environment”Python runs from a virtual environment at /home/gofigr/venv. It lives on
your data volume, so anything you install persists
across restarts, and it’s already active in JupyterLab, the code-server
terminal, and the AI agents—you don’t need to activate it. The gofigr client is installed here,
and pip install and the notebook kernel both resolve to this environment.
If you open a plain login shell and want it active explicitly:
source /home/gofigr/venv/bin/activateInstalling extra packages
Section titled “Installing extra packages”The instance comes pre-loaded with common Python and R packages. Need more? Add them from the integrated terminal or a notebook cell—they install to your data volume and persist across restarts:
pip install <package>install.packages("<package>")