Skip to content

install-dinamica vignette: warn against setting DINAMICA_EGO_8_TEMP_DIR in .Renviron - #63

Merged
mmyrte merged 2 commits into
claude/gifted-lamport-41q8gv-04-missing-models-messagefrom
claude/gifted-lamport-41q8gv-05-dinamica-temp-dir-docs
Oct 10, 2026
Merged

mmyrte merged 2 commits into
claude/gifted-lamport-41q8gv-04-missing-models-messagefrom
claude/gifted-lamport-41q8gv-05-dinamica-temp-dir-docs

Conversation

@mmyrte

@mmyrte mmyrte commented Oct 5, 2026

Copy link
Copy Markdown
Member

Stack 5/6, on top of #62. Docs only.

What

For every Calculate R Expression, Dinamica starts Rscript and passes it a per-run temp directory through DINAMICA_EGO_8_TEMP_DIR. The file-based message queues it shares with that R process live in that directory. When ~/.Renviron sets the variable, R resets it at startup, so the R side cannot find the queues. Every R chunk then fails with "Failed to send message, session is closed", which happened while setting up the PIE benchmark.

The vignette's step 5 now has a warning callout, and Troubleshooting has an entry for that error message.

🤖 Generated with Claude Code

https://claude.ai/code/session_01D1LLswXe3jLjGTFrBsxgPf


Generated by Claude Code

…IR in .Renviron

Dinamica passes each R process it spawns a per-run temp dir through that
variable; an .Renviron override makes every Calculate R Expression fail with
'Failed to send message, session is closed'.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01D1LLswXe3jLjGTFrBsxgPf
@mmyrte
mmyrte added this pull request to stack #67 October 6, 2026 09:43
… into claude/gifted-lamport-41q8gv-05-dinamica-temp-dir-docs
@mmyrte
mmyrte merged commit a2f8d71 into develop Oct 10, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants