[R] skiping N value when using scan()

2007-05-26 Thread Milton Cezar Ribeiro
Hi there,

I have a so big text file which contents are just values varing from 1 to 5.
The size of this file are about 800MB and I can´t read it in my R session 
because of memory limits. I would like to know if I can skip the firsts 10.000 
values of the text file, and read the next 5.000 values.

The real dimension of my file are 2048*2048*100 values.

Kind regards,

Miltinho
Brazil

__


[[alternative HTML version deleted]]

__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] skiping N value when using scan()

2007-05-26 Thread jim holtman
?scan
see 'skip' and 'nlines'


On 5/26/07, Milton Cezar Ribeiro [EMAIL PROTECTED] wrote:

 Hi there,

 I have a so big text file which contents are just values varing from 1 to
 5.
 The size of this file are about 800MB and I can´t read it in my R session
 because of memory limits. I would like to know if I can skip the firsts
 10.000 values of the text file, and read the next 5.000 values.

 The real dimension of my file are 2048*2048*100 values.

 Kind regards,

 Miltinho
 Brazil

 __


[[alternative HTML version deleted]]


 __
 R-help@stat.math.ethz.ch mailing list
 https://stat.ethz.ch/mailman/listinfo/r-help
 PLEASE do read the posting guide
 http://www.R-project.org/posting-guide.html
 and provide commented, minimal, self-contained, reproducible code.




-- 
Jim Holtman
Cincinnati, OH
+1 513 646 9390

What is the problem you are trying to solve?

[[alternative HTML version deleted]]

__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.