callr
callr copied to clipboard
Call R from R
Is it possible to specify a device for print statements inside the evaluated function? For instance, so that we can print plots simply with `print(plot)`.
Is there an alternative to the `arch` argument of `callr::r` before `v3.6.0`? Specifically for `v3.3.2` where the intended goal is to wrap the `R` executable with `unshare`/`chroot`/`capsh`.
[Original thread on `{shinytest2}`](https://github.com/rstudio/shinytest2/issues/289) for context. Can there be an option to toggle timestamping of output from stderr (and also stdout) for a `processx` background r process via `r_bg`?
As a follow-up question to #261, I'd like to be able to use [`bubblewrap`](https://github.com/containers/bubblewrap) to isolate the different `callr` subprocesses coming from the same parent process. Currently it seems all...
In the documentation of [r_session](https://callr.r-lib.org/reference/r_session_options.html#value), the description `libpath` argument says >`libpath`: Library path for the subprocess. By default the same as the current library path. I.e. not necessarily the library...
I am running a daemon process in CentOS 7, using R 3.6.0 and callr 3.7.3. The daemon listens to requests and runs a background session via callr, but occasionally this...
``` r x method from #> format.callr_status_error #> print.callr_status_error ``` I imagine it has something to do with this https://github.com/r-lib/pak/blob/580b158493e11f459c0f38a0c3eff77afc018a64/R/subprocess.R#L255-L268 And then callr unconditionally reregisters them here https://github.com/r-lib/callr/blob/e3e0acffdd817bb1c0f7fc5054f93b1d65ed8a45/R/error.R#L148
Crated functions have dependencies explicitly stored in their environment. It would make sense to set `package = TRUE` by default for these functions.