Steve,

You said 'In fact, prettying up the indents and such to make it
more readable took as much time as  altering  the
Oracle-flavored portions to RBase-flavor'.  RStyle can do a lot
of the work for you.  Go to RStyle Setup;
1: Check unwrapping (before Wrap)
2: select Single Column for "Smart Code Wrapping"
3: select 1 space for "structure indenting"
4: select 1 space with mixed double indenting for "continued
Line Indenting"
5: select indented or "CASE Indenting"
6: select disabled for "LABEL Outdenting"
7. select disabled for "ELSE indenting"

Voila!! a nicely formatted file that easily shows the structure.

Jim Bentley
--- "Wills, Steve" <[EMAIL PROTECTED]> wrote:

> Despite so many of y'all having endorsed the use of R:Style,
> until a bit
> ago, I had used it no more than a handful of times, and that
> might be
> excluding my contra-opposable thumb - what is it they say
> about one's
> reach often exceeding one's grasp?
> 
> I had not used it due to one or more of these reasons:
> A) I've been an RBase user since System V (ca. 1985)
> B) My stuff is SO GOOD
> C) Y'all's experience therefore I have discounted to 0
> D) I am ignorant
> E) I am stupid
> 
> Solution Sets:
> 1) A -> B
> 2) A -> B -> C
> 3) (A -> B -> C) QED (D & E)          --<< HINT: I'd choose this one
> ... >>--
> 
> I had a problem earlier after modifying a query string from
> Oracle to
> RBv8.  There wasn't really a lot to do to it.  In fact,
> prettying up the
> indents and such to make it more readable took as much time as
> altering
> the Oracle-flavored portions to RBase-flavor.  Pretty
> straight-forward,
> all in all.
> 
> Then, when I executed the statement, I got Error 2511.  TRACE
> indicated
> a problem in the first few lines, but, no matter what I did, I
> couldn't
> fix it.  Finally - AFTER SOME 90 MINUTES OF FRUSTRATION AND
> QUESTIONING
> BOTH MY VISUAL AND MENTAL ACUITY - I ran it through RStyle. 
> Well, lo'
> and behold, way down near the end of this rather long
> statement, I had
> inadvertently created not just one but, rather, two sets of
> unbalanced
> parentheses.
> 
> Badaboom, badabing, balanced the paren's and problem solved.
> 
> Some of us seem to learn (at least some) things the hard way.
> 
> I'll be configuring R:Style to my preferences soonest.
> 
> 
> My Very Humble Fractional $0.02,
> Steve in Memphis
> 
> 
> 
> 
> J. Stephen Wills
> Program Manager, Research Informatics
> Office of the Vice Chancellor for Research
> University of Tennessee Health Science Center
> 62 S. Dunlap, Suite 400
> Memphis, TN  38163
> Office: 901-448-2389
> FAX    : 901-448-7133
> 
> 
> 


Jim Bentley
American Celiac Society
[EMAIL PROTECTED]
tel: 1-504-737-3293


      
____________________________________________________________________________________
You rock. That's why Blockbuster's offering you one month of Blockbuster Total 
Access, No Cost.  
http://tc.deals.yahoo.com/tc/blockbuster/text5.com


Reply via email to