Skip to content

Package for Tidying-up R-code

4 messages · Gundala Viswanath, Dimitris Rizopoulos, Don MacQueen +1 more

#
Dear all,

Is there any such package?

I am thinking of something equivalent to Perl::Tidy.
For example with VI editor one can visual highlight a portion
of Perlcode and then issue the command:

!perltidy

then the code will be automatically arranged.

- Gundala Viswanath
Jakarta - Indonesia
#
check Section 3.1 of the `Writing R Extensions' manual.


I hope it helps.

Best,
Dimitris
Gundala Viswanath wrote:

  
    
#
I don't know what kind of tidying you want, but ESS within emacs is a 
possibility.

-Don
At 6:32 PM +0900 9/5/08, Gundala Viswanath wrote:

  
    
#
http://cran.r-project.org/doc/manuals/R-exts.html#Tidying-and-profiling-R-code

hth,
Matthias
Don MacQueen wrote: