[R] Objects must be passed as an argument or generated in the function, right?

2011-02-24 Thread Jk Zheng
Hi, I'm new to R, and found this code confusing. It is from the bioconductor package RpsiXML. 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 -

Re: [R] Objects must be passed as an argument or generated in the function, right?

2011-02-24 Thread Duncan Murdoch
On 24/02/2011 9:59 AM, Jk Zheng wrote: Hi, I'm new to R, and found this code confusing. It is from the bioconductor package RpsiXML. 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?