Oh my goodness. I am totally surprised when I learned how this problem that was making me feel drowned (exaggeration, of course) since yesterday has a simple solution. Actually I was trying to solve this problem by trying to convert .rmd files to .md and then to .pdf.(ie, knitting to pdf manually). I was getting erroneous outputs for some reasons still I lack to understand.
Then I selected to change my approach to the problem and make a naive search which looks for that lacking "Knit to pdf" menu option. And the first link I found after my web engine search worked like a charm.
I learned that all I needed to do was to indent pdf_document and similar html_document commands after output: declaration. And a magic happened, knit to pdf menu option appeared. Of course, I have had a tex distribution installed on my computer beforehand.
I am now happy that my beloved pdf documents are knitted as was expected.
No comments:
Post a Comment