
Last chance! 50% off unlimited learning
Sale ends in
printToChar(x, collapse = "\n")
character(1)
]
Used to collapse
multiple lines. NULL
means no collapsing, vector
is returned. Default is character
].x <- data.frame(a=1:2, b=3:4)
str(printToChar(x))
Run the code above in your browser using DataLab