Line Breaks

A.J. Rossini rossini at
Fri Jun 27 05:33:57 CEST 2003

Welcome to one of the seven wonders of Windows: incompatible line

There are tools to automate the process (not sure if OS-X has
dos2unix), but using Emacs, one can always do something like:

M-x query-replace <ret> C-q C-m <ret> <ret>

(where <ret> is the enter or return key).


bb2 at writes:

> Hi All,
> I've recently migrated from Splus 2000 (Windows) to R on Mac OSX.  In
> the process, I've begun using Xemacs and ESS to work in R.  As a
> result, I have moved my old .ssc files to this new environment (burned
> them to a cd and moved them onto my new computer).  When I open the
> .ssc files in Xemacs, there is a "^M" at the end of each line.  I can
> scroll through the file deleting each "^M" but this is very slow.
> How can I easily remove these with Xemacs or avoid the entire problem
> to begin with?
> Similarly, I use winBugs on Virtual Windows and when I paste text from
> winBugs into Xemacs (running on OSX), I have the same problem.
> Any suggestions would be appreciated.
> Thanks for your help,
> Brian
> ______________________________________________
> ESS-help at mailing list

A.J. Rossini  /  rossini at  /  rossini at UNTIL IT MOVES IN JULY.
Biomedical and Health Informatics, University of Washington
Biostatistics, HVTN/SCHARP, Fred Hutchinson Cancer Research Center.
FHCRC: 206-667-7025 (fax=4812)|Voicemail is pretty sketchy/use Email 

CONFIDENTIALITY NOTICE: This e-mail message and any attachme...{{dropped}}

More information about the ESS-help mailing list