| To: | S News Mailing List <s-news@wubios.wustl.edu> |
|---|---|
| Subject: | summary: capturing the output of one of rpart function: |
| From: | Aldi Kraja <aldi@wubios.wustl.edu> |
| Date: | Wed, 12 Dec 2001 12:37:45 -0600 |
| Organization: | Washington University |
| Reply-to: | aldi@wubios.wustl.edu |
Hi,
I asked how can I capture the output of one of the functions in rpart in
unix system.
Hanga Galfalvy and Bill Dunlap suggested the use of sink() function.
Elisabeth Atkinson suggested the use of the file option in the the
specified function.
Thank you,
Aldi
sink("myfile")
## opens a new file named myfile in the home directory for writing
summary.rpart(fit) ## nothing will appear on your screen
sink() ## closes the file
After that, you can read "myfile" with any text editor you like.
--
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: Summary - Invisible comments in report Window, Frank E Harrell Jr |
|---|---|
| Next by Date: | lme() question, Gunter, Bert |
| Previous by Thread: | Summary - Invisible comments in report Window, yves . claveau |
| Next by Thread: | lme() question, Gunter, Bert |
| Indexes: | [Date] [Thread] [Top] [All Lists] |