I just realized that cppFunction can't natively build S3 functions, since fun.class isn't valid C++ function name. I'm wondering if adding and S3class argument (default value = FALSE, otherwise class name as character) to cppFunction makes sense -- all that's needed is appending the class name to the function name, correct? The downside, as I see it, is that it's not so simple for sourceCpp/attributes (at least I don't understand them). Obviously, this is a minor issue. Is anyone else likely to hit this? best, Christian
A man, a plan, a cat, a ham, a yak, a yam, a hat, a canal ? Panama!