Hello.
I have a problem with shell langage.
To delete a not empty directory using the OS shell I have to do like this:
 
rd /s dossier1      
 
and dossier1 contain an other directory dossier2.
But when I use the function shell like this:
 
shell(paste("rd /s",shQuote("dossier1",type="cmd")))
 
it doesn't work.
And the console displays that:
 
dossier1, ˆtes-vous s–r (O/N)? 
Warning message:
In shell(paste("rd /s", shQuote("dossier1", type = "cmd"))) :
  l'exécution de 'cmd' a échoué avec le code d'erreur 1
 
Can you help me please?


      _____________________________________________________________________________ 

o.fr
	[[alternative HTML version deleted]]

