Can't convert Rmd to html or something else by Knit on Rstudio Cloud


I'm having trouble with converting R markdown(.Rmd file) to HTML, pdf, or doc.

When I try it, I get an error message below.

Quitting from lines 18-25 (target.Rmd) 
Error in .External2(C_dataviewer, x, title) : unable to start data viewer
Calls: <Anonymous> ... withCallingHandlers -> withVisible -> eval -> eval -> View
Execution halted

How can I solve the problem?


To help us help you, could you please prepare a reproducible example (reprex) illustrating your issue? Please have a look at this guide, to see how to create one:



Thank you in advance.

Fortunately, I solved the problem.

The problem was "View(object)" function in code.

When I tried to knit, because knitr can't view data in another tab but only can show the results at its page, it output error message.

By deleting the View() code in .Rmd file, it normally works.


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.