Questions tagged [ess]

ESS (Emacs Speaks Statistics) is an emacs add-on for editing scripts and interacting with statistical programs such as R, Stata or SAS.

Emacs Speaks Statistics (ESS) is an add-on package for emacs text editors such as GNU Emacs and XEmacs. It is designed to support editing of scripts and interaction with various statistical analysis programs such as R, S-Plus, SAS, Stata and JAGS.

ESS is freely available under the GNU General Public License (GPL).

Resources:

280 questions
3
votes
1 answer

Can ECB be restricted to "take over" only the current buffer when it's activated?

From the get go: sorry if I'm not using the proper emacs terminology -- I'm relatively wet behind the ears in the emacs world. Most of my work in emacs is for programming R, and I'm using ESS and ECB to do so quite happily. I'd like to build a…
Steve Lianoglou
  • 7,183
  • 2
  • 25
  • 21
3
votes
1 answer

ESS R code passing doesn't work in Emacs console mode

I'm using Fedora 21 with GNU Emacs 24.5.1 and ESS version 15.03. In GUI mode I can use C-RET to pass code from an R script I'm editing to an inferior R process (it starts one up if I haven't yet), but that doesn't seem to work in console mode. Now…
jsaporta
  • 1,149
  • 2
  • 12
  • 15
3
votes
2 answers

How to indent a buffer in ESS?

ESS allows us to indent a line and an expression. Is there a key binding for indenting a buffer? If not, can we create it?
ggg
  • 1,857
  • 2
  • 21
  • 33
3
votes
1 answer

What is the status of long-running remote R sessions in ESS/Emacs?

I routinely run R remotely and have had great success with RStudio server to do so. However, Emacs/ESS is still preferable in many cases, particularly since I often work on multiple projects simultaneously. What is the start-of-the-art when…
seandavi
  • 2,818
  • 4
  • 25
  • 52
3
votes
3 answers

How can I make ESS to split window horizontally by default?

I always prefer horizontally splitting because the screen has more horizontal space. In python-mode I can achieve this by setting (py-split-windows-on-execute-function (quote split-window-horizontally)) Is there something similar in ESS mode?
qed
  • 22,298
  • 21
  • 125
  • 196
3
votes
1 answer

Emacs - help() output in web-browser

I started using Emacs (ESS) as a default R editor (yes, @Dirk, as you've said, I want ESS), and I must admit it's by far the best R editor I've been using so far. However, I cannot manage to get an output of help() function up to web browser. It…
aL3xa
  • 35,415
  • 18
  • 79
  • 112
3
votes
2 answers

R console and `didBecomeActive` messages

TL;DR: In RGUI and ESS, what are the didBecomeActive messages and how do I suppress them? Working with the OSX RGUI 3.0.3 in OSX 10.9.2, the console displays what look like logging messages Whenever the RGUI app becomes active. See the screenshot…
Ryogi
  • 5,497
  • 5
  • 26
  • 46
3
votes
0 answers

Emacs ESS indentation of parentheses after =

How does one get proper indentation of parentheses after an "=" sign in ESS on Emacs? As an example, I'd expect indentation to look like this for the "labels" parameter: somevar <- factor(x = 1:3, labels = c("a", …
Dan
  • 5,209
  • 1
  • 25
  • 37
3
votes
2 answers

Pipe ESS to terminal outside of Emacs?

I'm not sure if this is possible, but does anyone know if I can pipe ESS commands (i.e. evaluate region) to a R process running outside of Emacs? The Emacs terminal hangs up a bit (more often than Apple's terminal) and I'd like to just ditch it,…
Vince
  • 7,608
  • 3
  • 41
  • 46
3
votes
1 answer

Start a named ESS R process from a function

I'm trying to create a small interactive elisp function in order to quickly display a layout suitable for answering a Stackoverflow question about R. The idea is to open a temporary R file, and launch an R session associated to it in another…
juba
  • 47,631
  • 14
  • 113
  • 118
3
votes
1 answer

ess won't fully install ubuntu 12.04

The last time I ran sudo apt-get upgrade ess gave this error and now says its not fully installed. I checked and installed all dependencies and couldn't find any other reports of this issue. enabling speedbar support [ess-r-d:] (autoload ..) &…
sayhey69
  • 1,089
  • 1
  • 9
  • 15
3
votes
1 answer

Emacs/ESS - Moving through iESS Buffer very slow

Moving within the iESS[R] buffer is painfully slow - I use Alt+p/Alt+n or Ctrl+p/Ctrl+n for this purpose. I do see a 'help' being displayed in the minibuffer when I try to traverse the iESS[R] buffer. Not sure if this the cause for slowness - Can it…
user1827356
  • 6,764
  • 2
  • 21
  • 30
3
votes
1 answer

Are there downsides with docstrings in R?

I do not like the automatic indentation of comments in ESS (Emacs Speaks Statistics) mode, because it is so far to the right. normalize <- function(values){ # comment return(2* values / (max(values) -…
Jonas Stein
  • 6,826
  • 7
  • 40
  • 72
3
votes
2 answers

emacs ess crashes when trying to access h_elp

My emacs/ess session crashes when I try to access help. This happens if I have two packages loaded with the same functions; for example: library(lubridate) library(data.table) ?month In Rgui interface pops out and asks to choose from which packages…
ilya
  • 3,124
  • 2
  • 26
  • 26
3
votes
1 answer

How can I specify the R version opened by ESS session in emacs?

When I want to open an R session in emacs, I use M-x R. However, our server has both R 2.12 in /usr/bin/R and R 2.15 in /usr/local/bin/R. Actually, if I ask whereis R, I get the following: $ whereis R R: /usr/bin/R /usr/local/bin/R…
Abe
  • 12,956
  • 12
  • 51
  • 72