Displaying 20 results from an estimated 10000 matches similar to: "Calling Emacs Lisp Code/Function from R"
2023 Nov 10
1
Calling Emacs Lisp Code/Function from R
I'm not an Emacs user, but the ESS-help mailing list (see
ess.r-project.org) might be able to help with this.
Duncan Murdoch
On 10/11/2023 3:43 a.m., Iris Simmons wrote:
> Hi,
>
>
> I'm using R in Emacs and I'm interested in programatically knowing the
> details of all opened buffers; details such a buffer name, size, mode,
> and possibly associated filename.
2023 Nov 10
1
Calling Emacs Lisp Code/Function from R
Hi,
if you run a server in your Emacs session you can use emacsclient to
send a lisp call to the server. There's an example here:
https://emacs.stackexchange.com/questions/54156/how-can-i-query-emacs-from-a-separate-process/54161#54161
Regards,
Martin Gregory
On 11/10/23 11:18, Duncan Murdoch wrote:
> I'm not an Emacs user, but the ESS-help mailing list (see
>
2007 Mar 20
1
getting ess/emacs to link with a remote instance of R
I am running ess/emacs on Linux and have an R instance running on a
remote Unix server. I would like to be able to direct input from my ess
buffer to R (hope I am using the right lingo, I am new to emacs).
The ess manual contains a section describing how to do just that, but a
prerequisite is to install a lisp file ssh.el , which can be found at
2009 Dec 02
1
Calling R (GNU R) functions from Common Lisp, how?
Hi Lisp users,
I'm a user of both Common Lisp and R (GNU R).
I found R has a rich collection of statistical and numerical
computation functions, while it is not as extensible as Lisp (Common
Lisp).
I considered Lisp-Stat but its only implementation is not in the
usuall Common Lisp, and the available functions in CRAN are far richer
than Lisp-Stat currently has.
I want to know if there is
2001 Mar 03
11
Emacs & ESS under Windows
After the discussions about appropriate editors under Windows to use with
R, I have managed to install Emacs, XEmacs, and ESS under WinNT 4.0, and
these work fine. It's not necessary to compile anything to use R with ESS,
just to install Emacs and ESS, and do a few modifications in some files.
XEmacs is also easy to install but apparently ESS cannot run with it
(confirmed by a message by Tony
2011 Sep 11
1
Emacs ESS finding all versions of R
Dear R-help,
Apologies if this isn't exactly the right place for this question.
I am trying to run R in emacs using ESS. I have done this
successfully many times - it works right now on my home computer in
windows 7 and in ubuntu.
The problem is that when I start emacs the regular splash screen
doesn't show. In the mini-buffer I get the message "Finding all
versions of R on your
2008 Jul 23
1
Calling LISP programs in R
I have written some programs in Common Lisp and I have been using SAS to pipe
those programs to my lisp compiler in batch mode by using the %xlog and
%xlst SAS commands. I wonder if there is in R a similar way to pipe commands
to LISP so that all my work would be concentrated in R even when I have to
call a LISP program? I have looked at the foreign library but this seems to
adjust data types not
2007 Jan 30
1
Emacs spec parsing?
Hi,
Did anyone with better emacs lisp knowledge than me already come up
with a function like spec-at-point which finds the specify and context
declaration for the current cursor position and returns a string which
can be used to be passed to the --spec option of the spec runner?
Damn that would be useful ...
I am currently using a function that runs spec --line with the current
line number, the
2003 Nov 13
1
Can't get Sweave syntax highlighting with Emacs
I can't get Emacs to automatically do syntax highlighting of
Sweave files. I have followed Friedrich's suggestion for code
to insert into my .emacs file. The complete section from my .emacs
file is given below. When I load a *.Snw file, font is white until I press
M-x, then the first code and document chunks get highlighted, but not
the rest of the file. Latex and Noweb menus are
2010 Jan 03
2
Emacs vs Eclipse vs Rcmdr
Hi everyone,
I could have posted this on R-devel or the GUI list, however don't
feel it's that serious.
Hence, decided R-help would be the most appropriate.
I'm not so much interested in which is the best user interface for R.
Rather which is the best ***platform*** for developing ***new*** user
interfaces for R.
Noting I'm using the term user interface is a very general sense.
2010 Sep 06
4
How to run R on Emacs+ESS
Hi folks,
Debian 504 64-bit
I found following document;
http://www.biostat.wisc.edu/~kbroman/Rintro/
Whether it is the right document for installing Emacs+ESS and R so that R can
run on Emacs?
TIA
B.R.
Stephen L
2004 Feb 12
1
Porting let* from Common LISP to R
In porting some Common LISP code to R, I am trying to found out whether special
care must be taken for the let* function. In Common LISP, "the let* block
is like
let except it is guaranteed to evaluate the initialization of its local
variables in sequentially nested scopes, i.e. it provides an order to the
binding and visibility of preceding variables.".
I have included the recursive
2006 Feb 05
30
Emacs rails.el
Features:
* Management WEBrick - start, stop
* Viewing log files
* Abbrev from TextMate
* Switching between View/Action
http://www.emacswiki.org/cgi-bin/emacs/rails.el
2006 Mar 14
3
rails on emacs - need a working .emacs sample
I would like to hear from some one who has ecb, multiple modes with
ruby mode + html mode, rails mode all working together and playing
well.
I had ecb working with Ruby syntax highlighting. That was a no-brainer
since I just had to apt-get them on my Debian Sarge box.
It got a bit more comlex after I got most of the .el files in the articles
http://www.emacswiki.org/cgi-bin/emacs/RubyOnRails
2005 Oct 03
2
access to R parse tree for Lisp-style macros?
R folks, I'm curious about possible support for Lisp-style macros in
R. I'm aware of the "defmacro" support for S-Plus and R discussed
here:
http://www.biostat.wustl.edu/archives/html/s-news/2002-10/msg00064.html
but that's really just a syntactic short-cut to the run-time use of
substitute() and eval(), which you could manually put into a function
yourself if you cared
2001 Dec 26
1
ESS 5.1.19 w/Xemacs 21.4.6
Probably wrong group for this, but a quick question. I've just switched
from emacs to Xemacs. In reinstalling ESS 5.1.19 I keep getting the
following error when loading Xemacs:
"Error in init file: Symbol's function definition is void: w32-using-nt"
I've debugged the ess-site.el file, which is where the error originates
from. The line causing the difficulty is:
2007 Sep 06
3
Lisp-like primitives in R
I mainly program in Common Lisp and use R for statistical analysis.
While in R I miss the power and ease of use of Lisp, especially its many
primitives such as find, member, cond, and (perhaps a bridge too far)
loop.
Has anyone created a package that includes R analogs to a subset of Lisp
functions?
Chris Elsaesser, PhD
Principal Scientist, Machine Learning
SPADAC Inc.
7921 Jones
2004 Aug 09
1
ess settings
Dear R users,
I downloaded an ess-5.2.2 package and hope to use emacs as
front to work with R. I modified ~/.emacs and start R by
M-x R. But I found when I quited the R session, it still asked me to
save the work space or not. I added inferior-R-args with
"--save" args. But it seemed that it had no effect. Can
you tell me how to pass the arguments other than
--no-readline to
2006 Apr 19
4
emacs rails 0.39
Testing version of Emacs Rails (http://rubyforge.org/projects/emacs-rails/)
was released. If you have some suggestion or you find some bugs please
inform us.
Features:
* Management of WEBrick/Mongrel
* Display color log file
* Toggle Switch between Action/View and other file (tests, helpers)
automaticly or with menu
* Switching to file from current line f.e. from redirect_to :controller =>
2004 Sep 29
2
problems with ESS & R ...
Hi!
I have R 1.9.1, Mac OS X 10.3.5, GNU Emacs 21.2.1 and ESS 5.2.3.
I installed today the ESS by not changing ess-site.el, but creating
.emacs in $home with the single line:
$ cat ~/.emacs
(load "/usr/local/lib/ess-5.2.3/lisp/ess-site")
If I start now emacs and then R (with M-x R) then I get:
> options(STERM='iESS', editor='emacsclient')
but using fix() oder