Displaying 3 results from an estimated 3 matches for "ftn10".
Did you mean:
fn10
2004 Nov 28
1
creating a sequence of object names
Hello R-users,
I wanted to generate objects named 'my.ftn1',
'my.ftn2', ... , 'my.ftn10', and tried the following
code without success. How can I do this?
> for ( i in 1:10 ) {
+ sub(" ", "", paste("my.ftn", i)) <- NULL
+ }
Error: Target of assignment expands to non-language
object
>
Many thanks.
John
2004 Nov 30
0
Reasons not to answer very basic questions in a straightforward way; was: Re: creating a sequence of object names
...es <ligges at statistik.uni-dortmund.de>
> > wrote:
> >
> >>John wrote:
> >>
> >>
> >>>Hello R-users,
> >>>
> >>>I wanted to generate objects named 'my.ftn1',
> >>>'my.ftn2', ... , 'my.ftn10', and tried the
> >>
> >>following
> >>
> >>>code without success. How can I do this?
> >>>
> >>>
> >>>
> >>>>for ( i in 1:10 ) {
> >>>
> >>>+ sub(" ", "", paste...
2004 Nov 29
1
Reasons not to answer very basic questions in a straightforwa rd way; was: Re: creating a sequence of object names
...;
> > > wrote:
> > >
> > >>John wrote:
> > >>
> > >>
> > >>>Hello R-users,
> > >>>
> > >>>I wanted to generate objects named 'my.ftn1',
> > >>>'my.ftn2', ... , 'my.ftn10', and tried the
> > >>
> > >>following
> > >>
> > >>>code without success. How can I do this?
> > >>>
> > >>>
> > >>>
> > >>>>for ( i in 1:10 ) {
> > >>>
> > &g...