[Rd] How to enable core dump?

2010-04-09 Thread Wincent
Dear all, I encountered a core dump like this, (R:24072): Gdk-CRITICAL **: gdk_drawable_get_display: assertion `GDK_IS_DRAWABLE (drawable)' failed *** caught segfault *** address 0x78, cause 'memory not mapped' Possible actions: 1: abort (with core dump, if enabled) 2: normal R exit 3: exit R

Re: [Rd] hist.default()$density

2010-04-09 Thread Martin Becker
Dear developers, since running 'example(hist)' produces ... hist sum(r$density * diff(r$breaks)) # == 1 [1] 0.999 ... I suppose that the current behaviour of hist() is not as intended (and documented). So, please find attached (and inline below) a (trivial) patch for hist.default(). Best

Re: [Rd] How to enable core dump?

2010-04-09 Thread peter dalgaard
On Apr 9, 2010, at 9:59 AM, Wincent wrote: Dear all, I encountered a core dump like this, (R:24072): Gdk-CRITICAL **: gdk_drawable_get_display: assertion `GDK_IS_DRAWABLE (drawable)' failed *** caught segfault *** address 0x78, cause 'memory not mapped' Possible actions: 1: abort

Re: [Rd] How to enable core dump?

2010-04-09 Thread Prof Brian Ripley
On Fri, 9 Apr 2010, Wincent wrote: Dear all, I encountered a core dump like this, Or it seems, *no* core dump! (R:24072): Gdk-CRITICAL **: gdk_drawable_get_display: assertion `GDK_IS_DRAWABLE (drawable)' failed *** caught segfault *** address 0x78, cause 'memory not mapped' Possible

Re: [Rd] How to enable core dump?

2010-04-09 Thread Wincent
Thank you, both prof Brian and Peter. OS is ubuntu with bask. rghu...@ubuntu:~$ ulimit -c 2000 ## it works rghu...@ubuntu:~$ R sessionInfo() R version 2.11.0 beta (2010-04-07 r51635) x86_64-unknown-linux-gnu locale: [1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C [3] LC_TIME=en_US.UTF-8

[Rd] Line breaks in mathematical formulae in Rd files

2010-04-09 Thread Daniel Elliott
Hello, I would like to implement the feature request described here: https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=13287. I think this is a very worthwhile feature. However, I need just a little push in the right direction. When I added either a new command or change the old one to use

Re: [Rd] Line breaks in mathematical formulae in Rd files

2010-04-09 Thread Daniel Elliott
Ok, this link to the feature request works: https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=13287 On Fri, Apr 9, 2010 at 9:05 AM, Daniel Elliott danelliotts...@gmail.com wrote: Hello, I would like to implement the feature request described here:

[Rd] possible bug in tools:::getRemotePkgDepends ?

2010-04-09 Thread Ben Bolker
Executive summary: getRemotePkgDepends seems to use the wrong default string to (try to) download the CRAN package information. Someone asked me about the behavior of tools::pkgDepends() , and in investigating I discovered the following: ##

Re: [Rd] Line breaks in mathematical formulae in Rd files

2010-04-09 Thread Yihui Xie
Hi Dan, With R 2.10.1 and MikTeX 2.8, the method I proposed still works for me. You don't need to escape \ there: \\ is the right line break. For the time being, I guess you have to write more than one \deqn{}'s if you have a multiple-line equation. Regards, Yihui -- Yihui Xie