Download presentation
Presentation is loading. Please wait.
1
Packages Maria Novosolov
2
Packages A group of functions Two ways to install packages:
Through the CRAN RStudio Download a .zip file and install it
3
Packages Installing ≠ Loading Two ways to load packages:
By clicking in the packages window By writing library(package.name) in the script (or in the console)
4
Seeking for help Use the help() function Use ? + function name
Use F2 on a function in the script Search the internet Ask a friend that knows R
5
Anatomy of a Help Item in R
The package that it came from What it’s called What it does
6
Explains the options of the function
How to use the command in details – the syntax Gives explanation about certain values in the command
7
A reference for who made the command
Related commands Some examples of how to use the command
8
How a package file looks
Example: ‘Lattice’ package for graphics
9
Example: ‘caper’ package for phylogenetic analysis
vignettes Example: ‘caper’ package for phylogenetic analysis
10
Use google!
11
Useful websites R-blogger Stack Overflow Different R google groups
Similar presentations
© 2024 SlidePlayer.com Inc.
All rights reserved.