Skip to content

Add support for running code in separate process but same runtime #1303

@juliasilge

Description

@juliasilge

Right now, the executeCode API runs code in the console as if the user has typed the code. This is a great fit for many tasks, but there are situations where you want to run code in a separate process, especially a totally clean/fresh one:

  • Running R package tests
  • Checking an R package

We can't use the the default terminal execution for this, because what you get calling R or Python from the terminal is not guaranteed to be the right runtime.

What we are looking for is similar to how the RStudio Build Pane or Background Jobs behaves, although I don't know if we will want a similar UI. Even if we don't want UI like that, we will eventually need to get to a separate process of the right runtime.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions