r2d3 icon indicating copy to clipboard operation
r2d3 copied to clipboard

Debugging/data inspection tools

Open ABSOD opened this issue 6 years ago • 2 comments

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

ABSOD avatar Jun 26 '19 17:06 ABSOD

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?

hbaniecki avatar Jul 17 '19 09:07 hbaniecki

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

ABSOD avatar Jul 18 '19 22:07 ABSOD