I've run into a problem with dir.create on R2.2.0 Windows XP 2002 SP 2.
setwd(d:/)
print(dir.create(d:\\otis-sim\\rdata, recursive=T))
print(dir.create(d:\\otis-sim\\, recursive=T))
Both return false and fail to create the directories.
setwd(c:/)
print(dir.create(d:\\otis-sim\\rdata,
No problem for me (Version 2.2.0 (2005-10-06 r35749), WinXPPro SP2):
setwd(q:/)
print(dir.create(q:/Andy/what/is/this, recursive=TRUE))
[1] TRUE
setwd(c:/)
print(dir.create(q:/Andy/what/is/that/thing, recursive=TRUE))
[1] TRUE
Andy
From: hadley wickham
I've run into a problem with
I hope this isn't an insulting question, but does drive D: exist on that
machine?
Mike
on 12/14/2005 11:09 AM hadley wickham said the following:
I've run into a problem with dir.create on R2.2.0 Windows XP 2002 SP 2.
setwd(d:/)
print(dir.create(d:\\otis-sim\\rdata, recursive=T))
I hope this isn't an insulting question, but does drive D: exist on that
machine?
Yes, it definitely does! I'd expect setwd(d:/) to give an error if it didn't
Hadley
__
R-help@stat.math.ethz.ch mailing list
on 12/14/2005 4:43 PM hadley wickham said the following:
I hope this isn't an insulting question, but does drive D: exist on that
machine?
Yes, it definitely does! I'd expect setwd(d:/) to give an error if it didn't
Hadley
H
Oops. You are right, of course.
I checked that on
One comment is that Windows does not like trailing directory separators as
in
print(dir.create(d:\\otis-sim\\, recursive=T))
and so this will give a warning as in
print(dir.create(d:\\otis-sim\\, recursive=T))
[1] FALSE
Warning message:
'd:\otis-sim\' already exists
Beyond that, the code is
hadley wickham [EMAIL PROTECTED] writes:
I hope this isn't an insulting question, but does drive D: exist on that
machine?
Yes, it definitely does! I'd expect setwd(d:/) to give an error if it
didn't
What is the file system? I seem to recall that the top directory of a
(V)FAT drive is
On Wed, 14 Dec 2005, Peter Dalgaard wrote:
hadley wickham [EMAIL PROTECTED] writes:
I hope this isn't an insulting question, but does drive D: exist on that
machine?
Yes, it definitely does! I'd expect setwd(d:/) to give an error if it
didn't
What is the file system? I seem to recall