Using my own R functions in webR in an Express JS API, and thoughts on building web apps with Node & webR
Read OriginalThis technical article details a method for using custom R functions within a Node.js and Express API via webR. It compares approaches like inline evaluation and sourcing scripts, ultimately advocating for bundling R logic into a proper, testable R package. The author outlines a project structure to leverage Node.js for web tasks and R for data-crunching, demonstrating setup and a sample function.
Comments
No comments yet
Be the first to share your thoughts!
Browser Extension
Get instant access to AllDevBlogs from your browser
Top of the Week
No top articles yet