Curious to know if this warning is expected behavior, and if so, what is the recommended way instead:

    > dput(letters, file = stderr())
   c("a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l",
   "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y",
   "z")
   Warning message:
   In dput(letters, file = stderr()) : wrote too few characters

(I ask because it doesn't happen when using file = stdout())

______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to