On 30 Dec 2006, at 11:45, Kevin Ballard wrote:
Thanks. Fixed in r6416.
Incidentally, gsub doesn't modify the variable, so the second should wrap the first, not come after the first.
Yes, it was my fault with gsub.
This is especially important because, if you'll notice, there's not a single semicolon in getSig.R as it stands now - it's purely functional, and I'd like to keep it that way ;)
If you pay attention, you'll notice I made the escape function a default argument to another function specifically so I could preserve the purely functional aspect here.
Yes, I have to say that your way of writing this function is VERY impressive and I also like this functional aspect ;)
Cheers,
Hans