search for: inclist

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

Did you mean: in_list
2004 Feb 27
0
Re: [R] Is there a way to deactivate partial matching in R?
...e call makeoutput(outchannel=outcontent, whatever=whatevercontent) # I still find it difficult to write reliable code in R. # I am always afraid to run into something like > # simple example for dangerous partial list matching > > increment.counters <- function(..., mycounters){ + inclist <- list(...) + for (i in seq(along=inclist)) + mycounters[[names(inclist[i])]] <- mycounters[[names(inclist[i])]] + inclist[[i]] + mycounters + } > > mycounters <- list(leftcounter=0, rightcounter=0) > # intended use > mycounters <- increment.counters(leftcounter=4, mycount...