Re: [Rd] Probem with argument "append" in "Rprof"

2007-03-31 Thread Romain Francois
And now I realize I gave the patches in the wrong order, let me try again Cheers, Romain Romain Francois wrote: > [forgot to attach the second patch in the first mail, sorry.] > > Hello, > > Appending information to the profiler's output seems to generate > problems. Here is a small example

Re: [Rd] Matrix package: compilation error

2007-03-31 Thread Rainer Hurling
Thank you Andrew, 'setenv MAKE gmake' did it. Now I can use latest spdep package :-) Rainer Andrew Robinson schrieb: > Hi Rainer, > > check the following post for an alternative solution: > > http://tolstoy.newcastle.edu.au/R/help/06/01/18908.html > > if you would like more detailed instruc

[Rd] Probem with argument "append" in "Rprof"

2007-03-31 Thread Romain Francois
[forgot to attach the second patch in the first mail, sorry.] Hello, Appending information to the profiler's output seems to generate problems. Here is a small example of code : require(boot) Rprof( memory.profiling = TRUE) Rprof(NULL) for(i in 1:2){ Rprof( memory.profiling = TRUE, append = T

[Rd] Probem with argument "append" in "Rprof"

2007-03-31 Thread Romain Francois
Hello, Appending information to the profiler's output seems to generate problems. Here is a small example of code : require(boot) Rprof( memory.profiling = TRUE) Rprof(NULL) for(i in 1:2){ Rprof( memory.profiling = TRUE, append = TRUE) example(boot) Rprof(NULL) } The problem is that the

Re: [Rd] Matrix package: compilation error

2007-03-31 Thread Andrew Robinson
Hi Rainer, check the following post for an alternative solution: http://tolstoy.newcastle.edu.au/R/help/06/01/18908.html if you would like more detailed instructions, let me know. Andrew On Sat, Mar 31, 2007 at 10:10:45PM +0200, Rainer Hurling wrote: > Thanks, Brian and Martin, > > I think y

Re: [Rd] Matrix package: compilation error

2007-03-31 Thread Rainer Hurling
Thanks, Brian and Martin, I think you are both right, Matrix tries to use BSD make (/usr/bin/make) on FreeBSD instead of GNU make (/usr/local/bin/gmake). Sorry, but I don't know how to persuade the configure script to use gmake :-( Rainer Prof Brian Ripley schrieb: > This is because of the G

Re: [Rd] Matrix package: compilation error

2007-03-31 Thread Martin Maechler
> "Rainer" == Rainer Hurling <[EMAIL PROTECTED]> > on Sat, 31 Mar 2007 19:03:44 +0200 writes: Rainer> Trying to compile the package Rainer> Matrix_0.9975-11.tar.gz Rainer> with newest R-2.5.0 alpha Rainer> (2007-03-31 r40986) on FreeBSD 7.0-CURRENT (i386) does FreeBS

Re: [Rd] Matrix package: compilation error

2007-03-31 Thread Prof Brian Ripley
This is because of the GNUism in Matrix/src/Makefile ## get rid of this, once we have 'Depends: R (>= 2.5.0)': ifeq (, $(findstring -lRlapack, $(LAPACK_LIBS))) SOURCES_LAPACK = else SOURCES_LAPACK = zpotf2.f zpotrf.f zlacgv.f endif I guess you know what you need to do to fix it for BSD make? On

[Rd] Problem with S4 inheritance: unexpected re-initialization?

2007-03-31 Thread cstrato
Dear all, To explain my problem I am attaching a demonstration package "myclasspkg": I have the following two S4 classes with similar inheritance: SubSubClassA <- SubClassB <- BaseClass SubSubClassB <- SubClassB <- BaseClass In R I am calling the following functions: > library(myclasspkg) >

[Rd] Matrix package: compilation error

2007-03-31 Thread Rainer Hurling
Trying to compile the package Matrix_0.9975-11.tar.gz with newest R-2.5.0 alpha (2007-03-31 r40986) on FreeBSD 7.0-CURRENT (i386) I get the following error: - R CMD INSTALL Matrix_0.9975-11.tar.gz * Installing to library '/usr/local/lib/R/library' * Installing *source* package 'Matrix' ... *

Re: [Rd] Too long pathname in bitmap() crashes R on WinXP

2007-03-31 Thread Henrik Bengtsson
Thanks. /Henrik On 3/31/07, Prof Brian Ripley <[EMAIL PROTECTED]> wrote: > It is also possible to trigger this on Unix: a buffer in postscript() is > PATH_MAX when it should be 2*PATH_MAX + 2. > > I'll fix this in 2.5.0 alpha (there is also a potential issue inside the > Windows' runcmd that needs