Hi
I recently upgraded my (Windows) version of RStudio and R, and installed miktex and pandoc for html/pdf file conversion as I understood this was the right thing to do. My standard r scripts still work fine, but now markdown will only generate Word output. Knitting to html generates a blank window or a 404 error, while knitting to pdf generates the following error:
‘!Latex error: missing \begin {document} error: failed to compile...execution halted’
I'm new to working with R Markdown and I probably misunderstood the relationship between markdown, pandoc and latex. Perhaps I didn't need latex in the first place. I don't want to code in latex (if I'm right in saying that's a different markup language), I just want to write markdown in the .Rmd file and generate html and pdf output.
My IT department have not been able to help, but they are not really familiar with R themselves.
I understand RStudio comes with R markdown and Pandoc built in - is this then everything I need for the workflow I have outlined or are there other system requirements?
I'd be very grateful if anyone could point me in the right direction?
Thanks
Oli