Indent whole file?

A.J. Rossini rossini at blindglobe.net
Mon Jun 9 21:30:11 CEST 2003


Because it's an emacs command, not ESS specific :-).

I'll add this to the FAQ; thanks Peng.


zhu wang <zhuw at mail.smu.edu> writes:

> On Mon, 2003-06-09 at 13:40, Zhang, Peng wrote:
>> Hi there,
>> 
>> You can use C-H to select all, and then M-x indent-region.
>> 
> Yes! That's what I want.
> It is interesting since I could not find this command from the ESS
> manual at
> http://stat.ethz.ch/ESS/Manual/ess_7.html#SEC54
>
> Thanks for the great help!
>
> Zhu Wang
>
>> Peng
>> 
>> On Mon, 2003-06-09 at 14:29, zhu wang wrote:
>> > Dear helpers,
>> > 
>> > I have noticed there exist some useful indenting commands. But maybe I 
>> > am not aware of such command to indent a large file containing, say 20, 
>> > R functions. I know I can use TAB to indent line by line. Is there any 
>> > more efficient way to do it?
>> > 
>> > Thanks,
>> > 
>> > Zhu Wang
>> > 
>> > Statistical Science Department
>> > Southern Methodist University
>> > 
>> > ______________________________________________
>> > ESS-help at stat.math.ethz.ch mailing list
>> > https://www.stat.math.ethz.ch/mailman/listinfo/ess-help
> -- 
> zhu wang <zhuw at mail.smu.edu>
>
> ______________________________________________
> ESS-help at stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/ess-help
>

-- 
A.J. Rossini  /  rossini at u.washington.edu  /  rossini at scharp.org
Biomedical/Health Informatics and Biostatistics, 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 attachments ... {{dropped}}




More information about the ESS-help mailing list