search for: allargs

Displaying 8 results from an estimated 8 matches for "allargs".

Did you mean: callargs
2006 Dec 02
0
fixup for debug package and R2.4.0
...0) character(0) else if (ni > 1) paste(nmi, ri, sep = ".") else nmi } else if (nrow > 0 && identical(ri, 1:ni)) as.integer(seq.int(from = nrow + 1, length = ni)) else ri } allargs <- list(...) allargs <- allargs[sapply(allargs, length) > 0] n <- length(allargs) if (n == 0) return(structure(list(), class = "data.frame", row.names = integer())) nms <- names(allargs) if (is.null(nms)) nms <- character(length(alla...
2007 Jan 12
0
Minor logical bug in rbind.data.frame ?
...0) character(0) else if (ni > 1) paste(nmi, ri, sep = ".") else nmi } else if (nrow > 0 && identical(ri, 1:ni)) as.integer(seq.int(from = nrow + 1, length = ni)) else ri } allargs <- list(...) allargs <- allargs[sapply(allargs, length) > 0] n <- length(allargs) if (n == 0) return(structure(list(), class = "data.frame", row.names = integer())) nms <- names(allargs) if (is.null(nms)) nms <- character(length(alla...
2008 Apr 09
2
autocompletion problem
...ion even if it's not necessary for reproducing the problem below: xxx <- 8:3 If I start typing this: max(xxx[ and now try to autocomplete with <TAB>, then I get the following error (and a warning): > max(xxx[Error in grep(sprintf("^%s", makeRegexpSafe(text)), allArgs, value = TRUE) : invalid regular expression '^xxx[' In addition: Warning message: In grep(sprintf("^%s", makeRegexpSafe(text)), allArgs, value = TRUE) : regcomp error: 'Invalid regular expression' Now it seems that this problem in R has managed to screw u...
2006 Oct 23
4
Changing function arguments
R-Developers, I'm looking for some help computing on the R language. I'm hoping to write a function that parses a language or expression object and returns another expression with all instances of certain argument of a given function altered. For instance, say I would like my function, myFun to take an expression and whenever the argument 'x' appears within the function FUN inside
2002 Jun 12
3
help debugging segfaults
...prompts removed): do_dotCode (call=0x873aff4, op=0x8a5f620, args=0x8a5d010, env=0x86fd0a4) at dotcode.c:1413 1413 break; 1845 PROTECT(ans = allocVector(VECSXP, nargs)); 1846 havenames = 0; 1847 if (dup) { 1849 info.cargs = cargs; 1850 info.allArgs = args; 1851 info.nargs = nargs; 1852 info.functionName = buf; 1853 nargs = 0; 1854 for (pargs = args ; pargs != R_NilValue ; pargs = CDR(pargs)) { 1855 if(argConverters[nargs]) { 1864 PROTECT(s = CPtrToRObj(cargs[nargs],...
2002 Jun 12
3
help debugging segfaults
...prompts removed): do_dotCode (call=0x873aff4, op=0x8a5f620, args=0x8a5d010, env=0x86fd0a4) at dotcode.c:1413 1413 break; 1845 PROTECT(ans = allocVector(VECSXP, nargs)); 1846 havenames = 0; 1847 if (dup) { 1849 info.cargs = cargs; 1850 info.allArgs = args; 1851 info.nargs = nargs; 1852 info.functionName = buf; 1853 nargs = 0; 1854 for (pargs = args ; pargs != R_NilValue ; pargs = CDR(pargs)) { 1855 if(argConverters[nargs]) { 1864 PROTECT(s = CPtrToRObj(cargs[nargs],...
2002 Jun 18
1
can't find array overruns (was: help debugging segfaults)
...3aff4, op=0x8a5f620, args=0x8a5d010, > env=0x86fd0a4) > at dotcode.c:1413 > 1413 break; > 1845 PROTECT(ans = allocVector(VECSXP, nargs)); > 1846 havenames = 0; > 1847 if (dup) { > 1849 info.cargs = cargs; > 1850 info.allArgs = args; > 1851 info.nargs = nargs; > 1852 info.functionName = buf; > 1853 nargs = 0; > 1854 for (pargs = args ; pargs != R_NilValue ; pargs = > CDR(pargs)) { > 1855 if(argConverters[nargs]) { > 1864 P...
2002 Jun 13
3
[R] help debugging segfaults
..., > env=0x86fd0a4) > > at dotcode.c:1413 > > 1413 break; > > 1845 PROTECT(ans = allocVector(VECSXP, nargs)); > > 1846 havenames = 0; > > 1847 if (dup) { > > 1849 info.cargs = cargs; > > 1850 info.allArgs = args; > > 1851 info.nargs = nargs; > > 1852 info.functionName = buf; > > 1853 nargs = 0; > > 1854 for (pargs = args ; pargs != R_NilValue ; pargs = > > CDR(pargs)) { > > 1855 if(argConverters[nargs]) {...