- Any programming language can solve any problem
- But some things are much more natural in some languages than others
- And some languages also have some amazing libraries to help!
What you want to do
What the easiest way of doing it is
What languages make that easy
- Approachable scripting language
- Interactive interpreter
- Dynamic typing, imperative, structured
- Great statistical and graphical libraries
- Powerful development environment in RStudio
- Making it easy to develop your own packages
- Interpreted languages are slow
- So new libraries are rarely written in R!
- Complex handwritten models are slow
- Graphics capabilities are fixed and complicated, though extensive...
- Lack of type checking means you’ll often struggle to know what went wrong
- Not all libraries are well written
- Formulae and factors
- Data frames, and ease of manipulating data
- Plotting data
- Massive database of user-supplied packages
- Easy(-ish!) to create your own packages
library(help="packagename")
DESCRIPTION
file, in particular the version you are usingcitation("packagename")
{R, comment=""}
citation("deSolve")
R is designed for:
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.