search for: psimi25doc

Displaying 1 result from an estimated 1 matches for "psimi25doc".

2011 Feb 24
1
Objects must be passed as an argument or generated in the function, right?
...L". entryCount <- length(nodes) The "nodes" object is either the argument nor generated in the function. How can R find the "nodes" object? What am I missing here? Thanks Zheng Jk parseXmlEntryNodeSet <- function(psimi25file, psimi25source, verbose=TRUE) { psimi25Doc <- xmlTreeParse(psimi25file, useInternalNodes = TRUE) psimi25NS <- getDefaultNamespace(psimi25Doc) namespaces <- c(ns = psimi25NS) entry <- getNodeSet(psimi25Doc, "/ns:entrySet/ns:entry", namespaces) if(verbose) statusDisplay(paste(length(entry),"Entries fou...