...
| Warning | ||
|---|---|---|
| ||
They are the R prompt to remind you which commands you are running the inside of Rto be run inside the R shell! |
Basic rules of R:
- Don't forget: it's
q()to quit. - For help, type
?command. Try?read.table. Theqkey gets you out of help, just like for amanpage. - The left arrow
<-(less-than-dash) is the same as an equals sign=. You can use them interchangeably. - The prompt we will sometimes be showing for R is
>. Don't type this for a command. It is like thelogin1$at the beginning of the bash prompt when you log in to Lonestar. It just means that you are in theRshell. - You can type the name of a variable to have its value displayed. Like this...
Code Block > x <- 10 + 5 + 6 > x [1] 21
...