Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

starting R sessions #3

Open
sckott opened this issue Jun 8, 2018 · 0 comments
Open

starting R sessions #3

sckott opened this issue Jun 8, 2018 · 0 comments

Comments

@sckott
Copy link
Owner

sckott commented Jun 8, 2018

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"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant