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
5
votes
1 answer

ESS does not deal well with data.table and knitr

I am having trouble in evaluating variables inside data.table[...] when using knitr. I have seen answers to this problem stating it is solved, but I am still getting errors. I am using data.table version 1.8.8 on R 3.0.0. I am using Emacs 24.3 that…
Rodrigo
  • 473
  • 4
  • 14
5
votes
2 answers

R emacs-ESS not plotting on mac

I have a new mac and have downloaded ESS-emacs and have been running R. But it does not produce any plots with plot() pie() or hist(). I have tried show(), X11() and pdf() but none of them work. The R process actually ends when I try this for…
Rudolph
  • 105
  • 1
  • 6
5
votes
3 answers

Emacs ESS: Eval region vs. source()

I love the Emacs ESS combination. I love sending lines, functions, regions, and buffers of code to the command line for evaluation without using the mouse. However, I've noticed that the Eval Function command in Emacs is much slower than simply…
Christopher DuBois
  • 42,350
  • 23
  • 71
  • 93
4
votes
1 answer

Is there an equivalent of ctags or cscope for browsing R code in R using ESS mode?

For c++ and c I am able to create TAGS file by running ctags -e or use cscope to navigate a codebase in emacs. Is there an equivalent for a codebase in R? ctags ignored my R files...
Palace Chan
  • 8,845
  • 11
  • 41
  • 93
4
votes
3 answers

default split window layout

I use aquamacs 90% of the time to edit R files with ESS (Emacs Speaks Statistics). In this mode, I find it indispensable to have a split window, C-x 3 C-x 2, such that I can view simultaneously the source code and the R buffer (terminal window).…
baptiste
  • 75,767
  • 19
  • 198
  • 294
4
votes
0 answers

Emacs ESS major mode font colour change after Error

When using the R console through the ESS major mode in emacs, I encounter the following problem: Changed font color after Error The font color of all text, except for explicitly highlighted text such as links and Errors, changes from the default…
wardfont
  • 41
  • 3
4
votes
0 answers

How to change text font and size in R View()?

When I run a <- data.frame(col1 = c(1,2,5,8,2,2), col2=c(34,5,64,54,23,3)) View(a) I get a popup window with my data as I hope, but the font size and face are not good for me. I have looked at the documentation for View() and dataentry. While it…
steve_b
  • 105
  • 6
4
votes
2 answers

Using ESS on my desktop to run R in the cloud

I'm interested in experimenting with writing R code on my laptop which I then execute on an Amazon S3 machine. I want the execution to be interactive because I'm building a work flow and the data is only on my EC2 instance, not on my local machine.…
JD Long
  • 59,675
  • 58
  • 202
  • 294
4
votes
0 answers

ESS and company-mode integration

I have installed ESS and company-mode. Now, when I spawn up a ESS R process, I am able to see the suggestions from the company system. However, if I try to look for the documentation by pressing F1 on the company's suggestion box, it says 'No…
jacquard
  • 1,307
  • 1
  • 11
  • 16
4
votes
2 answers

ESS produces "Variable binding depth exceeds max-specpdl-size"

I am trying ESS (Emacs Speaks Statistics). The problem is: Ctrl-P and the up-arrow are disabled on any buffer because of the following error: Variable binding depth exceeds max-specpdl-size The trigger is the following line in .emacs.el (require…
H. Shindoh
  • 906
  • 9
  • 23
4
votes
2 answers

ESS: retrieving command history from commands entered in ESS[R] inferior mode or script

When using ESS[R] in inferior mode I can retrieve the most recent command output using C-c C-p which moves the cursor to the previous command output. Alternatively I can use C-up which essentially copies the most recently entered command from the…
4
votes
1 answer

Enable scratch buffer to execute R code in emacs-ess

I have switched to using emacs-ess for my R code development and it is working great. I would like to be able to write some small R code I am using for debugging my R script into the scratch buffer, and be able to execute the scratch buffer code in…
sheed03
  • 197
  • 2
  • 8
4
votes
1 answer

Enable Company mode for all buffers but ESS

Is there a way to enable Company mode in all buffers... ;; enable Company mode in all buffers (add-hook 'after-init-hook 'global-company-mode) ... except the ESS ones (as, there, Auto-Complete is enabled by default, and in fact much better -- with…
user3341592
  • 1,419
  • 1
  • 17
  • 36
4
votes
2 answers

Have Emacs to automatically latex your Rnw file after knitting

I would like to start a LaTeX after knitting an .Rnw file. The meta code shoudl be something like: (defun knit () (interactive) (setq rproc (ess-get-process ess-current-process-name)) (setq c "knit('foo.rnw')\n") (process-send-string rproc…
antonio
  • 10,629
  • 13
  • 68
  • 136
4
votes
1 answer

How to set Emacs's ESS R's library folder?

I was using RStudio for my project I'm trying out EMACS+ESS as an IDE since it can also serve as latex/python IDE previously i installed R packages in D (because they take up chunk of HDD) when i started ESS the R buffer only recognized the R…
Firhat Nawfan H.
  • 187
  • 2
  • 12