Code
rs$run(function() stop("foobar"))
Condition
Error:
! in callr subprocess.
Caused by error:
! foobar
Code
rs$run(do)
Condition
Error:
! in callr subprocess.
Caused by error:
! oops
Code
local({
rs <- r_session$new(opts)
on.exit(rs$kill(), add = TRUE)
})
Condition
Error:
! callr subprocess failed: Failed to start R session
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.