Message-ID: <20200705224605.GB96551@posteo.no>
Date: 2020-07-05T22:46:05Z
From: Rasmus Liland
Subject: Opening Another Application in R Then Hangs
In-Reply-To: <DM5PR13MB11612428E23C6C4BFEB3D6FFFA680@DM5PR13MB1161.namprd13.prod.outlook.com>
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20200706/7414ad74/attachment.sig>