Displaying 1 result from an estimated 1 matches for "rnews2001".
Did you mean:
rnews_2001
2008 Feb 25
1
how to write dput-able objects
...a,
author = {John M. Chambers and Duncan Temple Lang},
title = {Object-Oriented Programming in {R}},
journal = {R News},
year = 2001,
volume = 1,
number = 3,
pages = {17--19},
month = {September},
url = http,
pdf = Rnews2001-3
}
One deficiency of this approach is that dput() does not export all data pertained to the object. For example
> objfactory <- function(nm) {
+ list(name = function() nm)
+ }
>
>
> obj <- objfactory('foo')
>
> obj$name()
[1] "foo"
> dput(obj)
struc...