I have created a table using plot_ly()
and then converted it into.JSON and saved locally.
Now, I want to open the saved file in R to inspect the created tables, but i struggle how to open such a file?
This is how i have exported the files.
tab <- plot_ly(
# creates table
))
then i wrote it as .JSON:
tab <- plotly_json(tab, FALSE)
tabName <- paste0("summary.json" )
write(tab, paste0(directory, "/", tabName))
How can i import this file back to R?