jeudi 5 juin 2014

Add line break in print statement in R


Vote count:

0




When using the print function to print to the screen, I would like one line to appear on one line, and the next line to be on a second line.


with this line



print(
paste(
"hey I want this to be line one", "and this to be line two", "would be great if you could help"
)
)


I want this to print


[1] "hey I want this to be line one


[2] and this to be line two would be great if you could help"



asked 13 secs ago






Aucun commentaire:

Enregistrer un commentaire