Skip to content
Prev 300139 / 398506 Next

writing data into files whose names are in a vector

you should lapply over a vector of indices (e.g. seq_along(names)) and extract out the subsets of data in your mywrite function before you write them.

Is this homework?
---------------------------------------------------------------------------
Jeff Newmiller                        The     .....       .....  Go Live...
DCN:<jdnewmil at dcn.davis.ca.us>        Basics: ##.#.       ##.#.  Live Go...
                                      Live:   OO#.. Dead: OO#..  Playing
Research Engineer (Solar/Batteries            O.O#.       #.O#.  with
/Software/Embedded Controllers)               .OO#.       .OO#.  rocks...1k
--------------------------------------------------------------------------- 
Sent from my phone. Please excuse my brevity.
Raghuraman Ramachandran <optionsraghu at gmail.com> wrote: