[R] concat
jimi adams
adams.644 at osu.edu
Wed Apr 17 21:12:34 CEST 2002
i have a function that returns a list containing a variety of variable types
i am trying to run the function multiple times and return the output into a
variable with a semi-consistent naming pattern
i.e., for ten trials i want to return the list into variables
trial1,trial2,...trial10
is there a generic way to get this to happen
i have a similar process that does the same thing to an external file:
paste("connection", trial, ".net", sep="") -> outfile
write(header, file=outfile, ncolumns=2)
write("*Edges", file=outfile, append=TRUE)
write(connection, file=outfile, ncolumns=2, append=TRUE)
where trial progresses so that these outputs are written to
connection1.net, coneection2.net and so forth
i am having a tough time figuring out how to do the same for a variable
within R
thanks
and sorry, i just couldn't figure out the right place to look for this one.
jimi
jimi adams
Department of Sociology
The Ohio State University
300 Bricker Hall
190 N. Oval Mall
Columbus, OH 43210-1353
614-688-4261
our mind has a remarkable ability to think of contents as being independent
of the act of thinking
-georg simmel
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
More information about the R-help
mailing list