Re: [R] Extending a vector

2004-04-03 Thread Patrick Burns
There is a problem with this scheme that has nothing to do with syntax. Extending objects dynamically like this is probably the surest way to run out of memory. If you know the final length an object will be, then it is best to create the object at its full length and then subscript into it with

Re: [R] Extending a vector

2004-04-02 Thread Mark O. Kimball
On Friday 02 April 2004 04:52 pm, you wrote: >> I believe this should be an easy thing to do... >> >> I have a function I repeatably call which takes input parameters and >> outputs columns to various data frames. I also wish to keep a summary >> of >> certain values as I call the function. I thou

Re: [R] Extending a vector

2004-04-02 Thread Robert W. Baer, Ph.D.
>Marko, >Looks fine to me. Why do you think the syntax is incorrect? Works for me in >1.8 on Windows. > I have a function I repeatably call which takes input parameters and > outputs columns to various data frames. Looks fine to me although it is not completely clear that your request for column

RE: [R] Extending a vector

2004-04-02 Thread Stephen C. Upton
] On Behalf Of Mark O. Kimball Sent: Friday, April 02, 2004 4:27 PM To: [EMAIL PROTECTED] Subject: [R] Extending a vector I believe this should be an easy thing to do... I have a function I repeatably call which takes input parameters and outputs columns to various data frames. I also wish to ke

[R] Extending a vector

2004-04-02 Thread Mark O. Kimball
I believe this should be an easy thing to do... I have a function I repeatably call which takes input parameters and outputs columns to various data frames. I also wish to keep a summary of certain values as I call the function. I though keeping the values in a vector then appending the vector by