Problem generating HTML with R Markdown

When I Knit to HTML, an error in R Markdown appears:

Error in summary(S22): object 'S22' not found Calls: <Anonymous> ... 
withCallingHandlers -> withVisible -> eval -> eval -> summary

If any solution, please let me know!

Thank you!

Hi, welcome!

We don't really have enough info to help you out. Could you ask this with a minimal REPRoducible EXample (reprex)? A reprex makes it much easier for others to understand your issue and figure out how to help.

If you've never heard of a reprex before, you might want to start by reading this FAQ:

This is often a hint that your Rmd file does not contains the definition of all the variable.
When you Knit to HTML, the rendering will happen in a new process and so your document must not depend on any other variable define ouside of the document.

Having a reproducible example as said above would be the next step to help.

Hope it helps.

This topic was automatically closed 21 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.