/    Sign up×
Community /Pin to ProfileBookmark

How to install js-call-r

Where do you run `npm install –save js-call-r` to install js-call-r to call R code from javascript? [https://github.com/codejie/js-call-r#js-call-r](https://)

to post a comment
JavaScript

3 Comments(s)

Copy linkTweet thisAlerts:
@annicamistryAug 08.2021 — @tinafmills#1635295

@tinafmills#1635295

You can run npm install --save js-call-r to install js-call-r to call R code from javascript. This is where you can see all of the packages that are available in the npm registry.

If you want to use the library for your project, you can run npm install js-call-r in your project's directory. Remember that if there are any dependencies, they will also need to be installed.

Learn [Javascript tutorial](https://www.learnvern.com/course/javascript-tutorials) and solve any kind of query/issue on javascript.
Copy linkTweet thisAlerts:
@tinafmillsauthorAug 08.2021 — @annicamistry#1635309

Where do you run npm install --save js-call-r? Is it in a javascript environment command prompt?
Copy linkTweet thisAlerts:
@tinafmillsauthorAug 08.2021 — @annicamistry#1635309

Do I need to run npm install --save js-call-r in a javascript environment command prompt or something? I downloaded the code from GitHub. It doesn't have an install package. I was able to install the rjson package in RStudio but couldn't get the example r file in the download to work.
×

Success!

Help @tinafmills spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.15,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...