Re: [R] Delete rpart/mvpart cross-validation output

2010-08-18 Thread Gabor Grothendieck
On Wed, Aug 18, 2010 at 9:14 AM, Gabor Grothendieck wrote: > On Fri, Aug 13, 2010 at 1:52 PM, Marie-Hélène Ouellette > wrote: >> Dear all, >> >> I was wondering if there is a simple way to avoid printing the multiple >> cross-validation automatic output to the console of recursive partitionning >

Re: [R] Delete rpart/mvpart cross-validation output

2010-08-18 Thread Henrique Dallazuanna
Try this also: invisible(capture.output(x <- mvpart(data.matrix(spider[,1:12])~herbs+reft+moss+sand+twigs+water,spider,xv="1se",xvmult=100))) x On Fri, Aug 13, 2010 at 2:52 PM, Marie-Hélène Ouellette < mariehele...@gmail.com> wrote: > Dear all, > > I was wondering if there is a simple way to avo

Re: [R] Delete rpart/mvpart cross-validation output

2010-08-18 Thread Matt Shotwell
Or, if using GNU Linux or other UNIX-like system: sink("/dev/null") # Issue commands sink() -Matt On Wed, 2010-08-18 at 09:14 -0400, Gabor Grothendieck wrote: > On Fri, Aug 13, 2010 at 1:52 PM, Marie-Hélène Ouellette > wrote: > > Dear all, > > > > I was wondering if there is a simple way to avo

Re: [R] Delete rpart/mvpart cross-validation output

2010-08-18 Thread Gabor Grothendieck
On Fri, Aug 13, 2010 at 1:52 PM, Marie-Hélène Ouellette wrote: > Dear all, > > I was wondering if there is a simple way to avoid printing the multiple > cross-validation automatic output to the console of recursive partitionning > functions like rpart or mvpart. For example... > >> data(spider) >>

Re: [R] Delete rpart/mvpart cross-validation output

2010-08-18 Thread Tal Galili
Hi Marie and Gavin, I do remember there is some command doing "silent", so to suppress output (as if directing it to sink, but not really directing it anywhere). The problem is I don't remember the command at the moment - but some searching might yield you results. Cheers, Tal Con

Re: [R] Delete rpart/mvpart cross-validation output

2010-08-17 Thread Gavin Simpson
On Fri, 2010-08-13 at 14:52 -0300, Marie-Hélène Ouellette wrote: > Dear all, I've been away for several weeks but I don't see an answer on the list so... > I was wondering if there is a simple way to avoid printing the multiple > cross-validation automatic output to the console of recursive parti

[R] Delete rpart/mvpart cross-validation output

2010-08-13 Thread Marie-Hélène Ouellette
Dear all, I was wondering if there is a simple way to avoid printing the multiple cross-validation automatic output to the console of recursive partitionning functions like rpart or mvpart. For example... > data(spider) > mvpart(data.matrix(spider[,1:12])~herbs+reft+moss+sand+twigs+water,spider,x