Displaying 2 results from an estimated 2 matches for "dummyfunct".
Did you mean:
dummyfunc
2013 Jan 24
2
functions as arguments to ther functions with inlinedocs
...efault values for argumnents
in other functions. When I use curly brackets { here, I can not create a
package with inlinedocs. It will give me the error when using
package.skeleton() in my package structure:
Error in parse(text = utxt) : <text>:4:0: unexpected end of input
For example:
dummyfunction = function(filters = function(x) {b = 0; x > b} ))
{
# rest of code here
return(filters)
}
This seems to me as a legal function declaration but creates the above
mentioned error. Is this an error of inlinedocs or do I misunderstand
the R language? Or is there another way of using fu...
2011 Sep 28
3
dump.frames, debugger and the "..." argument
Dear List,
i run R non interactively and use option(error = dump.frames) to reconstruct the cause of errors for debugging. One of the functions in the call stack however uses the "..." (dot dot dot) argument. When I run debugger() and try to browse to this functions' environment I get the following error message:
Error in get(.obj, envir = dump[[.selection]]) :
argument