[Rd] all.equal() improvements (PR#8191)

2005-10-09 Thread atp
--k1lZvvs/B4yU6o8G Content-Type: text/plain; charset=us-ascii Content-Disposition: inline The attached patch against R 2.2.0 makes the following improvements to the all.equal() function: 1. Check names! Stock R all.equal() (unlike S-Plus) ignores names completely on some objects. I consider

[Rd] [ subscripting sometimes loses names (PR#8192)

2005-10-09 Thread atp
method. # library(missing) is an example: The multiple imputations # on an object get lost if subscripted with this function. } else { if (!missing(drop) && drop && length(nrow(result)) > 0 && nrow(result)==1) { #replicate docum

Re: [Rd] [ subscripting sometimes loses names (PR#8192)

2005-10-19 Thread atp
On Wed, Oct 19, 2005 at 02:33:50PM +0200, Martin Maechler wrote: > Proper R bug reports provide short "cut & paste" executable > example code {i.e. no prompt, no output} or at least the > transcript of such code {transcript : input (+ prompt) + output}. My patch includes the function dtk.test.br

Re: [Rd] [ subscripting sometimes loses names (PR#8192)

2005-10-19 Thread atp
Here is an example of the losing names problem in stock R 2.2.0. Note that below, only stock R packages are loaded, and then I manually source in just my dtk.test.brace.names() testing function, nothing else. Since the list-of-lists output of dtk.test.brace.names() is very lengthy, I've manually

[Rd] R segfault in fgets from do_system under high memory use (PR#14008)

2009-10-15 Thread atp
Full_Name: Andrew Piskorski Version: R 2.9.2 (Patched), 2009-09-24, svn.rev 49930, x86_64-unknown-linux-gnu OS: Linux, Ubuntu 8.04.3 LTS Submission from: (NULL) (66.31.65.247) I have a large memory test case which segaults R everytime in an fgets call from R's do_system (see below). This appears

[Rd] bugs.r-project.org, Submit Changes does nothing (PR#14009)

2009-10-15 Thread atp
Full_Name: Andrew Piskorski Version: not applicable, web-based R bug tracker OS: not applicable, web-based R bug tracker Submission from: (NULL) (66.31.65.247) Once I have submitted a bug via the bugs.r-project.org web interface, I can find the bug and view it. E.g.: http://bugs.r-project.org

Re: [Rd] PR#14008, R segfault in fgets from do_system under high memory use

2009-10-15 Thread atp
On this issue: http://bugs.r-project.org/cgi-bin/R/incoming?id=14008 Here's a small patch which fixes the problem: $ svn diff src/main/sysutils.c src/unix/sys-unix.c Index: src/main/sysutils.c === --- src/main/sysutils.c (revisio

[Rd] R trunk (2.7) build fails with -fpic, needs -fPIC (PR#10372)

2007-10-24 Thread atp
On Linux x86-64 (Ubuntu 6.06), the latest R sources from the Subversion trunk fail to build with the following "recompile with -fPIC" error: $ ./configure --with-x=yes --prefix=$inst_dir --enable-R-shlib --with-tcltk=/usr/lib/tcl8.4 --with-tcl-config=/usr/lib/tcl8.4/tclConfig.sh $ make /us