You will only need to learn a little of the TeX formatting language to get started. Latex is the engine that helps with advanced typography, in cases like formulas or tables, or when converting documents into PDFs. If you did install either TinyTeX, MacTeX or MikTeX (or something similar) you can skip this step. If you did not install a suite of software called TeX in PO元45, you’ll need to do that, too. If prompted with ‘Do you want to install from sources the package which needs compilation?’ type n and hit return.Copy and paste the following command to your R Console: source("").To get set up with R + R Markdown + knitr + Latex, please do the following before precept: Install software and packages This not only saves time and makes life easier by reducing the number of files that need to be managed, it also helps with creating better research such as when you write JPs or Senior Theses (we’ll discuss this more in class). The basic advantage of R + R Markdown + knitr + Latex is that you can easily braid together your prose, R code, formulas and R output (e.g., plots and tables) in a single document. Installing and configuring all of this will impose a modest learning curve at the start but will make life much easier down the road. Certain kinds of advanced typography, like formulas, rely on yet another language called Latex. The two languages are glued together with another language called knitr. For PO元46, we require students shift away from word processors like Microsoft Word and use a workflow that involves R and a formatting language called R Markdown (as is done in PO元45).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |