# S3 method for data.frame
print(x, …, digits = NULL,
quote = FALSE, right = TRUE, row.names = TRUE)
data.frame
.print
or plot
methods.print.default
.format
which formats the data frame
column-by-column, then converts to a character matrix and dispatches
to the print
method for matrices. When quote = TRUE
only the entries are quoted not the row names
nor the column names.data.frame
.(dd <- data.frame(x = 1:8, f = gl(2,4), ch = I(letters[1:8])))
# print() with defaults
print(dd, quote = TRUE, row.names = FALSE)
# suppresses row.names and quotes all entries
Run the code above in your browser using DataLab