[R] Redirect Output to File and Screen in Parallel

Ulrik Stervbo ulrik.stervbo at gmail.com
Fri Jan 29 09:15:32 CET 2016


?sink use the split = TRUE should do the trick

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

>
> > On Jan 28, 2016, at 10:05 PM, Manish MAHESHWARI <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 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 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.
>

	[[alternative HTML version deleted]]



More information about the R-help mailing list