> for (i in 1:5 ) {
+ eval( parse( text = paste( "x",i,"<-matrix(1:6,nrow=2,ncol=3,byrow=T)", sep="" ) ) )
+ }
>
> x1
[,1] [,2] [,3]
[1,] 1 2 3
[2,] 4 5 6
> x5
[,1] [,2] [,3]
[1,] 1 2 3
[2,] 4 5 6
http://d.hatena.ne.jp/koiti_yano/20070930/p2
0 件のコメント:
コメントを投稿