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 / RStudio> ( 列を表示する > View(x) ) / (列10から列15までを表示する > View(x[c(seq(10,15))]) )

Last updated at Posted at 2016-09-19
動作環境
RStudio 0.99.903 on Windows 7 pro
R version 3.3.1
column2.txt
1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16
1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16
1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16
1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16

RStudioではView()というのを使えば列の表示をできるようだ。

> x<-read.table("column2.txt", sep=",")
> View(x)

qiita.png

そして、この表示は100列(V100)までのようだ。

100列を超えるデータの場合は、c()とseq()を組合わせて表示することになる。

> View(x[c(seq(10,15)])

qiita.png

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?