[R] can I paste 'newline'?

runner sunnyside500 at gmail.com
Fri Jul 20 01:41:40 CEST 2007


It is ok to bury a reg expression '\n' when using 'cat', but not 'paste'. 
e.g.

cat ('I need to move on to a new line', '\n', 'at here') # change line!
paste ('I need to move on to a new line', '\n', 'at here') # '\n' is just a
character as it is.

Is there a way around pasting '\n' ? Thanks a lot.
-- 
View this message in context: http://www.nabble.com/can-I-paste-%27newline%27--tf4114350.html#a11699845
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list