search for: nfinish

Displaying 4 results from an estimated 4 matches for "nfinish".

Did you mean: finish
2009 Apr 26
2
eager to learn how to use "sapply", "lapply", ...
...ng style off. I am staring at my R script and thinking "how can I improve it ?" For instance, I have a lot of loops similar to the following one and wonder whether I can replace them with a proper call to a high level R function that does the same: Nstart <- Nfour/(2^Lev) + 1 Nfinish <- Nstart -1 + Nfour/(2^Lev) LengLev <- Nfinish - Nstart + 1 NW <- floor(LengLev*N/Nfour) if(NW > 0){ for(j in Nstart:(Nstart + NW -1)){ Dw <- abs(Y[j]) Rnorm <- Rnorm + Dw^2 } } Thank you very much for helping me get be...
2005 Mar 05
2
dovecot-pgsql.conf can't find in chroot? (debian)
...see it? That's weird... root at alfa:~# strace -vffF /etc/init.d/dovecot start 1>& ~/dovecot.strace root at alfa:~# less ~/dovecot.strace [...] :/chroot [...] :/dovecot-pgsql.conf [pid 18211] open("/var/log/dovecot_info.log", O_WRONLY|O_APPEND|O_CREAT|O_LARGEFILE, 0666 <u nfinished ...> [pid 18213] fcntl64(5, F_SETFD, FD_CLOEXEC <unfinished ...> [pid 18211] <... open resumed> ) = 5 [pid 18213] <... fcntl64 resumed> ) = 0 [pid 18211] fstat64(5, <unfinished ...> [pid 18209] <... fcntl64 resumed> ) = 0 [pid 18211] <... fstat6...
2006 Oct 30
2
how to set debug breaks
Hi, I am new in R and have some frustrations as how to set debug breaks during emacs R debug. I use debug () as where or which function to debug. But during the debug, e.g., I have a for loop at the beginning of the function code and want the code execution to jump through that for loop and set a break after that. How to do that? Is there a web site detailing the syntax of the debugging of R?
2000 Dec 22
2
REading the netCDF format into R
...ptr=&ptrs[1]; for (i=0;i<nx;i++) { REAL(lon)[i] = *(ptr+i); } ptr=&ptrs[2]; for (j=0;j<ny;j++) { REAL(lat)[j] = *(ptr+j); } ptr=&ptrs[3]; for (k=0;k<nt;k++) { REAL(tim)[k] = *(ptr+k); } ptr=&ptrs[4]; REAL(missing)[1]=*ptr; printf("\nFinished successfully!\n"); /* Garbage collecting */ UNPROTECT(7); return(field); } -- ______________________________________________________________________________ Rasmus E. Benestad, D.Phil, GradInstP, The Norwegian Meteorological Institute rasmus.benestad at dnmi.no http://...