Sebastien Vauban | 20 Aug 20:08 2014

Previous/Next error in ESS tracebug

Hello,

I'm trying to use the debugging features of tracebug, but have problems
understanding how to use 'em all; in particular, I already have troubles
using next/previous error.

As you can see on http://screencast.com/t/VKapcfM8S7m, the only answer
I get (be it in the source buffer or in the iESS buffer) is:

- Before first reference, or
- Beyond last reference

What am I missing?

Best regards,
  Seb

--

-- 
Sebastien Vauban

______________________________________________
ESS-help@... mailing list
https://stat.ethz.ch/mailman/listinfo/ess-help

Arvas Mikko | 15 Aug 12:33 2014
Picon

Problem with transcript file

Dear all,

as my emacs skills are rudimentary I don't know what to do with this error.

I want to start recording a transcript file at the start of emacs ESS R session.
Hence, I set:

(load  "/usr/share/emacs/site-lisp/ess/ess-site")
(setq ess-ask-about-transfile t)
in .emacs.

Then I start up emacs (GNU Emacs 24.3.1), ess and specify the name of the transcript file when prompted for it
and this is what happens:

Loading /usr/share/emacs/site-lisp/ess/ess-site...done
For information about GNU Emacs and the GNU system, type C-h C-a.
(New file)
Type C-h m for help on ESS version 13.09-1
Entering debugger...
inferior-ess-output-filter: Wrong type argument: markerp, nil [2 times]
inferior-ess-output-filter: Wrong type argument: markerp, nil

With additional degugging information:

Debugger entered--Lisp error: (wrong-type-argument markerp nil)
  comint-output-filter(#<process R> "\nR version 3.0.2 (2013-09-25) -- \"Frisbee
Sailing\"\nCopyright (C) 2013 The R Foundation for Statistical Computing\nPlatform:
x86_64-unknown-linux-gnu (64-bit)\n\n")
  inferior-ess-output-filter(#<process R> "\nR version 3.0.2 (2013-09-25) -- \"Frisbee
Sailing\"\nCopyright (C) 2013 The R Foundation for Statistical Computing\nPlatform:
(Continue reading)

Rob Richmond | 14 Aug 23:10 2014
Picon

Losing Mark in Knitr block

Hi All,

When I set a mark outside of a knitr/sweave block <<>>=  <at>  but then move in
to the block, the mark gets deactivated. Is it possible to disable this
behavior?

Thanks,

Rob

	[[alternative HTML version deleted]]

______________________________________________
ESS-help <at> r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/ess-help

Grant Rettke | 12 Aug 17:48 2014

Hook for ess-rdired-mode?

Good morning,

There are some functions that I would like to call every time that
ess-rdired-mode is entered.

Looking for a hook for ess-rdired-mode inside ess-rdired.el, I didn't find one.

Questions:
- Is there a hook elsewhere that I should use?
- If there is not, then should I submit a patch to ess-rdired.el to
define a hook?

Kind regards,

gcr

______________________________________________
ESS-help <at> r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/ess-help

Ross Boylan | 23 Jul 05:39 2014
Picon

problems when no julia found

In short, 3 issues:
1) When an older (13.09) version of ESS could not find julia a popup
window came up and could not be dismissed.  I had to kill emacs.  I have
been unable to reproduce this behavior (even using the same old
version).
2) With either current or older ESS, when julia isn't found bad things
happen.
3) It would be nice if ESS could find julia, in /usr/local/bin.

emacs 23.4.1 on Debian GNU/Linux stable (aka wheezy).  Exact ESS version
details at bottom.

Details.
1)
The popup said something like "no process: switch to buffer?".  If I hit
no (maybe it was cancel) the popup returned.  If I hit yes I got a popup
for directory selection; regardless of whether I clicked open or cancel,
I ended up back at the "no process: switch buffer" dialog.  Clicking the
close button on the  dialog had no effect, and emacs was greyed out
beneath the popup.

2)
Commands in emacs
M-x julia
provide a directory
status line shows: Searching for  program: no such file or directory, julia-basic
C-x C-b
status line: ESS (*julia:2*, julia-basic) starting data directory: ~/mydir
status line: Cannot read history file [snip]
C-x C-b
(Continue reading)

Sebastian Schubert | 21 Jul 15:30 2014
Picon

Disable font-lock-mode in .emacs

Hi,

disabling the font-lock-mode in the inferior ESS buffer increases the
performance considerably. I tried disabling it only for the inferior ESS
mode in the .emacs but was unsuccessful. I tried

(remove-hook 'inferior-ess-mode-hook `turn-on-font-lock)
(add-hook 'inferior-ess-mode-hook (lambda () (font-lock-mode 0)) t)

While I think only the first line should be necessary the first line
should not hurt...

Any idea what I can do? I'm at a GNU Emacs 24.3.1 with ESS 13.09.

Thank you,
Sebastian

______________________________________________
ESS-help <at> r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/ess-help

Bill Denney | 20 Jul 17:44 2014

Bug while in error=recover

When my fingers are quicker than my thoughts, I found a bug in ESS just now.

I have error set to recover with 

options(error=recover)

And I was debugging some code.  An error popped up, and gave the stack location selection option.  I then sent
more code to emacs by highlighting a region and pressing Ctrl-Enter.

Emacs then locked up and took no new input.  Pressing Ctrl-G didn't recover it.

Presumably, a fix would be to make the code that sends to R check if it is not at the recover selection prompt.

Thanks,

Bill
______________________________________________
ESS-help <at> r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/ess-help

Andreas Leha | 18 Jul 15:41 2014
Picon

BUG: package-index conflicts with devtools

Hi all,

I am experiencing a bug in the display of the help-index:  When the
'devtools' package is loaded, I cannot follow links therein, but get the
message
,----
| Error in strsplit(topic, "::") : non-character argument
`----
instead.

Steps to reproduce:

--8<---------------cut here---------------start------------->8---
library("devtools")
# M-x ess-display-package-index Matrix (for instance)
# move point to updown (for instance)
# RET
--8<---------------cut here---------------end--------------->8---

Regards,
Andreas

______________________________________________
ESS-help <at> r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/ess-help

ottorino | 15 Jul 13:16 2014
Picon

Re: ESS Sweave plug into Auctex problem

Thanks, Andreas, for your prompt answer.
I'm sorry but it seems that **I**'m not sheding light !!

I've removed/commented all the lines copied from your site

The AUCTeX Interface" is  ticked at start

Under "Command" I have

 Sweave
 Stangle
 Sweave
 LatexSweave

>> Pres>> Pressing C-c C-c defaults to View (even after making changes
>> to the file).
> Here C-c C-c out of chunks defaults to latex compilation.
> Within chunks send the commands to R (and start it if not present)

I confirm the behaviour described above.
I can add that:
the first C-c C-c send the whole chunk to R (and load R if it is not);
the second C-c C-c asks for a LaTeX compilation in the minibuffer.

>> Typing "Swe [TAB]" results in a "(no match)" in the minibuffer. 
I confirm. This happens both on ticking and de-ticking

>> Activating and de-activating the "AUCTeX Interface" then shows the 
>> Sweave and LatexSweave options on AUCTeX's Command menu,
> After doing this at the end of the dropdown menu "Command" I find
(Continue reading)

Bill Denney | 13 Jul 22:26 2014

install.packages Does not Show Package List

Hi,

When using install.packages in Windows (XP or Vista), I will often get
no response when using install.packages.  The issue appears to be the
repository selection that in the R GUI will pop up in a window and in
the command line will present a text list for selection.  In ESS, it hangs.

A work-around is to specify the repository, but as I don't always
remember to do this, I was wondering if there is another fix?

Thank you,

Bill

______________________________________________
ESS-help <at> r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/ess-help

Kevin Coombes | 7 Jul 18:45 2014
Picon

Finding 64-bit R versions on Windows

Hi,

I've been (mildly) unhappy for some time because, when ESS is finding 
the "latest" R on a 64-bit version of Windows, it always manages to find 
and start the 32-bit version.

And while I know that I can type "M-x R [tab]" and then click on the 
correct version, that always seems like too much work.

So, I wrote the function below (which I am sure someone else could make 
work much more elegantly and reliably) to always select the latest 
64-bit version. Now I sill have to type "M-x R64" but I'm more-or-less 
willing to do that.

Having offered up my solution to this problem, here's my request: Is it 
possible to make something like this a standard part of ESS? Better yet, 
would it be possible to define a new configuration variable so that the 
user could specify whether to invoke the latest 32-bit or latest 64-bit 
version when calling "M-x R"?

Best,
   Kevin

;; the ESS "latest" code always picks the 32-bit version of R on windows.
;; This hack finds the latest 64-bit version.
(defun R64 (&optional start-args)
   "Call the latest 64-bit version of R"
   (interactive "P")
   ;; sweep through the list of R-version commands
   ;; to find the 64-bit ones
(Continue reading)


Gmane