Re: [R] How to save my result with Loops

2012-06-17 Thread Bert Gunter
On Sun, Jun 17, 2012 at 6:30 AM, Cassie wrote: > Hi everyone, i'm not very good with R, and i know that my question is quite > simple. > So make an effort to educate yourself instead of badgering this list. Please read "An Intro to R" -- which ships with R (help.start() or Help Menu --> Manuals

Re: [R] How to save my result with Loops

2012-06-17 Thread John Kane
rom: letamo...@hotmail.com > Sent: Sun, 17 Jun 2012 06:30:13 -0700 (PDT) > To: r-help@r-project.org > Subject: [R] How to save my result with Loops > > Hi everyone, i'm not very good with R, and i know that my question is > quite > simple. > I generated this vector for a

Re: [R] How to save my result with Loops

2012-06-17 Thread R. Michael Weylandt
Short answer: don't. R is built around vectors and lists. Trying to put individual variates in their own "scalar" variables is almost always a bad idea. Long answer: you can do it with assign() but I won't tell you how in light of my short answer. Michael On Sun, Jun 17, 2012 at 8:30 AM, Cassie

[R] How to save my result with Loops

2012-06-17 Thread Cassie
Hi everyone, i'm not very good with R, and i know that my question is quite simple. I generated this vector for a sample of 100 and i want to know how to save these as ez1, ez1, ez3...ez100. I guess i have to do it by "for", but i didn't succeed.. i put here my output ezt [1] -0.05470228 -1.76