How do I get to the next line in the R command prompt without executing?

前端 未结 3 1326
再見小時候
再見小時候 2021-01-14 18:43

The question is so simple I can\'t seem to find an answer.

相关标签:
3条回答
  • 2021-01-14 19:18

    Use'SHIFT-ENTER' to get to a new line in R without executing the command.

    0 讨论(0)
  • 2021-01-14 19:23

    Note for mac users: On mac is Ctrl + Enter

    0 讨论(0)
  • x <- c(1,2,3.5,4,5,6,7,8,9,10,11,12,13,14,15,
    + 16,17,18,19,20)
    

    I did not write the “+” at the outset of the second line. If you hit the return key after the last comma on the first line, the plus sign will be produced by R as a new prompt and you can go on typing in the rest of the numbers.

    0 讨论(0)
提交回复
热议问题