Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Warning
titleBe very careful how you copy and paste from the example below.

Do not copy the > characters. Some commands are spread across multiple lines. The > are missing at the beginning of the lines after the first one in these cases. So this:

Code Block
> y <- c(
    1:10
  )
> y

Is the same as:

Code Block
> y <- c(1:10)
> y

It's ok to copy across the multiple lines and past paste into R as long as you get all the way to the closing parenthesis.

...