[Rd] creates directory that can't be deleted (PR#4246)

xiaobao_wang at yahoo.com xiaobao_wang at yahoo.com
Mon Sep 22 03:26:32 MEST 2003


Full_Name: Xiaobao Wang
Version: R 1.7.1
OS: Windows XP
Submission from: (NULL) (24.45.25.102)


accidentally done the following:

rpt.dir <- paste("c:/report/testR","bestsub",spe="/")
dir.create(rpt.dir)

(spe should be sep).  Now the directory "c:/report/testR bestsub " cannot be
removed.  I tried to remove it from Windows Explorer and got the message box:
=================================================================
Error Deleting file or folder:
   Cannot delete file: Cannot read from source file or disk



More information about the R-devel mailing list