From h.wickham at gmail.com  Wed Mar 20 21:12:52 2013
From: h.wickham at gmail.com (Hadley Wickham)
Date: Wed, 20 Mar 2013 15:12:52 -0500
Subject: [Rd] Structure not deparsed correctly when printing calls
Message-ID: <CABdHhvGpmK1Z9sKPte=pxcybH=4Oa7+59hzGNfPMyTFY6XJU_A@mail.gmail.com>

z <- substitute(f(x), list(x = data.frame(y = 1)))

z
# f(list(y = 1))

str(z)
# language f(structure(list(y = 1), .Names = "y", row.names = c(NA,
-1L), class = "data.frame"))

dput(z)
# f(structure(list(y = 1), .Names = "y", row.names = c(NA, -1L), class
= "data.frame"))

Hadley

-- 
Chief Scientist, RStudio
http://had.co.nz/



[Rd] Structure not deparsed correctly when printing calls
Hadley Wickham