Skip to content
Browse files
add some tips about rstudio
  • Loading branch information
James Brusey committed Oct 7, 2022
1 parent e8fb650 commit 768de525b9163b936079008b50a1cfa4ffcf1ad3
Showing 2 changed files with 49 additions and 0 deletions.
@@ -10,6 +10,7 @@ For this reason, the recommendations here may differ somewhat from recommendatio
** Also see
| [[][Meetings]] |
| [[][Planning]] |
| [[][RStudio tips]] |

* About novelty
Doing a master's project is similar to doing a PhD but whereas a PhD dissertation is required to be novel, a master's dissertation is definitely not required to involve a novel element.
@@ -0,0 +1,48 @@
#+title: Tips for using RStudio to produce your dissertation

If you are using RStudio, here are some tips that might help make your report look great.

* Number sections
By default, RStudio / pandoc does not number section headings.
To fix this, in the YAML header, use something like:
number_sections: true
This should automatically number your sections.

* Selecting the LaTeX class
I personally prefer the KOMA report class over the LaTeX default.
documentclass: scrreprt

* Citations
The first thing to know is that to cite a paper with RMarkdown, you need to use the =@= [[][citation syntax]].
The thing after =@= is the citation key.
Note that you either put the citation in square brackets (for parenthetical citations) or put it without brackets when you want to refer directly to something that the authors did.
For example, if we have a paper with key =Krizhevsky2012=, we might refer to it as, "The ImageNet classification problem has been examined using DCNNs =[@Krizhevsky2012]=".
In this case, we use square brackets so that the citation is formatted with parentheses.
Alternatively, we can put the authors as actors by saying, "=@Krizhevsky2012= applied DCNNs to ImageNet".

There's great information on using Zotero with RStudio [[][online]].
You will probably need to install the Better BibTex add-in for Zotero.
I also recommend the Chrome extension for capturing papers to your Zotero library.

Don't forget to use Better BibTex to export your bibliography to a =bib= file and refer to it in your document
bibliography: "zotero-export.bib"

0 comments on commit 768de52

Please sign in to comment.