https://hackmd.io/@drmowinckels/2023-11-21-MPI
by writing in this document we can have a collaborative document throughout the course.
I have setup a "skeleton" based on the various sections of today to help us be organised.
Let's get a little aquianted!
Write in this list your name, your field of study, and your favourite ice-cream flavour.
Add notes from this section here
# Run in R
install.packages(c(
"remotes", # installing packages from GitHub
"rmarkdown", # rendering reports
"fs", # file system operations
"here", # navigating paths
"usethis", # for course materials
"tidyverse" # data-wrangling
))
Explore your R installation
install.packages("usethis")
library(usethis)
# saves project on desktop by default for most users
use_course("rstats-wtf/wtf-explore-libraries")
# use_course("rstats-wtf/wtf-explore-libraries", destdir = "my/new/location")
# can alternatively download from
# https://github.com/rstats-wtf/wtf-explore-libraries
Pretty code fonts: monospaced ligatures.
Mo uses Fira Code Retina
https://betterwebtype.com/5-free-monospaced-fonts-with-coding-ligatures/
Despite the long path support in Windows [since Win10 1607 from 2016] and efforts like this [changes to R outlined in the post], it will take “at least” very long before one could reliably rely on paths longer than 260 characters on Windows.
https://blog.r-project.org/2023/03/07/path-length-limit-on-windows/
IIUC the changes to R to support long paths on Windows were release with R 4.3.
The corresponding RStudio issue (if that's the IDE used in this case) is still open.
Other developers also suggest that this might also more likley occur on symlinked institutional paths, where the location seems to not be that long, but actually is a pointer to a path that
library(usethis)
# saves project on desktop by default for most users
use_course("rstats-wtf/wtf-fix-paths")
# use_course("rstats-wtf/wtf-fix-paths", destdir = "my/new/location")
# can alternatively download from
# https://github.com/rstats-wtf/wtf-fix-paths
Add notes from this section here
Add notes from this section here
Create a report that adheres to project organization strategies.
library(usethis)
# saves project on desktop by default for most users
use_course("rstats-wtf/wtf-packages-report")
# use_course("rstats-wtf/wtf-packages-report", destdir = "my/new/location")
# can alternatively download from
# https://github.com/rstats-wtf/wtf-packages-report
Add notes from this section here
Explore the changes {renv} makes to a project.
library(usethis)
# saves project on desktop by default for most users
use_course("capro-uio/wtf-explore-renv")
# use_course("capro-uio/wtf-explore-renv", destdir = "my/new/location")
# can alternatively download from
# https://github.com/capro-uio/wtf-explore-renv
or
or
By clicking below, you agree to our terms of service.
New to HackMD? Sign up
Syntax | Example | Reference | |
---|---|---|---|
# Header | Header | 基本排版 | |
- Unordered List |
|
||
1. Ordered List |
|
||
- [ ] Todo List |
|
||
> Blockquote | Blockquote |
||
**Bold font** | Bold font | ||
*Italics font* | Italics font | ||
~~Strikethrough~~ | |||
19^th^ | 19th | ||
H~2~O | H2O | ||
++Inserted text++ | Inserted text | ||
==Marked text== | Marked text | ||
[link text](https:// "title") | Link | ||
 | Image | ||
`Code` | Code |
在筆記中貼入程式碼 | |
```javascript var i = 0; ``` |
|
||
:smile: | ![]() |
Emoji list | |
{%youtube youtube_id %} | Externals | ||
$L^aT_eX$ | LaTeX | ||
:::info This is a alert area. ::: |
This is a alert area. |
On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?
Please give us some advice and help us improve HackMD.
Syncing