# Code-based Compute

`JupyterLab` and `RStudio` runtimes enable users to perform custom analyses without leaving Panomics' secure environment. Assets generated using `Standard Compute` can be seamlessly copied to `JupyterLab` and `RStudio` from any project's Assets tab.

### Spinning-up a JupyterLab runtime

{% embed url="<https://www.loom.com/share/ccded7e1307141769763af942a1b55d3?sid=4af5295e-c7c0-4b89-b7b7-cf98b966693c>" %}
Spin-up a JupyterLab runtime
{% endembed %}

### Copying assets to and from a JupyterLab runtime

JupyterLab runtimes have a `panomics` folder that ensures communication with the Panomics platform. That folder is mounted in all projects, under the Assets tab.&#x20;

{% embed url="<https://www.loom.com/share/9ab48f4eea0c45f59fcdae27bbfa3cac?sid=ad405246-c36f-47bd-ae7f-bc9e0363ca47>" %}
Copying assets
{% endembed %}

### Terminating a JupyterLab runtime

{% hint style="warning" %}
Before terminating a JupyterLab runtime, make sure to copy all desired files to your `Project` mount.
{% endhint %}

In order to terminate a JupyterLab runtime, the `panomics` folder must be empty. This ensures no accidental data loss can take place.&#x20;

{% embed url="<https://www.loom.com/share/dd65ccc2677441168785e259c1121af1?sid=31333d2f-17e2-4537-80d2-0e74506b0225>" %}
Terminate a JupyterLab runtime
{% endembed %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://documentation.panomics.bio/documentation/compute-runtimes/code-based-compute.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
