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]]
______________________________________________
[email protected] 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.