On 1/21/2008 11:50 AM, Thomas Petzoldt wrote:
> Duncan Murdoch wrote:
>> On 1/21/2008 9:58 AM, Thomas Petzoldt wrote:
>>> Hello Duncan,
>>>
>>> thank you very much for your prompt reply. When I interpret your answer
>>> correctly there seems to be no alternative than either:
>>>
>>> A) using lots o
Hi Gabor,
nice to see you on this thread.
As you see, I'm back with my old problem.
Gabor Grothendieck wrote:
> If the intention is to place fList's contents in the global
> environment
> then you need to specify that in addtoenv or else it assumes
> the parent environment.
No, it was the in
Duncan Murdoch wrote:
> On 1/21/2008 9:58 AM, Thomas Petzoldt wrote:
>> Hello Duncan,
>>
>> thank you very much for your prompt reply. When I interpret your answer
>> correctly there seems to be no alternative than either:
>>
>> A) using lots of (possibly private) functions in the package or,
>> B)
If the intention is to place fList's contents in the global environment
then you need to specify that in addtoenv or else it assumes
the parent environment.
> flistA <- list(foo = function () 1:10, bar = function() log(foo()))
> makefun <- function(fList) addtoenv(fList, .GlobalEnv)
> makefun(flis
On 1/21/2008 9:58 AM, Thomas Petzoldt wrote:
> Hello Duncan,
>
> thank you very much for your prompt reply. When I interpret your answer
> correctly there seems to be no alternative than either:
>
> A) using lots of (possibly private) functions in the package or,
> B) define dummies for all funct
Hello Duncan,
thank you very much for your prompt reply. When I interpret your answer
correctly there seems to be no alternative than either:
A) using lots of (possibly private) functions in the package or,
B) define dummies for all functions which are in such lists or,
C) ignore the NOTE, knowin
On 1/21/2008 8:30 AM, Thomas Petzoldt wrote:
> Hello,
>
> first of all, thanks to LT for \pkg{codeutils}. I agree that it is
> indeed very useful to identify errors and also to encourage re-thinking
> past solutions. My problem:
>
> I want to compare different sets of related sub-functions which