cscheid / rserve-js

Javascript implementation of the Rserve protocol
MIT License
47 stars 32 forks source link

Error running Quick Tour #28

Open longouyang opened 9 years ago

longouyang commented 9 years ago

I tried following the Quick Tour directions. Everything worked up until the r.eval line:

> r.eval('rnorm(10)', function(err,a) { if (err === null) { console.log(a) } else {console.log(err) }})
undefined
> [ 'ERROR FROM R SERVER: ERR_inv_cmd 65538 67 16 [object ArrayBuffer]',
  67 ]
[ 'ERROR FROM R SERVER: ERR_inv_cmd 65538 67 16 [object ArrayBuffer]',
  67 ]

I'm on node 4.2, OS X 10.10, and R 3.1.3