[R] How to open a text file in my screen (not in the R session)?
In the middle of my code, I have the following: write.table(PredictionTest, file = predictions.txt) what I would like is that inmediately after this line is executed, the file predictions.txt is opened in the middle of my screen (not in my R session, where I continue running my code). Is there an easy way to do that? Thank you The information contained herein is confidential and is inte...{{dropped}} __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Re: [R] How to open a text file in my screen (not in the R session)?
Molins, Jordi wrote: In the middle of my code, I have the following: write.table(PredictionTest, file = predictions.txt) what I would like is that inmediately after this line is executed, the file predictions.txt is opened in the middle of my screen (not in my R session, where I continue running my code). Is there an easy way to do that? Thank you If the pager is set up appropriately use file.show() or start another program by a system() call. Uwe Ligges The information contained herein is confidential and is inte...{{dropped}} __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Re: [R] How to open a text file in my screen (not in the R session)?
You could use the following istruction: system(notepad predictions.txt,wait=FALSE) I hope this will be helpful. Regards, Massimiliano At 01:00 AM 11/23/2005, Molins, Jordi wrote: In the middle of my code, I have the following: write.table(PredictionTest, file = predictions.txt) what I would like is that inmediately after this line is executed, the file predictions.txt is opened in the middle of my screen (not in my R session, where I continue running my code). Is there an easy way to do that? Thank you The information contained herein is confidential and is inte...{{dropped}} __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html