[R] Problem with dir.create (R2.2.0 Windows XP 2002 SP 2)

2005-12-14 Thread hadley wickham
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,

Re: [R] Problem with dir.create (R2.2.0 Windows XP 2002 SP 2)

2005-12-14 Thread Liaw, Andy
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

Re: [R] Problem with dir.create (R2.2.0 Windows XP 2002 SP 2)

2005-12-14 Thread Michael H. Prager
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))

Re: [R] Problem with dir.create (R2.2.0 Windows XP 2002 SP 2)

2005-12-14 Thread hadley wickham
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

Re: [R] Problem with dir.create (R2.2.0 Windows XP 2002 SP 2)

2005-12-14 Thread Michael H. Prager
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

Re: [R] Problem with dir.create (R2.2.0 Windows XP 2002 SP 2)

2005-12-14 Thread Prof Brian Ripley
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

Re: [R] Problem with dir.create (R2.2.0 Windows XP 2002 SP 2)

2005-12-14 Thread Peter Dalgaard
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

Re: [R] Problem with dir.create (R2.2.0 Windows XP 2002 SP 2)

2005-12-14 Thread Prof Brian Ripley
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