Displaying 20 results from an estimated 25 matches for "emacsclient".
2004 Sep 29
2
problems with ESS & R ...
...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 edit() doesn't work:
> fix(pc)
emacsclient: can't find socket; have you started the server?
Error in edit(name, file, editor) : problem with running editor
emacsclient
Maybe I forgot to do some simple steps??
Hope anybody could help me
Meinhard
2005 Mar 28
1
gnuclient problems witrh R/ESS in linux
Dear list,
Not strictly R ...
In R on Xemacs with ESS (R-2.0.1, Xemacs-21.4.15-r3, ESS-5.2.6)
on gentoo-linux
when I use k<-edit(k) or fix(k)
to change a small vector k <- c(1,2,3,4,5,6)
the opened window (called '6b8b4567') appears not to be connected to the
gnuclient
and I'm able to edit the file but has no instructions in the
minibuffer
and
C-x # gives
'6b8b4567 does
2004 Sep 24
2
emacs, Mac OS X, R
Hi!
Since August I am using emacs on my Macintosh to edit the R objects. I
have installed R 1.9.1, Mac OS X 10.3.5 and GNU Emacs 21.2.1. However
there are some issues I haven't resolved:
a) switch the caps lock key to the meta key (and when this is not
possible, switch the alt/option key to the meta). The switch should
work only within emacs!
b) having different colors for the code,
2004 Sep 24
0
fix and edit don't work the expected way
Hello,
I am tinkering a bit with options(), namely, how to query and set them
up to suit my needs.
1)
The basic problem seems that the editor entry in options looks like this:
> options()
---------------------------------------------------------
$editor
[1] "emacsclient"
---------------------------------------------------------
After setting this option to /usr/bin/emacs by doing:
> options(editor="/usr/bin/emacs")
I try to run fix(fun) or edit(fun) and run into this error:
-----------------------------------------------------------------
Err...
2004 Sep 26
2
how to set options (variables) permanently
...hould fire up the $editor, isn't it.
Instead of this I regularily I run into an error that there something
wrong with $editor.
-----------------------------------------------
> op <- options(); str(op)
Amongst many entries you'll find this:
$ editor : chr "emacsclient"
------------------------------------------------
Seems to be plain obivious that this command (instead of 'emacs' or
'/usr/bin/emacs') would never run.
So an options(editor="emacs") does the trick, I already found out......
But it is very uncomfortable to set the...
2000 Jul 12
1
buglet in fix() [was "function via source or fix"] (PR#602)
...the environment.
Ok, in the above it was important that there's no *existing* object x.e
beforehand.
Note that the idea about fix() is that you only have to write
fix(x.e)
But your problem remains :
> fix(newerf)
Waiting for Emacs...Done --- I have options(editor = "emacsclient")
> newerf
function ()
{
## newer
}
<environment: 0x40862004>
> environment(newerf)
<environment: 0x40862004>
> ls(env=environment(newerf))
[1] "subx" "x"
>
I.e. it got the environment of the function f...
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 lis...
2004 Jun 16
1
start-up problems
...opyright 2004, The R Foundation for Statistical Computing
Version 1.9.0 (2004-04-12), ISBN 3-900051-00-3
....
[Previously saved workspace restored]
Loading required package: stats
Error in .First() : couldn't find function "help.start"
> options(STERM='iESS', editor='emacsclient')
>
Not finding help.start is puzzling! Because of this error, x11 would
not start. Exchanging the lines with help.start and x11 would just
result in not finding x11!
Yet doing a manual
> help.start()
is possible.
Sorry for the lengthy description, but perhaps there is quite a si...
2000 Feb 11
1
Help System (PR#428)
Dear R developers,
sorry about the empty bug-report that I seem to have filed earlier.
(I wrote it via `bug.report()' from within R using `emacsclient'. I
wasn't aware that I have to save the file after pressing C-x # and
before sending it.) Hopefully this time it will work......
I noticed the following problem with the on-line help system:
1) I start an R session and type help.start().
2) In the web page that appears in my browser...
2006 Nov 03
1
data.entry(), de() fail in FC6-x86_64
...abrir o sistema de ajuda em HTML no seu
navegador.
Digite 'q()' para sair do R.
Loading Tcl/Tk interface ... done
[?rea de trabalho anterior carregada]
> if(!exists("baseenv", mode="function")) baseenv <- function() NULL
options(STERM='iESS', editor='emacsclient')
> >
>
> c <- c(1,2,3,4)
> de(c)
*** buffer overflow detected ***: /usr/lib64/R/bin/exec/R terminated
======= Backtrace: =========
/lib64/libc.so.6(__chk_fail+0x2f)[0x3d416e0dff]
/lib64/libc.so.6[0x3d416e2387]
/usr/lib64/R/modules//R_X11.so[0x2aaaaf413a3f]
/usr/lib64/R/modu...
2000 Feb 11
1
behaviour of bug.report (PR#432)
...,
it seems that I am in the mood of filing bug reports. Partly because
R-1.0 is approaching fast, partly to explain why I have send (yet)
another empty bug report.
My settings are as follows:
> options()$mailer
[1] "mailx"
> options()$method
NULL
> options()$editor
[1] "emacsclient"
My first attempt to send the last bug-report about "R CMD check
[nlme|MASS" was:
> bug.report(subject="`R CMD check [nlme|MASS]' fails")
Waiting for Emacs...Done
Submit the bug report? y
Sending email ...
sh: unexpected EOF while looking for `''
sh: -c: li...
2010 Mar 25
1
*** caught segfault *** address 0x18, cause 'memory not mapped'
...R Community,
I've been run the following codes. However, I've been getting an
unusual segfault
that I'm unable to trace its origin. Please give me a light to
decipher the "caught segfault"
Thanks for you attention.
Bernardo.
> options(STERM='iESS', editor='emacsclient')
> rm(list = ls())
> > source("fgenIGLD.R") #RNG of IGLD(mu,b,sigma)
> > source("fsYUTH.R") #the fucntions Y,U,Tbbarran and H necessary to calcualte the hat{b}
> > source("fMLEPFP.R") #the maximun likelihood profil...
2008 Jun 11
3
Rmpi segfault after install on Ubuntu Hardy Heron
...t R.
Loading required package: datasets
Loading required package: utils
Loading required package: grDevices
Loading required package: graphics
Loading required package: stats
Loading required package: graph
[1] "packages do not need updated"
> options(STERM='iESS', editor='emacsclient')
> library("Rmpi")
*** caught segfault ***
address 0x2104008, cause 'memory not mapped'
Traceback:
1: .Call("mpi_initialize", PACKAGE = "Rmpi")
2: f(libname, pkgname)
3: firstlib(which.lib.loc, package)
4: doTryCatch(return(expr), name, parentenv...
2018 Aug 28
1
"utils::file.edit" does not understand "editor" with additional arguments
I am using Sublime Text as my editor. If I run `subl -n .Rprofile` in bash, a file would be opened in a new window.
Back in R, if I run this
> file.edit(".Rprofile", editor="'subl -n'")
sh: 'subl -n': command not found
Warning message:
error in running command
However, the interesting bit happens when I run
edit(1:10, editor="'subl -n?")
It
2006 Jun 01
1
a matrix in a seprate window?
A very simple one but I cannot figure it out. I have a matrix and I want to
display it in a seprate window. I would really like it if it worked on both
linux and windows.
cheers
[[alternative HTML version deleted]]
2004 Jan 15
0
Sjava question on MacOS 10.3
...39; for more information and
'citation()' on how to cite R in publications.
Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for a HTML browser interface to help.
Type 'q()' to quit R.
> options(STERM='iESS', editor='emacsclient')
> library(SJava)
Warning message:
The Java machine is no longer initialized automatically. You must explicitly
load it in: firstlib(which.lib.loc, package)
> .JavaInit()
> JavaConfig()
Error: couldn't find function "JavaConfig"
> javaConfig()
$classPath
[1]
"/...
2000 Jul 12
1
function via source or fix
Hello R People:
Suppose I create a function, x.e, via the fix command:
> x.e <- fix(x.e)
When I type in x.e, the function code appears, along
with the name/number of the environment.
However, if I create a function, y.e, and source it in, when
I type in y.e, the function code only displays(no
environment).
Why is this, please? (It's not a bug....I just wondered).
I am using
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.
2017 Feb 15
5
[Bug 2677] New: Provide a way to set an environment variable from ssh_config
...o pass some more or less fixed string
from the client to the server side. E.g. when forwarding sockets, the
remote socket name needs to include some string unique to the local
side (like the host name) to avoid collisions between connections from
different hosts. Think gpg-agent forwarding or using emacsclient on the
remote host to open the file (via TRAMP) on the local host.
This is currently possibly by using a wrapper script around ssh that
sets some environment variable, but setting an environment variable
directly in ssh_config would make things a lot smoother (no messing
with PATH required). Being...
2013 Oct 31
2
Logging in to a virtual users Maildir
...set mbox_type="Maildir"
set spoolfile=imaps://steve at vmail-s/
set folder="/home/vmail/users/steve"
unset mark_old
set postponed="/home/vmail/users/steve/drafts/"
set postpone=ask-yes
set imap_check_subscribed
set abort_nosubject=yes
set include=yes
set editor="emacsclient %s"
set alias_file="/home/steve/.mutt/mutt-aliases
---------------------------------------------
.muttdebug0
[2013-10-31 14:35:23] Mutt/1.5.21 (2010-09-15) debugging at level 2
[2013-10-31 14:35:23] Reading configuration file '/etc/Muttrc'.
[2013-10-31 14:35:23] Reading configur...