R Studio and Sweave


Phineas Packard
Question1. So one of the main advantages of Rstudio is the option to create a sweave document and compile a PDF right there. Excellent!!! Problem is........how does one run the LaTeX file once without compiling the PDF so you can update all your internal references to the figures and tables sweave produces. At the moment the sweave in Rstudio works better than in any other program I have tried but all the internal references are replaced by "?".

Question 2. For large R scripts that take a long time to run, what is the best way to run that once and then pull elements out of that script into sweave without having to rerun your Rscript every time you want to compile or notice you spelt something wrong.