[Rd] Can configure.ac detect 64 bit R?

2007-06-06 Thread jhallman
My fame package has to link to the libchli.so that comes with FAME. However, FAME is now supplying both 32 and 64 bit versions of the library. The 32-bit version is $FAME/hli/libchli.so while the 64-bit version is $FAME/hli/64/libchli.so. To set the right flags, it seems that I need to know, from

Re: [Rd] Can configure.ac detect 64 bit R?

2007-06-06 Thread Prof Brian Ripley
On Tue, 5 Jun 2007, [EMAIL PROTECTED] wrote: > My fame package has to link to the libchli.so that comes with FAME. > However, FAME is now supplying both 32 and 64 bit versions of the > library. The 32-bit version is $FAME/hli/libchli.so while the 64-bit > version is $FAME/hli/64/libchli.so. To se

[Rd] Quick notes on R with F7

2007-06-06 Thread Marc Schwartz
Hi all, Just a quick heads up that I made the plunge into F7 this week. R version 2.5.0 Patched (2007-06-05 r41831) compiles and passes make check-all. F7 is using: [EMAIL PROTECTED] ~]$ gcc --version gcc (GCC) 4.1.2 20070502 (Red Hat 4.1.2-12) Some quick F7 notes: 1. Do a clean install rath

Re: [Rd] Quick notes on R with F7

2007-06-06 Thread Prof Brian Ripley
Marc, Thanks for the report. We had noted the release date for F7 as one of the milestones to take account of in scheduling 2.5.1, and thought we might just know an early adopter. Unfortunately the other milestone (the release of gcc 4.2.0 for MinGW has not happened on the promised date, June

[Rd] C function with unknown output length

2007-06-06 Thread Vincent Goulet
Hi all, Could anyone point me to one or more examples in the R sources of a C function that is called without knowing in advance what will be the length (say) of the output vector? To make myself clearer, we have a C function that computes probabilities until their sum gets "close enough" t

Re: [Rd] C function with unknown output length

2007-06-06 Thread Dirk Eddelbuettel
Salut Vincent, On 6 June 2007 at 13:17, Vincent Goulet wrote: | Could anyone point me to one or more examples in the R sources of a C | function that is called without knowing in advance what will be the | length (say) of the output vector? | | To make myself clearer, we have a C function th

Re: [Rd] Quick notes on R with F7

2007-06-06 Thread Gavin Simpson
On Wed, 2007-06-06 at 17:58 +0100, Prof Brian Ripley wrote: > Marc, > > Thanks for the report. We had noted the release date for F7 as one of the > milestones to take account of in scheduling 2.5.1, and thought we might > just know an early adopter. Unfortunately the other milestone (the > re

Re: [Rd] C function with unknown output length

2007-06-06 Thread Herve Pages
Vincent Goulet wrote: > Hi all, > > Could anyone point me to one or more examples in the R sources of a C > function that is called without knowing in advance what will be the > length (say) of the output vector? > > To make myself clearer, we have a C function that computes > probabilities

Re: [Rd] Quick notes on R with F7

2007-06-06 Thread Hin-Tak Leung
FWIW, I did an in-place upgrade via Yum (http://fedoraproject.org/wiki/YumUpgradeFaq) and it is viable - in fact I did the upgrade+reboot remotely; R and mingw-cross both seem to survive the upgrade. $ rpm -qa |wc -l 2050 $ rpm -qa |grep 'fc6' |wc -l 149 $ rpm -qa |grep 'fc7' |wc -l 1295 Before up

Re: [Rd] C function with unknown output length

2007-06-06 Thread Bill Dunlap
On Wed, 6 Jun 2007, Vincent Goulet wrote: > Could anyone point me to one or more examples in the R sources of a C > function that is called without knowing in advance what will be the > length (say) of the output vector? > > To make myself clearer, we have a C function that computes > probabilitie

Re: [Rd] Quick notes on R with F7

2007-06-06 Thread Marc Schwartz
I did that from 5 to 6, using the DVD ISO file (mounted as a loopback device) as a local yum repo. It worked quickly, since it was HD to HD. It was hairy however and as noted in the FAQ, left things to be cleaned up after the upgrade. I was less comfortable doing it again from 6 to 7. Figured t