8000 Error with `hordes_init()` · Issue #13 · ColinFay/hordes · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Oct 12, 2023. It is now read-only.
This repository was archived by the owner on Oct 12, 2023. It is now read-only.
Error with hordes_init() #13
Open
Open
@emmansh

Description

@emmansh

I successfully installed hordes module from npm, but having an error at a very fundamental stage.

// in nodeJS
const { library, hordes_init } = require('hordes');
hordes_init();

Also, just to be on the safe side, I also installed Rserve package from CRAN on R such that:

install.packages("Rserve")

Then closed R and ran the js script from above. I get the following error in console:

node:events:368
throw er; // Unhandled 'error' event
^

Error: spawn R ENOENT
at Process.ChildProcess._handle.onexit (node:internal/child_process:282:19)
at onErrorNT (node:internal/child_process:477:16)
at processTicksAndRejections (node:internal/process/task_queues:83:21)
Emitted 'error' event on ChildProcess instance at:
at Process.ChildProcess._handle.onexit (node:internal/child_process:288:12)
at onErrorNT (node:internal/child_process:477:16)
at processTicksAndRejections (node:internal/process/task_queues:83:21) {
errno: -4058,
code: 'ENOENT',
syscall: 'spawn R',
path: 'R',
spawnargs: [ 'CMD', 'Rserve', '--vanilla', '--RS-port', 6311 ]
}

Any idea why?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0