I've finally committed to moving over to both
ess -- and i'm having a bit of trouble getting (the famously customisable) combination to work as i'd like.
Say that i have a file that contains an object called
rainfall open in emacs and an inferior R session open. Is there a way that i can put point over the token and then send it to the
R process for a function to be applied to that object?
To make it concrete, say the source file contains the following object:
rainfall <- xts(runif(100, min = 0, max = 10), seq.Date(as.Date('2019-01-01'), by = 1, length = 100))
I'd like to be able to put
point anywhere inside the token
rainfall and (via some keyboard shortcut) send it to the
R process with some function (such as
summary) applied to it.
So in the iESS[R] screen i'd see:
R> tail(rainfall) and the associated output.