[R] dynamic object names?

2005-09-19 Thread samir
I am trying to extract data from a matrix. Let's say that i am interested in extracting rows from a 4x4 matrix. Instead of giving a fix name to these 4 rows I would like to add a number to prefix. As result I should get 4 objects named: prefix_1 prefix_2 prefix_3 prefix_4 I attepted to

Re: [R] dynamic object names?

2005-09-19 Thread Uwe Ligges
[EMAIL PROTECTED] wrote: I am trying to extract data from a matrix. Let's say that i am interested in extracting rows from a 4x4 matrix. Instead of giving a fix name to these 4 rows I would like to add a number to prefix. As result I should get 4 objects named: prefix_1 prefix_2

Re: [R] dynamic object names?

2005-09-19 Thread John Charles Considine
On Mon, 2005-09-19 at 11:38 +0200, Uwe Ligges wrote: [EMAIL PROTECTED] wrote: I am trying to extract data from a matrix. Let's say that i am interested in extracting rows from a 4x4 matrix. Instead of giving a fix name to these 4 rows I would like to add a number to prefix. As result I

Re: [R] dynamic object names?

2005-09-19 Thread vincent
see ?paste hih __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Re: [R] dynamic object names?

2005-09-19 Thread Uwe Ligges
John Charles Considine wrote: On Mon, 2005-09-19 at 11:38 +0200, Uwe Ligges wrote: [EMAIL PROTECTED] wrote: I am trying to extract data from a matrix. Let's say that i am interested in extracting rows from a 4x4 matrix. Instead of giving a fix name to these 4 rows I would like to add a