I have some trouble generating the reprex of a process that ends up killing the R process. It makes Rstudio crash and hang up the bare R session (with core dumps).
reprex::reprex({
# install.packages("BiocManager")
# BiocManager::install(c("affy", "affydata"))
library("affy")
library("affydata")
data(Dilution)
Dilution
eset <- rma(Dilution)
Dilution0 <- Dilution[-c(1:4), ]
eset <- rma(Dilution0)
})
The error I see is
Rendering reprex...
Error: <callr_status_error in get_result(output = out, options):
callr subprocess failed: could not start R, exited with non-zero status, has crashed or was killed>
See `.Last.error.trace` for a stack trace.
.Last.error.trace:
Stack trace:
1. reprex::reprex({ ...
2. reprex:::reprex_render(r_file, std_file)
3. callr::r_safe(function(input) { ...
4. callr:::get_result(output = out, options)
5. throw(new_callr_error(output, killmsg))
x callr subprocess failed: could not start R, exited with non-zero status, has crashed or was killed
Warning message:
partial match of 'topenv' to 'topenvs'
I don't know if this could be handled different on the reprex side or on the callr side. I originally wrote the issue on callr r-lib/callr#143 but it seems it belongs here. There are some possible workarounds apparently.
I expected to get at least the same message that I see on the R session without RStudio.
I have some trouble generating the reprex of a process that ends up killing the R process. It makes Rstudio crash and hang up the bare R session (with core dumps).
The error I see is
.Last.error.trace:
I don't know if this could be handled different on the reprex side or on the callr side. I originally wrote the issue on callr r-lib/callr#143 but it seems it belongs here. There are some possible workarounds apparently.
I expected to get at least the same message that I see on the R session without RStudio.