> Hi Sarah, > yes, I followed your suggestion. I doubt that you followed it correctly. Sarah's advise is usually really very sound -- and your code below is *not* :
> If I do exactly what is in the example of the documentation: > sink("C:/Temp/sink-examp.txt") > i <- 1:10 > outer(i, i, "*") > sink() > unlink("C:/Temp/sink-examp.txt") > it does not write anything, i. e. no file is created in "C:/Temp/". The > script is executed without an error or warning message. Well, did you ever lookup what unlink() does ? I save you the time : it does *REMOVE* a file. So no wonder that you don't see any result after executing the above R code block.. Martin ______________________________________________ R-help@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.