Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

what's a prettier way to print info with R?

Tags:

r

printing

In R, I use the print function for output but I always get an ugly output. If I do:

print("hello world")

the output is:

[1] "hello world"

Is there a function/way to print the output and just get the text I want?

Thanks

like image 593
Jorge Guzman Avatar asked Jun 23 '10 14:06

Jorge Guzman


1 Answers

Please read the fine manuals and discover cat(), sprintf(), ... and much much more.

like image 164
Dirk Eddelbuettel Avatar answered Oct 30 '22 10:10

Dirk Eddelbuettel