В Fri, 01 Sep 2023 09:05:45 +0000 Christophe Bousquet <chr_bousq...@protonmail.com> пишет:
> In the first situation, I run the command tools::Rcmd('SHLIB --help') > from within R (launched by clicking on the R icon). I get: > Process Name: Rcmd.exe > PID: 8204 > Path: C:\WINDOWS\System32\Conhost.exe > Result: SUCCESS > Detail: PID: 4028, Command line: \??\C:\WINDOWS\system32\conhost.exe > 0xffffffff -ForceV1 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.) -- Best regards, Ivan [*] https://cran.r-project.org/bin/windows/base/howto-R-devel.html [**] https://beej.us/guide/bggdb/ ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.