Skip to content

Unremovable directory (PR#4246)

1 message · Duncan Murdoch

#
Back in September, you reported that you could create an unremovable
directory using the code

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

The problem was that rpt.dir was set to "c:/report/testR bestsub /"
and Windows utilities have trouble with that name.

This is a Windows bug, not an R bug.

Just in case you haven't yet been able to remove the directory, one
way to do so is to go to a command window, and run

cd c:\report
rmdir "testR bestsub \"

Duncan Murdoch