Re: [R] Using processed objects as arguments of a function

2009-11-02 Thread David Winsemius
This would return a vector the names of objects whose names begin with "fund": ls()[grep("^fund", ls())] I'm such a grep-noob that I don't know off the top of my head what the pattern should be to restrict it to only those objects with digits in the next position. Perhaps: do.call( "rbin

Re: [R] Using processed objects as arguments of a function

2009-11-02 Thread Jim Lemon
On 11/02/2009 05:04 PM, Steven Kang wrote: Dear R users, I wish to utilise processed and saved objects as arguments of a function. Specifically, I have created objects using *"assign"*& *"paste"* functions with an incremental index i, the names of the objects are: fund1, fund2, fund3,...

[R] Using processed objects as arguments of a function

2009-11-01 Thread Steven Kang
Dear R users, I wish to utilise processed and saved objects as arguments of a function. Specifically, I have created objects using *"assign"* & *"paste"* functions with an incremental index i, the names of the objects are: fund1, fund2, fund3,., fund80,. (where the numerical value in