This way:

how many rows/line
o=open("storage2.txt")
nol=0
while readline(o)!=""
nol+=1
end
nol
close(o)

how anay regular col  ?

o=open("storage2.txt")
cnt=0
for line=eachline(o)
  cnt=max(cnt, length(split(line, "\t")))
end
close(o)
cnt

Paul


W dniu poniedziałek, 15 czerwca 2015 21:31:41 UTC+2 użytkownik paul analyst 
napisał:
>
> W dniu 2015-06-15 o 15:13, Ian Hellström pisze: 
> > Would it be possible/feasible to introduce external data frames (like in 
> Revolution Analytics R), so that we can work with data that does not fit 
> into memory? Just an idea... 
> this Idea is a stream (open ) but firs I mus know size of data . 
> Do You know another way? 
> Paul 
>
>

Reply via email to