JP1
JP1

Reputation: 751

Using R as a local server host

perhaps a bit of a basic question, im not sure. due to the complexity of my data (and the fact Im better with R than js), I have decided to use R as a "pre-processing" tool to generate a JSON file which can be used in d3.js for some viz work.

I wondered if anyone knows of a way I can use R as a local server to take the data and html file live. The other option would be to hard code in the data, but then its less of a tool and more of a one time visualisation.

Thanks in advance!

Upvotes: 1

Views: 231

Answers (1)

Konrad Rudolph
Konrad Rudolph

Reputation: 545578

servr seems to fulfil your task exactly. It’s more general-purpose than Shiny.

Upvotes: 3

Related Questions