你好,世界
使用简单的Hello World创建一个 node.js 项目,该项目使用deployr JavaScript 客户端库并在匿名项目上执行存储库管理的 R 脚本DeployR - Hello World.R ,该项目传入名为“input_randNum”的R numeric “10”。
安装
$git clone https://github.com/swells/hello-world.git
$ cd hello-world
$ npm install
在index.js设置适当的部署服务器端点
deployr.configure({ host: 'http;//localhost:7300' });
跑步
$node index.js
从头开始创建示例的步骤
Node.js
$ mkdir hello-world
$ cd hello-world
$ npm
评论0
最新资源