I am really new to R and I am currently having issues with exporting my .Rmd file to pdf. When my output is set to html_notebook, it works perfectly. Unfortunately, as soon as I change it to pdf_document, I get this message of error:
processing file: FL_SNPs211.Rmd
Quitting from lines 8-20 (FL_SNPs211.Rmd)
Error in eval(expr, envir, enclos) :
objet 'FetalFrac_155bp_SCIP211_consensus_modified' introuvable
Calls: ... handle -> withCallingHandlers -> withVisible -> eval -> eval
The 4th line is saying that the file 'FetalFrac_155bp_SCIP211_consensus_modified' can't be found. However, this is a dataset I have imported, and works perfectly fine when I run it or when the output is html_notebook. So how come it is not working when my output is pdf?
Any ideas on how to change this?
Also, is it possible to get rid of the "code" button when the output is html_notebook?
Thanks in advance.