Re: [Rd] Sys.which() caching path to `which`

2024-01-10 Thread Harmen Stoppels
For context: I don't think Nix and Guix have to relocate anything, cause I think they require absolute paths like /nix/store where all binaries go. Spack on the other hand can install packages w/o sudo to a location of choice, e.g. ~/spack/opt/spack. That's why we have to patch binaries. Howeve

Re: [Rd] New syntax for positional-only function parameters?

2024-01-10 Thread mikkmart via R-devel
Thanks Aidan and Ivan, > Could you give a little more detail on this [...]? [...] Typically, the > default scoping rules are sufficient to resolve these [...]. I agree these conflicts can be solved when spotted. And certainly more easily so if there were a dedicated currying syntax in base R as I

Re: [Rd] Sys.which() caching path to `which`

2024-01-10 Thread Simon Urbanek
Harmen, thanks for the additional details, it wasn't exactly clear what this is about. Ivan's post didn't mention that the issue here is the caching, not the path replacement which you are apparently already doing, now it makes more sense. I still think it is dangerous as you have no way of kno

Re: [Rd] Sys.which() caching path to `which`

2024-01-10 Thread Simon Urbanek
Ivan, I suspect that the `which' case is just the tip of the iceberg - generally, R expects all tools it detects at configure time to be callable, just to list a few from a running session: PAGER /usr/bin/less R_BROWSER /usr/bin/open R_BZIPCMD /usr/

Re: [Rd] using Paraview "in-situ" with R?

2024-01-10 Thread George Ostrouchov
At ORNL, we worked with VisIt (a sibling of Paraview, both funded largely by DOE) around 2016 and made an in situ demo with R. We used packages pbdMPI (on CRAN) and pbdDMAT (on GitHub/RbigData), which were in part built for this purpose. Later also the package hola (on GitHub/RbigData) was built