Hello all R helpers,

 

I really need your help…

 

I cannot find a way to simulate a keyboard event as pressing the “enter”
key.

 

Does anyone know about it ?

 

Thanks a lot,

 

Thibault Charles

Solamen

Audencia - 8 route de la Jonelière

44300 Nantes

+33 2 40 37 46 76

 

De : Thibault Charles [mailto:thibault.charles@solamen.fr] 
Envoyé : vendredi 13 mai 2011 17:22
À : 'r-help-bounces@r-project.org'
Objet : [R] Simulate keyboard

 

Dear all,

 

I have written a little script which launch Trnsys in a loop :

 

for (i in 1:nombre_fichiers_monteCarlo){

 
system(paste('"C:/Trnsys17/Exe/TRNExe.exe"',liste_dck_monteCarlo[i]),wait=TR
UE)

}

 

My problem is that at each step, trnsys ask the user to press “enter” from
the keyboard and I would like not have to press myself on “enter”.

 

Does exist a function to simulate this kind of keyboard event ?

 

Thanks in advance,

 

Thibault Charles

Solamen

Audencia - 8 route de la Jonelière

44300 Nantes

+33 2 40 37 46 76

 


	[[alternative HTML version deleted]]

