| net.read {stream.net} | R Documentation |
Read in a stream network object from the tables type,
text format files written by net.write.
net.read (prefix="somenet")
prefix |
character string for the prefix of the input file name. See details. |
An alternative to load or source
that reads table format text files.
Read in the $links, $segs, and
$cords of a net.object from three
separate files that were written by net.write.
The prefix is pasted onto suffixes ".links.dat",
".segs.dat", and ".cords.dat", respectively,
to make full filenames.
Stream networks created from either net.qmodel
or net.arcinput can be retrieved much more
quickly using this method.
A net.object.
Denis White, white.denis@epa.gov
net.object
net.write
net.qmodel
net.arcinput
# Q model random net net <- net.qmodel (10) # add segments net <- net.addsegs (net) # save net.write (net, prefix="test") # retrieve net <- net.read (prefix="test")