Hi,
I was wondering about naming conventions for functions in R. I wasn't able
to find anything official, just this document, which seemed reasonable but
you never know with things found on the internet:
http://www1.maths.lth.se/help/R/RCC/
When submitting packages to CRAN, is there a commonly
Fair enough. I'm not going to post all the code because it's distracting, but
the following example function is demonstrative of the problem:
exfun<-function(...){
print(x)
}
I'm aware that leaving making the only inputs additional arguments is bad
form, but this is merely an example. So here i
Thanks for your suggestions, they were quite helpful. I've just about solved
the problem, but now I just need to know where the additional arguments
passed through '...' are stored (in order to make my own matching scheme I
need to be able to change the value of those to the correct values upon
en
Thanks everyone for your suggestions, they've been very helpful. I think I've
just about solved my problem, but not quite yet. As suggested, I've used
sys.call and match.call. Here is what I have so far:
fun.tester <- function(abc,def,ghi,jkl,...){
mf <- match.call(expand.dots = FALSE)
sc <- sy
Hi,
I know this is a simple question, but I've been having problems passing
additional arguments through '...'. It is not matching the arguments
correctly if the permanent argument of the function begins with the same
letter as the additional argument. The following example will help show what
I
5 matches
Mail list logo