Re: [Rd] Link to R 2.12.0 patched build for windows

2010-10-26 Thread Prof Brian Ripley
Wrong list. Only the person who maintains that area (documented on the page above) can change this, and he is aware of it. It is never correct to report problems about the CRAN website on R-devel: there is a contact address for the CRAN webmasters (cran-ad...@r-project.org as I recall). On

Re: [Rd] windows 64-bit package build on 32-bit machine

2010-10-26 Thread Prof Brian Ripley
On Tue, 26 Oct 2010, Simon Urbanek wrote: On Oct 26, 2010, at 9:04 PM, Michael Spiegel wrote: Hello, Is it possible to build a 64-bit package on a 32-bit machine on windows? I can cross-compile for x86, x86_64, and ppc on a 32-bit OS X machine. And it looks like I could build a 32-bit libra

Re: [Rd] windows 64-bit package build on 32-bit machine

2010-10-26 Thread Hervé Pagès
Hi Michael, My understanding is that this should work. According to section "D.4.2 64-bit toolchain" of the "R Installation and Administration" manual: The toolchain we use is technically a cross-compiler: the tools run under 32-bit Windows but produce code to run under 64-bit Windows. BTW,

Re: [Rd] windows 64-bit package build on 32-bit machine

2010-10-26 Thread Michael Spiegel
Hmm. So our package does not have no src/Makefile.win and only an empty configure.win. We usually build a binary version with R CMD INSTALL --build. R --arch x64 CMD INSTALL --build yields the message "The system cannot find the path specified." On Tue, Oct 26, 2010 at 10:41 PM, Simon Urbanek

Re: [Rd] windows 64-bit package build on 32-bit machine

2010-10-26 Thread Simon Urbanek
On Oct 26, 2010, at 9:04 PM, Michael Spiegel wrote: > Hello, > > Is it possible to build a 64-bit package on a 32-bit machine on > windows? I can cross-compile for x86, x86_64, and ppc on a 32-bit OS X > machine. And it looks like I could build a 32-bit library on a 64-bit > windows machine. B

[Rd] windows 64-bit package build on 32-bit machine

2010-10-26 Thread Michael Spiegel
Hello, Is it possible to build a 64-bit package on a 32-bit machine on windows? I can cross-compile for x86, x86_64, and ppc on a 32-bit OS X machine. And it looks like I could build a 32-bit library on a 64-bit windows machine. But it doesn't look possible to build a 64-bit library on a 32-bit

[Rd] Link to R 2.12.0 patched build for windows

2010-10-26 Thread Brian Diggs
On the download page for windows builds of R 2.12.0: http://cran.r-project.org/bin/windows/base/ The link for "r-patched snapshot build" goes to: http://cran.r-project.org/bin/windows/base/rpatched.html which has a link for R-2.11.1 patched. I believe that link should go to: http://cran.r-pr

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

2010-10-26 Thread Hervé Pagès
Hi, On 10/26/2010 02:01 AM, Prof Brian Ripley wrote: The example works for me (eventually: the site was very slow to respond) --- nanoftp reads the response in 1024 byte chunks and makes sense of it. We do provide debugging facilites via, say, options(internet.info=0, warn=1, warning.length=400

Re: [Rd] Reference classes

2010-10-26 Thread John Chambers
What you've written will certainly generate an infinite recursion. How could it not? Specifying an accessor function says to the system "Any reference to this field should be evaluated by calling this function." But then you refer to the field in the function itself, which will result in a c

Re: [Rd] S4 methods for rbind()

2010-10-26 Thread Robin Hankin
Thank you very much for this Martin. It works! There were two gotchas: 1. One has to add 'deparse.level=1' to the setMethod() function argument list 2. Adding deparse.level=1 increments nargs() ...so the 3 should be 4. But now it works! Best wishes Robin On 26/10/10 13:49, Martin Morga

Re: [Rd] S4 methods for rbind()

2010-10-26 Thread Martin Morgan
On 10/26/2010 03:53 AM, Robin Hankin wrote: > Hello. > > I am trying to write an S4 method for rbind(). I have a class of objects > called 'mdm', and I want to be able to rbind() them to one another. > > I do not want the method for rbind() to coerce anything to an mdm object. > I want rbind(x1,x

Re: [Rd] Reference classes

2010-10-26 Thread Jon Clayden
On 23 October 2010 00:52, Jon Clayden wrote: > On 22 October 2010 18:55, 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 r

[Rd] S4 methods for rbind()

2010-10-26 Thread Robin Hankin
Hello. I am trying to write an S4 method for rbind(). I have a class of objects called 'mdm', and I want to be able to rbind() them to one another. I do not want the method for rbind() to coerce anything to an mdm object. I want rbind(x1,x2,x1,x2) to work as expected [ie rbind() should take any n

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

2010-10-26 Thread Prof Brian Ripley
The example works for me (eventually: the site was very slow to respond) --- nanoftp reads the response in 1024 byte chunks and makes sense of it. We do provide debugging facilites via, say, options(internet.info=0, warn=1, warning.length=4000) which may help you debug this. Simply fiddling wi