[R] Redirect Output to File and Screen in Parallel

Manish MAHESHWARI manishm at dbs.com
Fri Jan 29 09:59:21 CET 2016


Thanks Ulrik. The answer was there in the forumn. Apologies.

Also got an interesting solution - http://www.r-statistics.com/2010/05/helping-the-blind-use-r-by-exporting-r-console-to-word/

Thanks,
Manish


From: Ulrik Stervbo [mailto:ulrik.stervbo at gmail.com]
Sent: Friday, January 29, 2016 4:16 PM
To: Manish MAHESHWARI
Cc: r-help at r-project.org
Subject: Re: [R] Redirect Output to File and Screen in Parallel

?sink use the split = TRUE should do the trick

On Fri, 29 Jan 2016 at 08:44 David Winsemius <dwinsemius at comcast.net<mailto:dwinsemius at comcast.net>> wrote:

> On Jan 28, 2016, at 10:05 PM, Manish MAHESHWARI <manishm at dbs.com<mailto:manishm at dbs.com>> wrote:
>
> Hi,
>
> Using the sink we can redirect the output to sink files set as con.
> However is there a way to do both - Have the Op printed on screen and also to the log file?

I think this has been asked and answered. Have you done any searching?

>
> Thanks,
> Manish
> CONFIDENTIAL NOTE:
> The information contained in this email is intended only...{{dropped:11}}
>
> ______________________________________________
> R-help at r-project.org<mailto:R-help at r-project.org> mailing list -- To UNSUBSCRIBE and more, see
> 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.

David Winsemius
Alameda, CA, USA

______________________________________________
R-help at r-project.org<mailto:R-help at r-project.org> mailing list -- To UNSUBSCRIBE and more, see
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.
CONFIDENTIAL NOTE:
The information contained in this email is intended only for the use of the individual or entity named above and may contain information that is privileged, confidential and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this message in error, please immediately notify the sender and delete the mail. Thank you.

	[[alternative HTML version deleted]]



More information about the R-help mailing list