I am getting the below error, while running R script from nodejs:

        .data("hello world", 20)
        ^

TypeError: Cannot read property 'data' of undefined
    at Object.<anonymous> (C:\Users\srinig\RScripting\test1.js:5:9)
    at Module._compile (module.js:643:30)
    at Object.Module._extensions..js (module.js:654:10)
    at Module.load (module.js:556:32)
    at tryModuleLoad (module.js:499:12)
    at Function.Module._load (module.js:491:3)
    at Function.Module.runMain (module.js:684:10)
    at startup (bootstrap_node.js:187:16)
    at bootstrap_node.js:608:3

Can some one please help me in calling r script by using node js....

-- 
Job board: http://jobs.nodejs.org/
New group rules: 
https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nodejs/841e5a35-926e-41c0-b367-9a5507edd3e2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to