Skip to content

Recommendations for AGENTS.md aimed at Windows users #2259

Description

@christopherkenny

Hi, I've been playing with your AGENTS.md a bit and had two suggestions, based on using this on Windows.

  1. "Otherwise, use Rscript -e "code"." is frequently bad advice for Windows. It will very often segfault if code is more than two lines. Instead, the following seems to work well:

On Windows, do not use Rscript -e '...' for multiline or complex R code because it may segfault. Instead, write a temporary .R file and run Rscript path/to/file.R.

  1. Rtools no longer needs to be updated at the same frequency, so there is no Rtools 4.6. Often, if there's a compiler failure of any kind, Codex and Claude both point to mismatched toolchains. Adding the following seems to suppress that search:

R 4.6.1 and Rtools 4.5 are correctly paired; there is no Rtools 4.6.

Both of these are oriented around fixing expensive (token-wise) side quests.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions