great. thanks. exactly what I wanted. /iaw ---- Ivo Welch (ivo.we...@gmail.com)
On Thu, May 31, 2012 at 2:53 PM, David L Carlson <dcarl...@tamu.edu> wrote: > a <- data.frame(x=runif(4), y=runif(4), z=runif(4)) > b <- capture.output(a) > c <- paste(b, "\n", sep="") > cat("Your data set is:\n", c, "\n") > [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list 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.