cls59 wrote:
>
>
> data.file <- paste( set.name, sep='' )
>
> assign( set.name, read.dta( file.name ), envir = .GlobalEnv )
>
>
Opps, those lines should have been:
data.file <- paste( set.name, '.dta', sep='' )
assign( set.name, read.dta( data.file ), envir = .GlobalEnv )
Sorry for the confusion!
(I need more coffee... or a nap)
-Charlie
-----
Charlie Sharpsteen
Undergraduate
Environmental Resources Engineering
Humboldt State University
--
View this message in context:
http://www.nabble.com/Creating-loops-with-strings-tp25530899p25531332.html
Sent from the R help mailing list archive at Nabble.com.
______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.