session_clear
Clear datasets and models from the R session to free memory and prevent one analysis from contaminating the next. Use the keep parameter to preserve specific objects.
Instructions
Remove datasets and models from the session, freeing memory and preventing one analysis from leaking into the next. Use it when switching to an unrelated topic. Pass keep to hold on to named objects. Safer than clearing by hand: it never touches the server's own internal bindings.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| keep | No | Names of objects to keep. |