[R] Export to .txt

R. Michael Weylandt michael.weylandt at gmail.com
Wed Nov 2 04:38:40 CET 2011

I'm somewhat confused on how you intend to use browser() after
rerouting output to a sink....

Beyond that, how are you running your script? source() has some
arguments that encourage it to "say" alot more to the sink() command.


On Tue, Nov 1, 2011 at 6:15 PM, stat.kk <stat.kk at gmail.com> wrote:
> Hi,
> I would like to export all my workspace (even with the evaluation of
> commands) to the text file. I know about the sink() function but it doesnt
> work as I would like. My R-function looks like this: there are instructions
> for user displayed by cat() command and browser() commands for fulfilling
> them. While using the sink() command the instructions dont display :(
> Can anyone help me with a equivalent command to File - Save to file...
> option?
> Thank you very much.
> --
> View this message in context: http://r.789695.n4.nabble.com/Export-to-txt-tp3965699p3965699.html
> Sent from the R help mailing list archive at Nabble.com.
> ______________________________________________
> 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