Skip to content

How to get a list work in RData file

2 messages · Liaw, Andy, Sean O'Riordain

#
If you want to keep track of the function call that produced an object,
usually you need to do that inside the function that's being called, e.g.,
+     xy <- x+y
+     attr(xy, "Call") <- match.call()
+     xy
+ }
[1] 5
attr(,"Call")
test.xy(x = 2, y = 3)
atomic [1:1] 5
 - attr(*, "Call")= language test.xy(x = 2, y = 3)


Andy
#
you know about
?history

Sean
On 16/08/05, Liaw, Andy <andy_liaw at merck.com> wrote: