[Rd] data() misbehaving inside a function
Peter Dalgaard
p.dalgaard at biostat.ku.dk
Thu Oct 16 21:12:38 MEST 2003
Peter Dalgaard <p.dalgaard at biostat.ku.dk> writes:
> foo <- function(pkg) eval(substitute(data(package)))
^^^^^^^
Doh. "pkg", of course.
-p
--
O__ ---- Peter Dalgaard Blegdamsvej 3
c/ /'_ --- Dept. of Biostatistics 2200 Cph. N
(*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk) FAX: (+45) 35327907
More information about the R-devel
mailing list