Thanks to visit codestin.com
Credit goes to github.com

Skip to content

starting R sessions #3

@sckott

Description

@sckott

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"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions