1

I m developing a web application using D3.js now and it requires some statistical techniques. I know there are excellent R packages out that has implemented the techniques I need nicely. My question is, how can I use the R Package inside my JavaScript code? I mean to call the R functions directly from my JavaScript code.

Thanks in advance.

3
  • Have you checked this library? jstat.org. Maybe that helps. Commented Jul 24, 2013 at 0:16
  • I did, but I need to do projection pursuit and jstat doesn't have it. The best package I found that has PP implemented is an R package, not even matlab. Commented Jul 24, 2013 at 0:20
  • It seems you are using D3.js on the server side, or else how can you make the JavaScript code call R from browser? If the former is really what you target, then refer to this SO question for using R as your analysis engine. Commented Jul 24, 2013 at 21:16

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.