Skip to content
Prev 394955 / 398502 Next

Problems with installing R packages from source and running C++ in R, even on fresh R installation

? Fri, 01 Sep 2023 09:05:45 +0000
Christophe Bousquet <chr_bousquet at protonmail.com> ?????:
I'll be honest with you: I still don't understand what's going on.

Thank you for confirming that your filter works (seeing Rcmd.exe
launched when you run tools::Rcmd() from Rterm.exe is the expected
behaviour), but I don't know enough about Windows internals to come up
with an explanation for the observed behaviour.

If you're up to compiling R from source [*] and using a symbolic
debugger [**] to step through Rcmd.exe, we could try to do that.
Murphy's law says that the copy of Rcmd.exe you'll build from source
will work well and refuse to reproduce the problem for you to
investigate. (Beyond that, there is binary-level debugging, which I'm
not well versed in.)
Message-ID: <20230901175315.1cbe946c@arachnoid>
In-Reply-To: <dxfxwn_FE-HscCQ-CqNuFqz3vwIwNrWkgEE4vSO_Mvz2QogNLPWQ5pttRuAUzPTd1co8koGWeUVz-sSKWraAUyEPQtk5qSy4S6kAJspfn6c=@protonmail.com>