[R] XEmacs: substitute \n by "real" linefeeds
Christian Hoffmann
christian.hoffmann at wsl.ch
Wed Nov 22 13:54:52 CET 2006
Hi,
This may be a useful tip for R users on emacs:
Problem: substitute "\n" by a "real" linefeed, so that
aa \n bb \n ccc
becomes
aa
bb
ccc
?
Solution: M-% <RT> \n <RT> C-q 12 <RT>
It works, because ASCII 12 = <RT>
Enjoy!
Christian
--
Dr. Christian W. Hoffmann,
Swiss Federal Research Institute WSL
Zuercherstrasse 111, CH-8903 Birmensdorf, Switzerland
Tel +41-44-7392-277 (office), -111(exchange), -215 (fax)
christian.hoffmann at wsl.ch, www.wsl.ch/staff/christian.hoffmann
More information about the R-help
mailing list