On 2020-07-05 22:16 +0000, Sparks, John wrote: > > For this example, I want to open notepad, > then go to notepad and type something in.
Dear John, Perhaps start Notepad in the background is what you mean? Something like system2("START /B Notepad", invisible=FALSE) Found it at [1]. I'm not on Windows ever, so I can not test it. What are you trying to achieve here? Where would the things you type into Notepad end up? Will R read it. It might be more useful to take user input by calling readline(prompt="Enter something here at least: ") Best, Rasmus [1] https://superuser.com/a/591084
signature.asc
Description: PGP signature
______________________________________________ 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.