[R] cmd shell

2008-03-14 Thread elyakhlifi mustapha
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

[R] cmd shell

2008-03-14 Thread elyakhlifi mustapha
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 does