Skip to content

Commit

Permalink
Add info to record a Rserve session.
Browse files Browse the repository at this point in the history
  • Loading branch information
albertosantini committed Nov 14, 2014
1 parent 62e9afe commit 5372f2d
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions README.markdown
Expand Up @@ -130,6 +130,20 @@ options.
fileName: "node-rio-dump.bin"
}

It is useful to record a Rserve session to replay it in an environment whitout
Rserve. For instance,

```
> var rio=require("./index.js")
undefined
> rio.enableRecordMode(true, {fileName: "test/dump/integer-test.bin"});
undefined
> rio.evaluate("as.integer(3)")
undefined
> 3
(^C again to quit)
```

enablePlaybackMode(isPlaybackMode, options)
------------------

Expand Down

0 comments on commit 5372f2d

Please sign in to comment.