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
0
votes
0 answers

Emacs ESS autocomplete working in iess mode but not in scripts. How to get it working?

I recently started using ess for r. Emacs wiki shows that from version 12.09 ess by default includes support for auto complete. I am getting auto complete in the iess mode. But not completions in the ess mode. I tried setting completion to script…
enitihas
  • 835
  • 1
  • 9
  • 17
0
votes
1 answer

emacs evil-mode: turn off line numbers on particular modes

I am using emacs+evil+ESS. I have the following in my .emacs in order to turn on line numbers in all modes except iESS mode. However, the line numbers in iESS is not turned off. I sometimes have hundred thousand lines in iESS buffer, and it is not…
biocyberman
  • 5,675
  • 8
  • 38
  • 50
0
votes
0 answers

Change auto indentation of comments

It has been a while that my emacs+ess does very strange on auto indentation of comment: If I type a comment start with a single # and hit Enter. The line is pushed to the right 40 spaces. I have to go back and delete those spaces and move the cursor…
biocyberman
  • 5,675
  • 8
  • 38
  • 50
0
votes
1 answer

ESS error Autoloading failed to define function compilation--ensure-parse

I just upgraded to latest version of ESS using package manager for Ubuntu 12.04. Emacs alone seems to work fine, but Emacs does not work with ESS (Emacs Speaks Statistics). Upon start up of ESS, I get the message: Error in post-command-hook:…
rmd
  • 1
  • 1
0
votes
0 answers

Emacs MELPA auto-complete not working with ESS (R) 15.03

Context I have installed 'auto-complete-20150408.1132' using the MELPA repository from within Emacs-24.3.1 (M-x package-install); the OS is RedHat. Auto-completion with popup is working perfectly for C/C++ files etc. However, I cannot get it to…
James
  • 1
  • 1
0
votes
1 answer

Emacs ESS and S-plus ( S+ ) 8.1 compatability

I'm working on a project that is in S+ 8.1, and I am using Windows 7 with the latest packaged ESS from Vincent. The folder to splus.exe and sqpe.exe is in PATH. Is there anyway to get that version of S+ running in ESS? R works no problem. S+,…
TaylerJones
  • 242
  • 2
  • 15
0
votes
1 answer

editing Rnw in Emacs, gets confused if in math mode or not

When editing .Rnw files with emacs, sometimes it gets confused as to if I am in math mode or not. Then, the syntax highlighting gets messed up, and C-f-i inserts \textit{} and \mathit{} opposite to how it normally should. Is seems like there is some…
stevejb
  • 2,414
  • 5
  • 26
  • 41
0
votes
1 answer

Supress the normal-executed script in ESS command prompt buffer (by C-c, C-b)

Every time I run the whole R script in ESS by C-c, C-b, the entire script shows up in the ESS prompt buffer (which albeit annoying, is out of my current question here see question ). when the script is relatively large, the flashing page of executed…
Chenming Zhang
  • 2,446
  • 2
  • 26
  • 34
0
votes
1 answer

Bind F1 to smart contextual documentation (help buffers)

Is there a command which I could bind to F1 in Emacs that would give me (in a temporary or persistent buffer) contextual documentation on the "symbol" under point? IIUC, that'd give the same results as: C-c C-v RET in ESS buffers (=…
user3341592
  • 1,419
  • 1
  • 17
  • 36
0
votes
1 answer

ESS (R) Auto-complete

I try to get a practical development environment for R in Emacs, hoping to get auto-completion working as shown in http://www.emacswiki.org/emacs/ESSAuto-complete. However, even in a minimal configuration, I can't get it working. See what I get on…
user3341592
  • 1,419
  • 1
  • 17
  • 36
0
votes
1 answer

How to stay in the same buffer window after evaluation?

I'm trying to write a function R> that evaluates the code given as a string in the active ESS R process and returns basic conversions to elisp data structures or just nil. I'm not an experience elisp coder, so right now I'm just trying to get a…
wdkrnls
  • 4,548
  • 7
  • 36
  • 64
0
votes
1 answer

R pass an Rscript command line with parameters to emacs ESS?

I would like to be able to debug an R script that is called with a list of parameters via emacs ESS. For example: /specific/version/of/R/bin/Rscript \ /my/dir/script.R \ firstparam \ /second/param/is/a/file.txt Instead of my ESS session…
719016
  • 9,922
  • 20
  • 85
  • 158
0
votes
1 answer

How to switch to ESS mode manually?

I sometimes use emacs with the "It's all text" firefox extension to write in textareas, and sometimes I need to insert R code into the file, which is usually named something like "stackoverflow.com.231x234.txt", which is of course triggers the text…
qed
  • 22,298
  • 21
  • 125
  • 196
0
votes
0 answers

emacs ess julia hangs on "using DataFrames"

I'm trying to follow a very simple example to get started with Julia using ESS. But the very first command: using DataFrames results in emacs' spinning slash, nothing else happens, and the command prompt is not restored. This is emacs 24.3.1 on OS…
mobileink
  • 163
  • 1
  • 7
0
votes
1 answer

Why doesn't Julia's Gadfly and draw work inside of Emacs?

Why does "draw" not work when run inside ESS + emacs (but works fine using the interpreter conventionally "julia myfile.jl")? using Gadfly draw(SVG("output.svg", 6inch, 3inch), plot([sin, cos], 0, 25)) julia> ERROR: draw not…
user492922
  • 925
  • 2
  • 12
  • 23
1 2 3
18
19