On Mon, Sep 13, 2010 at 12:11 PM, Christofer Bogaso <bogaso.christo...@gmail.com> wrote: > Thanks Barry, I agree it will work. But this approach destroys the > "indent" in the program body therefore entire body of program looks > messy, for example > > cat("Here I > put indent") > > obviously looks better for someone who reads my code, than > > cat("Here I > dont put indent") > > Any better approach?
Something like: cat("Here I\n", "have some indented source\n", "which doesn't output indented.",sep="") Barry ______________________________________________ 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.