[ESS] ess beginner issue: evaluate line/region commands

Kasper Daniel Hansen khansen at stat.berkeley.edu
Mon Dec 15 04:24:25 CET 2008


In line with tyler,  I would like this function (ess-eval-function-or- 
paragraph-and-step) to work nicely in Rnw files. Pt. it tried to  
evaluate
<<SOMETHING>>=   and @
lines, which gives errors in the R console.

Kasper

On Dec 14, 2008, at 19:02 , Erik Iverson wrote:

>
>
> Markus Triska wrote:
>> LeCzar <sirnixu at gmail.com> writes:
>>> I am trying to use ess together with R, but I am used to simple
>>> commands for running a line (or region) from the script. The C-c M-j
>>> command seems inconvenient to me regarding two things:
>> I agree that C-c M-j is inconvenient, and by the way, M-j is distinct
>> from RET (= C-m) at least on OSX. Speaking of bindings, I find it  
>> very
>> surprising that `ess-eval-chunk' has no key binding at all by  
>> default:
>> It is probably the ESS function that I use the most in noweb-files,  
>> and
>> I suggest as a new default a mnemonic binding like "C-c C-c" for it.
>
> When submitting lines from a .R file to an R process buffer, C-c C-c  
> is currently bound to:
>
> "C-c C-c runs the command ess-eval-function-or-paragraph-and-step,
> which is an interactive Lisp function in `ess-inf.el'.
>
> (ess-eval-function-or-paragraph-and-step vis)
>
> Send the current function if M-x point is inside one, otherwise the  
> current
> paragraph other to the inferior ESS process.
> Prefix arg vis toggles visibility of ess-code as for `ess-eval- 
> region'."
>
> I find this my preferred way to submit code to the inferior R  
> process. However, I do not see this in the manual? Am I mistaken?
>
> Erik
>
> ______________________________________________
> ESS-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/ess-help




More information about the ESS-help mailing list