search for: helperfuns

Displaying 1 result from an estimated 1 matches for "helperfuns".

2004 Mar 27
3
a question about scoping functions
Hi, I've written some helper functions which are used by another function (called func()). When func() is sourced I dont want the helper function to be seen in the global namespace (as shown by ls()). Currently what I have done is: func <- function() { helper1 <- function() { ... } helper2 <- function() { ... } # some code } Is there anyway to take the functions