Re: [R] Using a sting in variable names

2011-05-17 Thread Ken
olafgy gmail.com> writes: > > Hi there, > > I am trying to import 100 files with the names of "vpn 1 .dat" to "vpn 100 > .dat" > into a respective table calld vpn1 to vpn100. > > I therfore have created a variable X<-1:100 > > I not want to use X as a subtitute for the number in my filename,

Re: [R] Using a sting in variable names

2011-05-16 Thread Jerome Asselin
On Mon, 2011-05-16 at 13:18 -0700, olafgy wrote: > Hi there, > > I am trying to import 100 files with the names of "vpn 1 .dat" to "vpn 100 > .dat" > into a respective table calld vpn1 to vpn100. > > I therfore have created a variable X<-1:100 > > I not want to use X as a subtitute for the numb

Re: [R] Using a sting in variable names

2011-05-16 Thread Duncan Murdoch
On 16/05/2011 4:18 PM, olafgy wrote: Hi there, I am trying to import 100 files with the names of "vpn 1 .dat" to "vpn 100 .dat" into a respective table calld vpn1 to vpn100. I therfore have created a variable X<-1:100 I not want to use X as a subtitute for the number in my filename, so that I

[R] Using a sting in variable names

2011-05-16 Thread olafgy
Hi there, I am trying to import 100 files with the names of "vpn 1 .dat" to "vpn 100 .dat" into a respective table calld vpn1 to vpn100. I therfore have created a variable X<-1:100 I not want to use X as a subtitute for the number in my filename, so that I have to write only one function and it