Skip to content

Search Archives

Search tips
from:Name Search by author name, e.g. from:Duncan Murdoch "exact phrase" Match an exact phrase word1 word2 Match messages containing both words Date range Use the date pickers to filter results to a time period

Use the list dropdown to narrow results to a specific mailing list. Combine from: with other terms to filter by author and content.

3 results for “from:Heiko Neuhaus”

Problems accessing environment() in function
Heiko Neuhaus · May 2, 2012 · r-help

Thanks a lot for your answer! >> ------------------------------ >> >> test1 <- function(a, b, c) >> { >> x <- as.list(environment()) >> print ("hi from test1!") >> test2(a = a, b = b, c = c) > > You are rying to pass a, b, c here and hence R tries to...

Problems accessing environment() in function
Heiko Neuhaus · May 2, 2012 · r-help

Thank you very much for your suggestion. > f <- function(a,b,c) { > names <- ls(environment()) # get all the names > result <- list() > for (n in names) { > if (!do.call(missing, list(as.name(n)))) > result[n] <- get(n) > } > result > } I have...

Problems accessing environment() in function
Heiko Neuhaus · May 1, 2012 · r-help

Hi all, I am trying to create a list of all variable/value combinations in environment(). When a function with unset arguments is called, the method I have been using fails with a "missing argument" error. However it should be...

Can't find what you're looking for? Try searching with Google .