[R] Output an RWeka model via sink

Francisco Javier Perez Caballero fjpcaballero at gmail.com
Sun Mar 29 05:19:04 CEST 2009


Thanks. Just figured out what happened: out of quota.

-----Original Message-----
From: Coen van Hasselt <coenvanhasselt at gmail.com>
Sent: Saturday, March 28, 2009 9:05 PM
To: Francisco Javier Perez Caballero <fjpcaballero at gmail.com>
Cc: R-help at stat.math.ethz.ch
Subject: Re: [R] Output an RWeka model via sink

I tried your code and it seems to work fine; the file contains the
expected output.
I used R 2.8.1 on WinXP.

On Sun, Mar 29, 2009 at 07:48, Francisco Javier Perez Caballero
<fjpcaballero at gmail.com> wrote:
> When I sink the output of an RWeka model to a text file, the output file appears empty:
>
> library(RWeka)
> model = LogitBoost(Species~.,data=iris)
> print(model)
> sink("output.txt")
> print(model)
> #file output.txt is created, but it is blank
> sink()
>
>
> Am I doing anything wrong?
>        [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>




More information about the R-help mailing list