search for: rhsqnextpath

Displaying 2 results from an estimated 2 matches for "rhsqnextpath".

2009 Mar 30
1
List assignment in a while loop and timing
...i ==code== rdr <- rhsqreader("~/tmp/pp",local=T,pattern="^p") rdr <- rhsqstart(rdr) i <- 1; h=as.list(rep(1,1e6)) ##A0 while(TRUE){ value <-rhsqnextKVR(rdr) ##Returns a list of two elements K,V if(is.null(value)) { message(rdr$df[rdr$current]) rdr <- rhsqnextpath(rdr) if(is.null(rdr)) break; } h[[i]] <- value; ##A1 i <- i+1 }
2009 Apr 01
0
回复: R-help Digest, Vol 73, Issue 32
...i ==code== rdr <- rhsqreader("~/tmp/pp",local=T,pattern="^p") rdr <- rhsqstart(rdr) i <- 1; h=as.list(rep(1,1e6)) ##A0 while(TRUE){   value <-rhsqnextKVR(rdr) ##Returns a list of two elements K,V   if(is.null(value)) {     message(rdr$df[rdr$current])     rdr <- rhsqnextpath(rdr)     if(is.null(rdr)) break;   }   h[[i]] <- value; ##A1   i <- i+1 } ------------------------------ Message: 32 Date: Mon, 30 Mar 2009 08:24:36 -0700 From: Bert Gunter <gunter.berton@gene.com> Subject: Re: [R] Matrix max by row To: "'Wacek Kusnierczyk'" <Wa...