rstudio / r2d3

R Interface to D3 Visualizations
https://rstudio.github.io/r2d3
Other
517 stars 102 forks source link

Debugging/data inspection tools #69

Open ABSOD opened 5 years ago

ABSOD commented 5 years ago

I am using r2d3 with the RStudio IDE (Version 1.2.1335). Is there any way to see the contents of data files and arrays created by an r2d3 script? Would like to have something equivalent to the R studio View capabilities, or something equivalent to the data inspection tools available with observablehq. TIA

hbaniecki commented 5 years ago

You can use javascript console.log(data) function (in the script) and then inspect it in the viewer console. Is it what you are looking for?

ABSOD commented 5 years ago

Thanks, This solution seems a little rudimentary. However, if it works, I should be sufficient. Thanks AB