Grokbase Groups R r-help October 2001
FAQ
Laurent Gautier CBS, Building 208, DTU
PhD. Student D-2800 Lyngby,Denmark
tel: +45 45 25 24 85 http://www.cbs.dtu.dk/laurent
On Wed, 17 Oct 2001, Randall Skelton wrote:

My problems are that R seems to be tied to the line numbers on which data
is found and that the scan function doesn't remember where it last was...
Is there some C-like fopen/fread construct that I am missing?

The use of connections could be something worth being tried.

The command 'readLines' reads lines from a connection (and in this sense
'remembers' where it last was...)

try

help(file)
help(readLines)


Hopin' it helps,



Laurent

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._

Search Discussions

Discussion Posts

Previous

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 4 of 9 | next ›
Discussion Overview
groupr-help @
categoriesr
postedOct 17, '01 at 11:05a
activeOct 18, '01 at 11:45a
posts9
users7
websiter-project.org
irc#r

People

Translate

site design / logo © 2017 Grokbase