This came up yet again in my workshop-- the View()
function is great to launch a preview of your data in a spreadsheet-like format. But, it's the only function I know of that works in the Console but totally borks your knitted document. Even ?
and help()
can be put in a chunk, and your document will still knit. The error message is hard to interpret, because new users probably don't know what X11 is.
This should be fixed, but I don't know where to submit an issue
- base R, because
View()
is fromutils
(i.e., say it should provide better error catching or error message?) -
knitr
(special conditional behavior in the knitting just for View, either just make a tibble and display, or pass along a better error message, like "remove View from your chunk") - RStudio IDE (don't know what this would be)
Ideas?