Re: [R] How to disable output messages (prints or cats) from functions in R?

2008-01-12 Thread Miguel Ratón Almansa
Thank you. That works fine. ;-) Miguel Henrik Bengtsson escribió: > log <- capture.output({ > res <- theFunction(...); > }) > print(res); > > /H > > On 12/01/2008, Miguel Ratón Almansa <[EMAIL PROTECTED]> wrote: > >> Hi, >> >> I'

Re: [R] How to disable output messages (prints or cats) from functions in R?

2008-01-12 Thread Miguel Ratón Almansa
formation. Miguel Henrik Bengtsson escribió: > See capture.output(). /H > > On 11/01/2008, Miguel Ratón Almansa <[EMAIL PROTECTED]> wrote: > >> Hi everybody, >> >> I have to use a function that shows an output message like "# nonzero >> coeffi

Re: [R] How to disable output messages (prints or cats) from functions in R?

2008-01-12 Thread Miguel Ratón Almansa
g the standard output. Miguel Henrik Bengtsson escribió: > See capture.output(). /H > > On 11/01/2008, Miguel Ratón Almansa <[EMAIL PROTECTED]> wrote: > >> Hi everybody, >> >> I have to use a function that shows an output message like "# nonzero >&

[R] How to disable output messages (prints or cats) from functions in R?

2008-01-11 Thread Miguel Ratón Almansa
nction doesn't have a "verbose" parameter. Thus, I can't disable it using a verbose parameter. I'm sure that there must be some procedure in R to do it but after searching through the mailing lists I haven't found anything about it. Thank you for your help, Miguel Rat

[R] Penalized L1 regression error in lasso2 package

2008-01-09 Thread Miguel Ratón Almansa
lues that can take the response in the formula of l1ce? Can somebody help me? Thank you for your help, Miguel Ratón Almansa __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://ww

[R] Is there any multivariate regression function to combine all variables from a dataset?

2007-11-30 Thread Miguel Ratón Almansa
Hi everybody, I've been looking for a function that combines all variables from a dataset because I need to do multivariate regression. If we have linear regression with an expression like f(x) = a0 + sum(ai*xi) what I want to do is something like f(x) = a0 + sum(ai*xi) + sum(sum(bij * xi * xj