> Georg
>
>
>
>
> Von: Jim Lemon <drjimle...@gmail.com>
> An: g.maub...@weinwolf.de,
> Kopie: r-help mailing list <r-help@r-project.org>
> Datum: 10.05.2016 12:50
> Betreff:Re: [R] sink(): Cannot open file
>
>
>
> Hi Georg,
&g
Hi Georg,
I don't suppose that you have:
1) checked that the file "all.Rout" exists somewhere?
2) if so, looked at the file with Notepad, perhaps?
3) let us in on the secret by pasting the contents of "all.Rout" into
your message if it is not too big?
At a guess, trying:
close(zz)
might get
Hi All,
I would like to route the output to a file using sink(). When using the
example from the ?sink documentation:
sink("sink-examp.txt")
i <- 1:10
outer(i, i, "*")
sink()
unlink("sink-examp.txt")
## capture all the output to a file.
zz <- file("all.Rout", open = "wt")
sink(zz)
sink(zz,
3 matches
Mail list logo