Re: [R] Macros in R

2007-02-27 Thread Greg Snow
] On Behalf Of Monika Kerekes Sent: Sunday, February 25, 2007 9:03 AM To: r-help@stat.math.ethz.ch Subject: [R] Macros in R Dear members, I have started to work with R recently and there is one thing which I could not solve so far. I don't know how to define macros in R

Re: [R] Macros in R

2007-02-27 Thread Gabor Grothendieck
Healthcare [EMAIL PROTECTED] (801) 408-8111 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Monika Kerekes Sent: Sunday, February 25, 2007 9:03 AM To: r-help@stat.math.ethz.ch Subject: [R] Macros in R Dear members, I have started

Re: [R] Macros in R

2007-02-27 Thread Greg Snow
To: Greg Snow Cc: Monika Kerekes; r-help@stat.math.ethz.ch Subject: Re: [R] Macros in R The FAQ does mention your point already. On 2/27/07, Greg Snow [EMAIL PROTECTED] wrote: Others have pointed you to the answer to your question, but both FAQ 7.21 and the assign help page should

Re: [R] Macros in R

2007-02-26 Thread Don MacQueen
only one row? -Don At 5:02 PM +0100 2/25/07, Monika Kerekes wrote: Dear members, I have started to work with R recently and there is one thing which I could not solve so far. I don't know how to define macros in R. The problem at hand is the following: I want R to go through a list of 1:54

Re: [R] Macros in R

2007-02-25 Thread Gabor Grothendieck
macros in R. The problem at hand is the following: I want R to go through a list of 1:54 and create the matrices input1, input2, input3 up to input54. I have tried the following: for ( i in 1:54) { input[i] = matrix(nrow = 1, ncol = 107) input[i][1,]=datset$variable } However