On Tue, Jun 18, 2013 at 7:10 PM, Vitalie Spinu <spinuvit@gmail.com> wrote:

>  > to, and often expand
>
> What is expanding a function? Do you mean evaluate?
>

Thank you again, Vitalie.

By expand, I meant adding new code to a function while in debug mode within
that function.  For example, starting a function by writing this:

Fun <- function(x){
    browser()
}

then calling Fun(3) and writing the function with the Browse[1]>  prompt in
the inferior R process.  Then without stepwise mode, I can add a loop or
conditional and have it run through and return to the same browser level,
or stop within it by adding another browser() statement then return to the
first browser level with "c".  The above example is silly, but I do often
find this approach convenient when writing functions of many input
variables.

The thread you pointed me to is indeed related, but that annoyance doesn't
happen unless in stepwise mode (I tried it in the R console).  Is there a
straightforward way to change my ESS default to not enter stepwise mode,
since it appears from ?browser that 'n' is irreversible?

-Levi

	[[alternative HTML version deleted]]

