Dear all,

First I would like to thank the ESS people's all the hard work. I am watching the project closely and witnessing the improvements day by day.

Besides I found a strange situation using `ess-tracebug'. Please tell me if I am wrong or this is a bug.

Start Emacs with "emacs -Q" and load ESS and enable ess-tracebug.

Create a file named `testFun1.R' with the following contents
testFun1<-function(x)
  {
    y <- x+2
    browser()
    return(y)
  }

testFun1(2)

Then start R under the same directory and run the command
source("testFun1.R")

which will show the following information
source("testFun1.R")
Called from: testFun1(2)
Browse[1]> debug at testFun1.R#5: return(y)

Then if I left click `testFun1.R#5' I get this error
Wrong type argument: listp, [cl-struct-compilation--message (nil 5 
(("testFun1.R" nil) nil (5 #1)) nil nil) 2 nil]

Here are some system information might be useful

Emacs version
GNU Emacs 24.0.94.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.2.3) of 
2012-02-27 on nova

ESS version
SVN trunk@4690

Linux version
3.2.0-2-amd64 (Debian 3.2.9-1) (debian-ker...@lists.debian.org) (gcc version 
4.6.3 (Debian 4.6.3-1) ) #1 SMP Sun Mar 4 22:48:17 UTC 2012


Best regards,

Feng

--
Feng Li
Department of Statistics
Stockholm University
106 91 Stockholm, Sweden
http://feng.li/

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to