The help for dput says
Deparsing an object is difficult, and not always possible. With
the default 'control = c("showAttributes")', 'dput()' attempts to
deparse in a way that is readable, but for more complex or unusual
objects, not likely to be parsed as identical to the
Full_Name: Daniel F Higgins
Version: 2.4.0
OS: Windows XP and Mac OSX
Submission from: (NULL) (128.111.242.49)
Create a dataframe as indicated below and apply 'dput' to it; note that the
row.names attribute is incorrect!
> aaa <- c("AAA","BBB","AAA")
> bbb <- c(1,2,3)
> df <- data.frame(aaa,bbb)