Hi,I want the results to be saved automatically in a output text file after the
script has finished running.
I used the sink function in the following example, but the results file
(output.txt) was empty.
net <- loadNetwork("C://Users//Priya//Desktop//Attractor analysis_all
genes//synaptogenesis//regulationof_dopamine_signaling_submodule3.txt")# First
I loaded theinput file for which I want to identify attractors
attr <- sink("C://Users//Priya//Desktop//Attractor analysis_all
genes//synaptogenesis//output.txt")# used the sink function to save the results
from attr function
attr <- getAttractors(net, type="asynchronous")# then ran the script for
identifying attractors
Is there any function to save the results before setting the script to run, so
that results are automatically saved in a text file after the script has
finished running?
Thank youPriya
[[alternative HTML version deleted]]
______________________________________________
[email protected] 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.