0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

R > 行連結文字 + > 数式の途中でEnterすると勝手に行連結文字が追加される?

Last updated at Posted at 2016-09-11
実行環境
RStudio @ rollapp
R version 3.3.0

参考 Rで学ぶデータ・プログラミング入門 by 石田基広さん

行連結文字として+を使う、という記載を見つけた。

> x <- 7 - 1 - 1 -
+ 1
> x
[1] 4

+1の+は行連結文字。算術の+ではない。

上記の入力としては
x <- 7 - 1 - 1 -を入力してEnterを押すとRStudioの方で自動的に行連結文字(+)が追加された。
その後に1を入力した。

関連 行連結 > C, C++ / bash / Fortran(固定形式) / Fortran(自由形式)

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?