[R] How to open a text file in my screen (not in the R session)?

Massimiliano Tripoli massimiliano.tripoli at ieo.it
Wed Nov 23 19:39:09 CET 2005


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 at 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




More information about the R-help mailing list