Re: [Rd] R valgrind question

2008-02-05 Thread Prof Brian Ripley
On Wed, 6 Feb 2008, Daniel Oberski wrote: >>> >>> If run valgrind R then I get all sorts of warnings. I was wondering >>> whether I should worry about them or not. >> >> Don't worry about them. Those are benign issues with the system >> libraries.. insofar as you trust those libraries, which you s

[Rd] Suggestions for R-intro manual (PR#10701)

2008-02-05 Thread timh
Some suggestions for R-intro: -- Section 9.2.2, change: (Note the function split() which produces a list of vectors obtained by splitting a larger vector according to the classes specified by a factor. This is a useful function, mostly used in connec

Re: [Rd] Error in grid.text after tcltk package loaded

2008-02-05 Thread Paul Murrell
Hi This looks like a problem with some unPROTECTed memory that is getting grabage collected. A gpar object that is passed down is being corrupted. I can make the problem go away by PROTECTing currentgp in gridText() (in grid.c), but I can't see yet why that needs PROTECTing (if it really does, t

Re: [Rd] R valgrind question

2008-02-05 Thread Daniel Oberski
> > > > If run valgrind R then I get all sorts of warnings. I was wondering > > whether I should worry about them or not. > > Don't worry about them. Those are benign issues with the system > libraries.. insofar as you trust those libraries, which you should... in > general. > > Jeff Jeff, Thank

Re: [Rd] Error in grid.text after tcltk package loaded

2008-02-05 Thread Erik Iverson
Erik Iverson wrote: > Hello - > > I am noticing some strange errors when using the grid package, but > (apparently) only after loading the tcltk package. The interaction here > does not make sense to me, and I'm wondering if anyone else can > reproduce this, or if it is specific to my setup.

Re: [Rd] Error in grid.text after tcltk package loaded

2008-02-05 Thread Peter Dalgaard
Erik Iverson wrote: > Hello - > > I am noticing some strange errors when using the grid package, but > (apparently) only after loading the tcltk package. The interaction here > does not make sense to me, and I'm wondering if anyone else can > reproduce this, or if it is specific to my setup. H

[Rd] Error in grid.text after tcltk package loaded

2008-02-05 Thread Erik Iverson
Hello - I am noticing some strange errors when using the grid package, but (apparently) only after loading the tcltk package. The interaction here does not make sense to me, and I'm wondering if anyone else can reproduce this, or if it is specific to my setup. Here is my sessionInfo: session

[Rd] fortune() candidate?

2008-02-05 Thread Ben Bolker
hits=-2.6 tests=BAYES_00,SPF_HELO_PASS,SPF_PASS X-USF-Spam-Flag: NO -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 From: Bert Gunter gene.com> Subject: Re: Maximum number of variables allowed in a multiple linearregression model Newsgroups: gmane.comp.lang.r.general Date: 2008-02-05 18:00:40 GMT

Re: [Rd] Got *** caught segfault *** with Quantreg on Mac (PR#10699)

2008-02-05 Thread Simon Urbanek
Edward, On Feb 5, 2008, at 4:25 AM, [EMAIL PROTECTED] wrote: > Full_Name: Edward Huang > Version: 2.6.1 > OS: Mac OS 10.5.1 Leopard > Submission from: (NULL) (71.198.106.232) > > > I'm trying to run quantile regression on my data. I just couldn't > make it work. > The same dataset ran okay on S

Re: [Rd] Need for garbage collection after creating object

2008-02-05 Thread Henrik Bengtsson
On Feb 5, 2008 10:12 AM, Henrik Bengtsson <[EMAIL PROTECTED]> wrote: > On Feb 5, 2008 8:01 AM, Iago Mosqueira <[EMAIL PROTECTED]> wrote: > > Hello, > > > > After experiencing some difficulties with large arrays, I was surprised > > to see the apparent need for class to gc() after creating fairly la

Re: [Rd] Need for garbage collection after creating object

2008-02-05 Thread Henrik Bengtsson
On Feb 5, 2008 8:01 AM, Iago Mosqueira <[EMAIL PROTECTED]> wrote: > Hello, > > After experiencing some difficulties with large arrays, I was surprised > to see the apparent need for class to gc() after creating fairly large > arrays. For example, calling > > a<-array(2, dim=c(10,10,10,10,10,100)) >

[Rd] Need for garbage collection after creating object

2008-02-05 Thread Iago Mosqueira
Hello, After experiencing some difficulties with large arrays, I was surprised to see the apparent need for class to gc() after creating fairly large arrays. For example, calling a<-array(2, dim=c(10,10,10,10,10,100)) makes the memory usage of a fresh session of R jump from 13.8 Mb to 166.4 M

Re: [Rd] garchFit (PR#10698)

2008-02-05 Thread Yohan Chalabi
"SYC" == [EMAIL PROTECTED] on Mon, 4 Feb 2008 23:35:07 +0100 (CET) SYC> The garchFit function in the Rmetrics libray cannot estimate SYC> ARCH models, SYC> meaning that the number of beta terms in the model must be SYC> greater than zero. SYC> For this function neither p

[Rd] Got *** caught segfault *** with Quantreg on Mac (PR#10699)

2008-02-05 Thread huangce
Full_Name: Edward Huang Version: 2.6.1 OS: Mac OS 10.5.1 Leopard Submission from: (NULL) (71.198.106.232) I'm trying to run quantile regression on my data. I just couldn't make it work. The same dataset ran okay on STATA 10, tho. Would you please take a look at it? Here is the error message:

[Rd] garchFit (PR#10698)

2008-02-05 Thread scott . yonker
Full_Name: Scott Yonker Version: R for OSX Cocoa OS: Mac OSX Submission from: (NULL) (24.208.185.211) The garchFit function in the Rmetrics libray cannot estimate ARCH models, meaning that the number of beta terms in the model must be greater than zero. For this function neither p nor q can be s

Re: [Rd] Problem building R with Intel MKL v10 BLAS

2008-02-05 Thread Ei-ji Nakama
hi. 2008/2/5, M Redmond <[EMAIL PROTECTED]>: > --with-blas="-L/.../intel/mkl/10.0.1.014/lib/em64t -lRblas -lmkl_intel_thread > -lguide -lmkl_lapack -lmkl_core -lpthread" \ > --with-lapack="-L/.../intel/mkl/10.0.1.014/lib/em64t -lRlapack > -lmkl_intel_thread -lguide -lmkl_lapack -lmkl_core -lpthrea

Re: [Rd] Problem building R with Intel MKL v10 BLAS

2008-02-05 Thread Ei-ji Nakama
hi. 2008/2/5, M Redmond <[EMAIL PROTECTED]>: > --with-blas="-L/.../intel/mkl/10.0.1.014/lib/em64t -lRblas -lmkl_intel_thread > -lguide -lmkl_lapack -lmkl_core -lpthread" \ > --with-lapack="-L/.../intel/mkl/10.0.1.014/lib/em64t -lRlapack > -lmkl_intel_thread -lguide -lmkl_lapack -lmkl_core -lpthrea