1+1
[1] 2
Adding
Subtracting
Multiplication
Division
Exponentiation
Base-2 logarithm
Base-10 logarithm
Character
Numeric
Vector
[1] "1" "2" "3" "4" "5" "hello" "world" "7" "1"
[1] "character"
List
[[1]]
[1] 1
[[2]]
[1] 2
[[3]]
[1] 3
[[4]]
[1] 4
[[5]]
[1] 5
[[6]]
[1] "hello"
[[7]]
[1] "world"
[[8]]
[1] 7
[[9]]
[1] 1
[1] "list"
Vector of numeric
Summing a vector
Mean of vector
The term path
refers to the trajectory you need to follow from the place you are βlocatedβ on your computer to the place you want to work from. When working with Quarto your working directory (wd)
is always the same locations as your Quarto document (is not true for .R scripts!). The wd becomes important when we start loading data in from other places (presentation 2).
See current working directory.
Change working directory.
Read excel file from path relative to working directory.
Read excel file from absolute path.