I am a new user of Rmarkdown and the Rstudio IDE on a Mac. I hope the following questions do not seem inane. I have an R file that takes 15 minutes or so to run (reading in lots of data), etc.
-
Is it possible to obtain multiple outputs from the same R run? I would like to get an html_document, a pdf_document, and a beamer presentation without having to run three times 15 minutes for my R program.
-
If I get an R error during execution, how do I get to the (global) R session in which the R program was running, so that I can inspect variables, make changes, etc.?
-
How does the Macos Rstudio determine whether TeX is installed or not? I got an error that it failed to find the TeX installation, but I have /Applications/TeX.app and the respective command line utilities all installed.
-
Instead of a pdf_document, can I ask Rstudio to create the (pdfla-)tex document, so that I can make a few more hand changes before I compile it?
Advice appreciated.
Sincerely, /iaw4