[R] Opening Another Application in R Then Hangs

Rasmus Liland jr@| @end|ng |rom po@teo@no
Mon Jul 6 00:46:05 CEST 2020


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>


More information about the R-help mailing list