search for: nobjs

Displaying 5 results from an estimated 5 matches for "nobjs".

Did you mean: objs
2008 Mar 29
1
A patch for extending pdf device to embed popup text and web links
...**** --- 6368,6374 ---- static void PDF_endpage(PDFDesc *pd) { int here; + int i; if(pd->inText) textoff(pd); fprintf(pd->pdffp, "Q\n"); here = (int) ftell(pd->pdffp); *************** *** 6343,6348 **** --- 6376,6397 ---- pd->pos[++pd->nobjs] = (int) ftell(pd->pdffp); fprintf(pd->pdffp, "%d 0 obj\n%d\nendobj\n", pd->nobjs, here - pd->startstream); + pd->pos[++pd->nobjs] = (int) ftell(pd->pdffp); + fprintf(pd->pdffp, "%d 0 obj\n<<\n/Type /Page\n/Parent 3 0 R\n/Contents %d...
2004 Nov 26
2
sorting a data.frame using a vector
Hi all, I'm looking for an efficient solution (speed and memory) for the following problem: Given - a data.frame x containing numbers of type double with nrow(x)>ncol(x) and unique row lables and - a character vector y containing a sorted order labels Now, I'd like to sort the rows of the data.frame x w.r.t. the order of labels in y. example: x <- data.frame(c(1:4),c(5:8))
2009 Nov 15
1
Problem building package for R 2.10.0 on Mac OS X
Hi I have submitted a package (rioja) to CRAN. It checks OK for all R versions and OS's except r-release-macosx-ix86 where it fails when checking the examples. Specifically, it fails because R can't find the package vegan which is needed in a function. Here is the snippet from the check results: ### Begin snippet checking examples ... ERROR Running examples in 'rioja-Ex.R'
2007 May 21
1
PLS in R and SAS
Dear all: I am comparing the PLS outputs of R and SAS for the following data set: Y x1 x2 x3 3 6 2 2 3 1 5 5 4 7 4 1 5 6 5 6 2 4 3 2 8 5 0 9 where Y is the dependent variable and x1, x2, x3 are the independent variables. I found several PLS algorithms in R (NIPALS,SIMPLS,KERNEL PLS). SAS has SIMPLS and NIPALS. The following are the NIPALS calculations of
2003 Jul 03
1
S4 method and S3 method with same name: potentially dangerous?
Dear list, yet another question on S4 method behaviour or rather its side effects: Consider the following example (see below) where a new S4 method 'predict' is defined which by doing so makes 'predict' a S4 standardGeneric. It works and simple test examples run but I'm cautious whether this is a 'silly' thing to do. Is this a dangerous thing to do, already known to