Hi all,
I want to knit my RMarkdown script to an exportable HTML, PDF, or Word doc. I would like to have the option to do all 3.
My script runs just find in .Rmd files in the source view and preview view, including with output. However, when I try to Knit, I get the same error message for HTML, PDF and Word that my dataset "object is not found".
My Rmarkdown is saved in the same working directory as my data file of choice. My data file is present in my working environment (and again - is recognized when run without Rmarkdown and with the .Rmd file).
I tried using clearing cache and also using eval = FALSE with no success.
Here is the error
Error in eval(expr, envir, enclos) : object 'DataName' not found
Calls: <Anonymous> ... withVisible -> eval_with_user_handler -> eval ->
Execution halted