On Fri, 7 Oct 2005, Prof Brian Ripley wrote:
> On Fri, 7 Oct 2005, Paul Roebuck wrote:
>
> > I have a data file from which I need to read portions of
> > data but data location/quantity can change from file to file.
> > I wrote some code and have a working solution but it seems
> > wasteful to hav
Why not use a text connection?
On Fri, 7 Oct 2005, Paul Roebuck wrote:
> I have a data file from which I need to read portions of
> data but data location/quantity can change from file to file.
> I wrote some code and have a working solution but it seems
> wasteful to have to do it this way. Here
I have a data file from which I need to read portions of
data but data location/quantity can change from file to file.
I wrote some code and have a working solution but it seems
wasteful to have to do it this way. Here's the contrived
incomplete code.
datalines <- readLines(datafile.pathname)