Open fmmattioni opened 3 years ago
Hey Colin!
I am starting to explore this great package 💪🏻🎉
I have setup the following route:
const express = require('express'); const { library, hordes_init } = require('hordes'); const stats = library('stats'); const router = express.Router(); router.get('/', async (req, res) => { await hordes_init(); try { const output = await stats.lm('Sepal.Length ~ Sepal.Width, data = iris'); res.json(output); } catch (error) { res.status(500).json(error); } }); module.exports = router;
And I am getting the following error:
{ "errno": -61, "code": "ECONNREFUSED", "syscall": "connect", "address": "127.0.0.1", "port": 6311 }
I suspect it might be an issue with RServe? I am not running it in the background, just initializing it with hordes_init().
hordes_init()
Thanks in advance!
Hey Colin!
I am starting to explore this great package 💪🏻🎉
I have setup the following route:
And I am getting the following error:
I suspect it might be an issue with RServe? I am not running it in the background, just initializing it with
hordes_init()
.Thanks in advance!