Re: [R] Creating directory under Windows R session

2007-06-20 Thread Henrique Dallazuanna
I have tested in WinXP: example: > dir("C:/") [1] "Arquivos de programas" "AUTOEXEC.BAT" [3] "boot.ini" "Bootfont.bin" [5] "CONFIG.SYS""Debug" [7] "debug.log" "Desktop.ini" [9] "Dic" "Documents and

Re: [R] Creating directory under Windows R session

2007-06-20 Thread Prof Brian Ripley
On Wed, 20 Jun 2007, Henrique Dallazuanna wrote: > for check the existence, > > any(dir('your path')=="your folder") That does not work, but fortunately R has file_test() for this purpose. -- Brian D. Ripley, [EMAIL PROTECTED] Professor of Applied Statistics, http://www.stats.

Re: [R] Creating directory under Windows R session

2007-06-20 Thread Prof Brian Ripley
On Wed, 20 Jun 2007, Henrique Dallazuanna wrote: > I have tested in WinXP: > > example: >> dir("C:/") > [1] "Arquivos de programas" "AUTOEXEC.BAT" > [3] "boot.ini" "Bootfont.bin" > [5] "CONFIG.SYS""Debug" > [7] "debug.log" "Deskt

Re: [R] Creating directory under Windows R session

2007-06-20 Thread Henrique Dallazuanna
for check the existence, any(dir('your path')=="your folder") -- Henrique Dallazuanna Curitiba-Paraná-Brasil 25° 25' 40" S 49° 16' 22" O On 20/06/07, Milton Ceza

Re: [R] Creating directory under Windows R session

2007-06-20 Thread Benilton Carvalho
?dir.create b On Jun 20, 2007, at 8:07 AM, Milton Cezar Ribeiro wrote: > Hi all, > > How can I create (and check the existence of) a directory in a R > session under Windows(xp)? > > Kind regards, > > Miltinho __ R-help@stat.math.ethz.ch mailing lis

[R] Creating directory under Windows R session

2007-06-20 Thread Milton Cezar Ribeiro
Hi all, How can I create (and check the existence of) a directory in a R session under Windows(xp)? Kind regards, Miltinho http://yahoo.com.br/oqueeuganhocomisso [[alternative HTML version d