Re: [Rd] Inherited Methods in r-devel (for package maintainers mainly)

2009-01-27 Thread John Chambers
These changes have been reverted (temporarily, I strongly hope) to sort out some incompatibilities with the Matrix recommended package. They will be available on a branch for experimentation, once I sort out how to work with svn branches. John John Chambers wrote: A recently committed reviso

Re: [Rd] Package (PR#13475)

2009-01-27 Thread Duncan Murdoch
On 1/27/2009 2:02 PM, William Dunlap wrote: You can put a trace on normalizePath to get the name of the offending input file name. E.g., > trace(normalizePath, Quote(cat("normalizePath: path=", path, "\n"))) Tracing function "normalizePath" in package "utils" [1] "normalizePath" > i

Re: [Rd] Package (PR#13475)

2009-01-27 Thread William Dunlap
You can put a trace on normalizePath to get the name of the offending input file name. E.g., > trace(normalizePath, Quote(cat("normalizePath: path=", path, "\n"))) Tracing function "normalizePath" in package "utils" [1] "normalizePath" > install.packages("sn") trying URL 'http://cr

Re: [Rd] uninitialised value in R (PR#13476)

2009-01-27 Thread Mathieu Ribatet
Hi Martin, I wasn't able to compile your files. Replacing "extern "C" SEXP XXX();" by "SEXP XXX();" solve the issue and I got no message from valgrind - I'm not sure this is what you really want to do though. I hope this might help. Cheers, Mathieu schlat...@math.uni-goettingen.de a écrit :

Re: [Rd] Package (PR#13475)

2009-01-27 Thread Duncan Murdoch
On 1/27/2009 10:15 AM, partho_bhowm...@ml.com wrote: Full_Name: Partho Bhowmick Version: 2.8.1 OS: Windows XP Submission from: (NULL) (199.43.48.131) While trying to install package sn (I have tried multiple mirrors), I get the following message trying URL 'http://www.revolution-computing.com

Re: [Rd] small bug in base::formatC (PR#13474)

2009-01-27 Thread Simon Urbanek
On Jan 27, 2009, at 8:20 , bernd_bis...@gmx.net wrote: Full_Name: Bernd Bischl Version: 2.8.1 OS: Windows XP Professional Submission from: (NULL) (129.217.207.95) Hi, there seems to be a small bug in formatC: formatC("foo", format="s", mode="charcacter") Error in formatC("foo", format = "s

[Rd] Package (PR#13475)

2009-01-27 Thread partho_bhowmick
Full_Name: Partho Bhowmick Version: 2.8.1 OS: Windows XP Submission from: (NULL) (199.43.48.131) While trying to install package sn (I have tried multiple mirrors), I get the following message trying URL 'http://www.revolution-computing.com/cran/bin/windows/contrib/2.8/sn_0.4-10.zip' Content ty

[Rd] uninitialised value in R (PR#13476)

2009-01-27 Thread schlather
Hi, I get an "Conditional jump or move depends on uninitialised value(s)" from valgrind when using 'solve' in combination with some simple C-code. (I did not use other functions of R besides 'solve'.) In detail: running R --vanilla -d "valgrind --tool=memcheck --memcheck:leak-check=yes --num-ca

Re: [Rd] Return values from .Call and garbage collection

2009-01-27 Thread Jon Senior
On Tue, 27 Jan 2009 12:25:12 - "Sklyar, Oleg \(London\)" wrote: > Most likely issue is your code itself, out of range indexing, failure to > initialise all elements of the allocated structure correctly, 1 and not > 0-based indexing, use of other R variables for initialisation that > should ha

[Rd] small bug in base::formatC (PR#13474)

2009-01-27 Thread bernd_bischl
Full_Name: Bernd Bischl Version: 2.8.1 OS: Windows XP Professional Submission from: (NULL) (129.217.207.95) Hi, there seems to be a small bug in formatC: formatC("foo", format="s", mode="charcacter") Error in formatC("foo", format = "s", mode = "charcacter") : 'mode' must be "double" ("real

Re: [Rd] Return values from .Call and garbage collection

2009-01-27 Thread Sklyar, Oleg (London)
- R is not multithreaded (or so it was) and thus race condition cannot occur - I would think there is no call to GC at the time of assignment of the return value to a variable. GC is only called within other R calls as R as mentioned above is not multithreaded Most likely issue is your code itself

Re: [Rd] Return values from .Call and garbage collection [Additional information added]

2009-01-27 Thread Duncan Murdoch
On 27/01/2009 7:11 AM, Jon Senior wrote: Hi all, I'm posting this here as it discusses an issue with an external C library. If it would be better in R-Help, then I'll repost. I'm using an external library which I've written, which provides a large set of data (>500MB in a highly condensed for

[Rd] Return values from .Call and garbage collection [Additional information added]

2009-01-27 Thread Jon Senior
Hi all, I'm posting this here as it discusses an issue with an external C library. If it would be better in R-Help, then I'll repost. I'm using an external library which I've written, which provides a large set of data (>500MB in a highly condensed format) and the tools to return values from t

[Rd] Return values from .Call and garbage collection

2009-01-27 Thread Jon Senior
Hi all, I'm posting this here as it discusses an issue with an external C library. If it would be better in R-Help, then I'll repost. I'm using an external library which I've written, which provides a large set of data (>500MB in a highly condensed format) and the tools to return values from t