TalkingQuickly's Today I Learned

Really Basic R Concepts

For assignment should always use <- rather than =

Can use class(VAR) to get the type of an object

R functions allow both positional and name based matching. So class(5) and class(x=5) are both valid invocations, class(y=5) is not because class does not have an argument named y. Default arguments for functions are supported.

Use ?method for docs, e.g. ?class. Running this in RStdudio triggers a wonderful bit of magic where docs are displayed in the output panel rather than the console.

Great overview: