[Rd] cannot connect to an FTP server with long HELLO message

2010-10-22 Thread Hervé Pagès
Hi, Trying to access files on the ftp server at ftp.ncbi.nih.gov will either give a time out or sometimes even a segfault on Linux. The 2 following methods give the same results: f - url(ftp://ftp.ncbi.nih.gov/pub/geo/DATA/SOFT/GDS/GDS10.soft.gz;, open=r)

[Rd] Linking to lapack

2010-10-22 Thread Nick Sabbe
Hello all. I'm developing a package for R holding a Gibbs sampler, which tends to have better performance when written in C than in R. During each iteration in the Gibbs sampler, I need the inverse of a symmetric matrix. For this, I wish to use lapack, as is concisely suggested in Writing R

Re: [Rd] Linking to lapack

2010-10-22 Thread Douglas Bates
On Fri, Oct 22, 2010 at 4:30 AM, Nick Sabbe nick.sa...@ugent.be wrote: Hello all. I'm developing a package for R holding a Gibbs sampler, which tends to have better performance when written in C than in R. During each iteration in the Gibbs sampler, I need the inverse of a symmetric matrix.

Re: [Rd] [R] R-2.12.0 hangs while loading RGtk2 on FreeBSD

2010-10-22 Thread Michael Lawrence
On Thu, Oct 21, 2010 at 9:42 AM, Rainer Hurling rhur...@gwdg.de wrote: [moved from R-help] On 21.10.2010 18:09 (UTC+1), Prof Brian Ripley wrote: If you do R CMD INSTALL --no-test-load this will skip the part that is hanging and you can try loading in stages (e.g. dyn.load on the RGtk2.so).

Re: [Rd] Linking to lapack

2010-10-22 Thread Matt Shotwell
On Fri, 2010-10-22 at 05:30 -0400, Nick Sabbe wrote: Hello all. I'm developing a package for R holding a Gibbs sampler, which tends to have better performance when written in C than in R. During each iteration in the Gibbs sampler, I need the inverse of a symmetric matrix. For this, I wish

Re: [Rd] [R] R-2.12.0 hangs while loading RGtk2 on FreeBSD

2010-10-22 Thread Rainer Hurling
On 22.10.2010 14:57 (UTC+1), Michael Lawrence wrote: On Thu, Oct 21, 2010 at 9:42 AM, Rainer Hurling rhur...@gwdg.de mailto:rhur...@gwdg.de wrote: [moved from R-help] On 21.10.2010 18:09 (UTC+1), Prof Brian Ripley wrote: If you do R CMD INSTALL --no-test-load this will skip

[Rd] Reference classes

2010-10-22 Thread Jon Clayden
Dear all, First, many thanks to John Chambers, and anyone else who was involved, for the new support for reference classes in R 2.12.0. It's nice to see this kind of functionality appear in a relatively R-like form, and with the blessing of the core team. In some contexts it is undoubtedly

[Rd] CRAN: Windows builds/pages outdated?

2010-10-22 Thread Henrik Bengtsson
FYI, in case you are not aware of it, both http://cran.r-project.org/bin/windows/base/rpatched.html http://cran.r-project.org/bin/windows/base/rdevel.html link to old builds (2010-10-14 r53300). /Henrik __ R-devel@r-project.org mailing list

Re: [Rd] new.env does not recognize parents from subclassesof environment

2010-10-22 Thread Vitally S.
Yet another inconsistency. environment- does not work with S4: setClass(myenv, contains = environment) [1] myenv env - new(myenv) tf - function(x){x} environment(tf) - env Error in environment(tf) - env : replacement object is not an environment Vitally. John Chambers

Re: [Rd] Reference classes

2010-10-22 Thread John Chambers
Last question first: More generally, I was wondering how firm the commitment is to providing this kind of programming mechanism. I know it's likely to change in some ways in future releases, but can I use it in packages, trusting that only a few tweaks will be needed for compatibility with

Re: [Rd] Reference classes

2010-10-22 Thread John Chambers
One correction: On 10/22/10 10:55 AM, John Chambers wrote: . As a suggestion, it would be nice if the accessors() method could be used to create just getters or just setters for particular fields, although I realise this can be worked around by removing the unwanted methods afterwards.

Re: [Rd] new.env does not recognize parents from subclassesof environment

2010-10-22 Thread Vitally S.
John Chambers j...@stanford.edu writes: You need to update your version of R (r-devel or 2.12 patched) to rev 53385 or later, and read NEWS, particularly the line: - Assignment of an environment to functions or as an attribute to other objects now works for subclasses of environment. I

Re: [Rd] [R] R-2.12.0 hangs while loading RGtk2 on FreeBSD

2010-10-22 Thread Rainer Hurling
On 22.10.2010 16:18 (UTC+2), Rainer Hurling wrote: On 22.10.2010 14:57 (UTC+1), Michael Lawrence wrote: On Thu, Oct 21, 2010 at 9:42 AM, Rainer Hurling rhur...@gwdg.de mailto:rhur...@gwdg.de wrote: [moved from R-help] On 21.10.2010 18:09 (UTC+1), Prof Brian Ripley wrote: If you do R CMD

Re: [Rd] Reference classes

2010-10-22 Thread Jon Clayden
On 22 October 2010 18:55, John Chambers j...@r-project.org wrote: As a suggestion, it would be nice if the accessors() method could be used to create just getters or just setters for particular fields, although I realise this can be worked around by removing the unwanted methods afterwards.

[Rd] possible error checking bug and documentation bug in ts

2010-10-22 Thread Charles Geyer
The documentation for ts says Only one of ‘frequency’ or ‘deltat’ should be provided but why doesn't it enforce this with     stopifnot(missing(frequency) || missing(deltat)) Wouldn't that work?  Also the documentation does not say what valid time series parameters are. To find that out one