mutant icon indicating copy to clipboard operation
mutant copied to clipboard

starting R sessions

Open sckott opened this issue 7 years ago • 0 comments

https://github.com/r-lib/callr/ tests for examples https://github.com/r-lib/callr/blob/feature/session-improvements/tests/testthat/test-r-session.R

library(callr)
# start session
rs <- r_session$new()
# poll - for session to be ready to accept commands
rs$poll_io(-1)
#>   output    error  process
#> "nopipe" "nopipe"  "ready"

sckott avatar Jun 08 '18 18:06 sckott