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
4
votes
2 answers

Advanced debugging functionality in R?

Are there any packages and/or hacks in R that give the debugger more functionality? I'm specifically looking for: The ability to step over a whole loop The ability to step into function calls without calling debug on them also The ability to set…
mrip
  • 14,913
  • 4
  • 40
  • 58
4
votes
2 answers

How to enable auto-complete-mode when I start R in Emacs?

In Emacs + ESS, I can start R console by M-x R Return On my system, auto-complete-mode isn't enabled by now. I have to M-x auto-complete-mode Return to enable it. Is there a way to enable it automaticly? 1 OS: Ubuntu 12.10 64-bit 2 R: …
Nick
  • 8,451
  • 13
  • 57
  • 106
4
votes
1 answer

Why does the python interpreter not print input code and output in emacs python shell buffer for python-mode?

My current python setup in emacs is: (setq py-shell-name "ipython") ;; sudo pip install ipython (setq py-shell-name "/usr/local/bin/ipython") (setq py-force-py-shell-name-p t) (add-to-list 'load-path "~/.emacs.d/python-mode.el-6.1.0/") (setq…
Vinh Nguyen
  • 1,014
  • 1
  • 9
  • 19
4
votes
2 answers

Emacs ESS evaluating slower than normal R

Is ESS' R-mode also slower for you than just plain R? Mostly the text gets sent really slowly to the other buffer. Is this normal or is there something wrong with my setup? As suggested: sessionInfo() R version 2.15.1 (2012-06-22) Platform:…
PascalVKooten
  • 20,643
  • 17
  • 103
  • 160
4
votes
3 answers

Emacs ESS Mode TAB stops indenting

I'm using Emacs 24 on Windows to write some R code. Up until about 30 minutes ago, whenever I would write a new function, ESS would automatically indent the lines following the function declaration and pressing the tab key on a new blank line would…
FloppyDisk
  • 1,693
  • 16
  • 25
4
votes
1 answer

r-autoyas in Emacs

I am trying to get r-autoyas to work on Emacs 23.3.1 I have installed yasnippet and it works fine on its own. For eg: TAB after 'for' in c++ mode auto expands as it should. I then went on the get r-autoyas to work. I have followed the instructions…
Garnet
  • 107
  • 1
  • 1
  • 6
3
votes
1 answer

Modify Emacs tab behavior with Sweave documents

In Sweave mode pressing tab doesn't move the cursor and kills my auto-complete options (when I hit tab to complete the code the completion disappears as opposed to completing the snippet). If I space over to the center of the buffer, pressing tab…
idclark
  • 948
  • 1
  • 8
  • 27
3
votes
2 answers

system(): why do I not have the same permissions when using R in EMACS as I do in the bash terminal?

update: the error only occurs when logged into R from within emacs what works: When I ssh into a remote server and run $ ./foo.rb from the bash shell, it works. Furthermore, if I launch R and execute $ R system('./foo.rb') I am in a group…
David LeBauer
  • 31,011
  • 31
  • 115
  • 189
3
votes
2 answers

ESS and rpy2 sharing R process in Emacs

I am a fairly new user of R and have started using Emacs Speaks Statistics (ESS). I also use rpy2 (a python interface to R) where I can start an R-process in my ipython shell running in Emacs. Is it possible to let ESS and rpy2 somehow share the…
Tony
  • 542
  • 1
  • 4
  • 6
3
votes
2 answers

emacs ess : how to auto complete library function

I am trying to migrate from RStudio to emacs ess and i am trying now to find auto-completion functionality in emacs ess similar to Rstudio For my question i'll use a simple RStudio example and i'll appreciate if you could tell me how to do the same…
Rafael Zanzoori
  • 531
  • 1
  • 7
  • 23
3
votes
2 answers

Add some shortcuts to ESS jags mode

I'm relatively new to emacs and bayesian data analysis and the JAGS software. I would like to modify the ess jags-d.el file in order to have the F8 shortcut for <- ,as in the R-mode using ESS. IS it possible ? I hope that my question it's clear,…
dickoa
  • 18,217
  • 3
  • 36
  • 50
3
votes
1 answer

ESS: ess-request-a-process defaults to "S"

Quite often I find myself with bunch of R processes running in ESS buffers. There's a convenient Lisp function ess-request-a-process that asks for R process, and brings it to front. The only downside is that it somehow defaults to S, so each time…
aL3xa
  • 35,415
  • 18
  • 79
  • 112
3
votes
1 answer

Is it possible to use R in emacs similar to a term mode?

I would like to work in ESS/R in emacs in a way similar to term mode. That is, I don't want the cursor move away from the command line when I try to copy some text from the R console. Also I would like to rebind the up arrow key to previous command.…
Veera
  • 861
  • 1
  • 9
  • 18
3
votes
1 answer

Left justified comments for ESS

When I use C-M-\ (with emacs and ESS) to format my R code, it right justifies my comments. For example, it changes: #This is a comment x=5 to #This is a comment x=5 How do I stop my comments being right-justified?
csgillespie
  • 59,189
  • 14
  • 150
  • 185
3
votes
0 answers

R ESS Plotting on Ubuntu - How to enable plotting history (or work around)

I have been using ESS on Mac in the past and when I plotted repeatedly, I was able to access and navigate between plots using the arrow keys (if I remember correctly). A plotting history is also implemented in RStudio and I would like to use or…
stats-hb
  • 958
  • 13
  • 31