Skip to content

Commit

Permalink
2024 update
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-thomson222 committed Oct 25, 2024
1 parent 1252acd commit 31c4418
Show file tree
Hide file tree
Showing 8 changed files with 159 additions and 143 deletions.
4 changes: 2 additions & 2 deletions Index.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ There are two other formats of script file it is also worth being aware of:

The .R (R Script) format, which is a older and contains only commands - the output is not shown in line for the .R file, instead it goes to the console. containing the solutions you can see two distinct types of content on the page.

The .QMD (Quarto) format, which is very similar to the .RMD format on the surface but is much newer. The main difference is that this format has better cross-language compatibility, if for example you start wanting to use Python and R in the same analysis, or more generally just use the same setup for coding in Python as you use for coding in R. Longer term this format may start to get more usage - but as of 2022 it is still new and not widely adopted, so we would recommend using the .RMD format as it is likely you will find it easier to get support for this in case of problems and in this course at least, we are only focused on running R code.
The .QMD (Quarto) format, which is very similar to the .RMD format on the surface but is much newer. The main difference is that this format has better cross-language compatibility, if for example you start wanting to use Python and R in the same analysis, or more generally just use the same setup for coding in Python as you use for coding in R. Longer term this format may start to get more usage - but as of 2024 it is still not widely adopted, so we would recommend using the .RMD format as it is likely you will find it easier to get support for this in case of problems and in this course at least, we are only focused on running R code.

## Installing Packages

Expand Down Expand Up @@ -212,7 +212,7 @@ Once you have finished it is usually a good idea to save your script file - in a

## Working with projects

Once you have saved any changes let's now move to a completely different task - thinking now about the solutions to Module 2. You can download a zip file containing the solutions for Module 2 in RMD format, and the data file used, in CSV format [here](https://github.com/stats4sd/RCourse_2023_download_files/raw/dev/Module-2-Solutions.zip)
Once you have saved any changes let's now move to a completely different task - thinking now about the solutions to Module 2. You can download a zip file containing the solutions for Module 2 in RMD format, and the data files used, in CSV format [here](https://github.com/stats4sd/RCourse_2023_download_files/raw/dev/Module-2-Solutions.zip)

First of all - we should start by extracting the contents of that zip file into a sensible folder somewhere on your computer.

Expand Down
4 changes: 2 additions & 2 deletions Index.html

Large diffs are not rendered by default.

104 changes: 0 additions & 104 deletions Module 2 Solutions.Rmd

This file was deleted.

Binary file added Module 2 Solutions.zip
Binary file not shown.
Binary file removed Module-2-Solutions.docx
Binary file not shown.
Binary file removed Module-2-Solutions.zip
Binary file not shown.
9 changes: 2 additions & 7 deletions renv.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1197,13 +1197,8 @@
},
"renv": {
"Package": "renv",
"Version": "1.0.3",
"Source": "Repository",
"Repository": "CRAN",
"Requirements": [
"utils"
],
"Hash": "41b847654f567341725473431dd0d5ab"
"Version": "1.0.11",
"Source": "Repository"
},
"reprex": {
"Package": "reprex",
Expand Down
Loading

0 comments on commit 31c4418

Please sign in to comment.