Skip to content
Prev 384635 / 398525 Next

Opening Another Application in R Then Hangs

On 2020-07-05 22:16 +0000, Sparks, John wrote:
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>