Displaying 1 result from an estimated 1 matches for "myframea".
Did you mean:
myframe
2006 Nov 17
3
Mayday ! Needing urgent help about writing results to a file
Hey listmembers,
I am desperately trying to write a data frame to a file. Not in CSV, but as they "appear" on the screen (nice, easy to read tables). I've read that the sink function is the way to go.
I have tried the following code inside a function.
sink("ABC.txt")
MyFrameA
MyFrameB
sink()
It gives the result I need when I use it outside a function, but when I use it *inside* a function I wrote, it creates an empty file. I want to pull my hair out !
What should I do so that, when the function ends, I have a text file called ABC.txt having MyFrameA and MyFrameB in th...