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.

Filter by
Sorted by
Tagged with
10
votes
2answers
658 views

Technical considerations for package maintainers to not use the Emacs package manager?

I am noticing some notable package maintainers are choosing to not use the Emacs package management system (ESS?) or complaining about its limitations (Helm). Quoting from Helm's README.md: ...
1
vote
1answer
76 views

ESS in Yosemite

As already written elsewhere I have huge problems with my Emacs-Distribution after updating to Yosemite. The ESS-Version from Vincent Goulet (http://vgoulet.act.ulaval.ca/en/emacs/) worked pretty well ...
10
votes
2answers
715 views

Can Emacs use tramp to run in an interactive session on a remote HPC node?

I have been using Emacs with ESS and tramp to load remote files and run remote R processes on HPC computers. With ssh keys, tramp makes this easy with C-x C-f to find file at /ssh:myserver:/path/to/...
2
votes
2answers
567 views

default location to install ess not works with the self installed emacs

I am running Ubuntu 14.04. I don't use emacs from its repository. I installed my emacs by compling from source, the default location is /usr/local. e.g. /usr/local/bin/emacsand /usr/local/share/...
4
votes
1answer
335 views

setting inferior-R-args variable in init.el has no effect

I am trying to set a variable for ESS. This is how I load ESS: ;; ess / try to not (require 'ess-site) as it slows down start-up (autoload 'R-mode "ess-site.el" "Major mode for editing R source." t) ...
6
votes
0answers
757 views

How to find what causes ESS to run very slow?

When working with an iESS session of R and an R file open side-by-side, I noticed extremely slow performance when typing indetifiers. Typing braces and operators is fine, however, when an identifier ...
3
votes
1answer
140 views

How to control which iESS process gets a code evaluation?

I have several R instances running and want to pick which one gets the evaluations in my buffer. Is there a built-in way of doing this?
3
votes
1answer
450 views

Polymode appears in minibuffer but does not weave into a file on Windows, why?

This is a follow-up post to Polymode installation on Windows machine. Accordingly I installed polymode using this code in the init.el file after ESS code: (require 'poly-R) (require 'poly-markdown)...
3
votes
1answer
491 views

Polymode installation on Windows machine

Polymode is very promising to handle the integration of R chunks using different modes. I went through the documentation and it works well when I am inside .Rmd file but not inside .Rnw. In the .Rnw I ...
1
vote
0answers
160 views

ESS major modes keybindings do not work

I am connecting from a Windows machine to a Linux server via Putty (http://blog.harang.org/?tag=putty). There I start Emacs and open a script written in the statistical language R. When I open the ...
6
votes
1answer
486 views

How to implement comments outline in ESS similar to that of Rstudio?

Shifting from Rstudio to ESS took some time with me because of the steep learning curve of a versatile Emacs editor, but is was a worthwhile experience. What I am still missing in ESS is that outline ...
2
votes
1answer
97 views

ESS Syntax Highlighting for Negative Numbers?

I know how to set coloring for an interactive R session in ESS + Emacs for all numbers. Is there a way to drill down further and set different colors for negative numbers?
7
votes
1answer
1k views

How to implement the piping operator %>% in ESS mode?

Recently, R witnessed the smart introduction of the piping operator %>% or then operator in code which I use quite frequently nowadays. I wonder if this has already been implemented in the newest ...
2
votes
0answers
126 views

Emacs freezes using Sweave and ESS

I am using Emacs + ESS + Sweave to write a document. When I do multiline copy of noweb commands using M-w, switch to R buffer and execute them (C-y, RET), Emacs will sometimes freeze, forcing me to ...
1
vote
1answer
81 views

Adding abbrevs in ess-mode

I can't seem to get abbrevs working in ess-mode when editing .R files. I have ess-mode hook to activate abbrev-mode, but I get no expansion for my global abbrevs. When I do add-mode-abbrev I can ...
2
votes
1answer
284 views

Using ESS in console Emacs

When I start Emacs 24.4.1 for Windows with the -nw option, I am unable to start R via Meta+R. Emacs becomes unrensponsive and I have to kill the process. The problem seems connected with the call ...
33
votes
2answers
3k views

ESS plot directly to an Emacs buffer?

Q: how can I get ESS (R) to plot directly to an Emacs buffer? When interacting with R through ESS, R defaults to spawning a separate graphics window outside of Emacs to draw its plots. (One can, of ...
4
votes
1answer
411 views

ESS indentation of parentheses after =?

Indentation in ESS is occasionally a little kooky, and I'm trying to figure out if the kookiness is a bug or a feature. How does one get proper indentation of parentheses after an "=" sign in ESS (...