Unable to start data viewer

Hello, i input a code chunk in my rmd which includes the 'View()' function. The code chunk is below:


I attempted to knit the rmd file and it failed, returning the error output below:

Error in .External2(C_dataviewer, x, title) : unable to start data viewer
Calls: ... withVisible -> eval_with_user_handlers -> eval -> eval -> View
Execution halted

Please help

You can't use view() with knitted documents because there is no data viewer panel in output documents. It is only meant to be used interactively within RStudio.

1 Like

Please is there a way around this? I am trying to offer a preview of the data in a tabular form on the html output file.

Data frame's knit as DataTables on HTML by default, but you can also render a DataTable explicitly to have better options control.


1 Like

This has proven very useful. Thanks @andresrcs

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.