[R] problem with recursive unlink on Linux Fedora 7

Mark W Kimpel mkimpel at iupui.edu
Fri Aug 31 18:16:05 CEST 2007


I am trying to delete a directory and its contents using "unlink". The 
help page says this is not supported on "some platforms" but that if 
ignored a warning will be given. On Fedora 7 it is seemingly ignored but 
no warning is given. My command and sessionInfo() are below.

Is this expected behavior? If it will not work on my platform, is there 
an alternative set of commands that will accomplish the same thing?

Thanks, Mark

unlink(x = tmp.dir, recursive = TRUE)


 > sessionInfo()
R version 2.6.0 Under development (unstable) (2007-08-29 r42686)
i686-pc-linux-gnu

locale:
LC_CTYPE=en_US.UTF-8;LC_NUMERIC=C;LC_TIME=en_US.UTF-8;LC_COLLATE=en_US.UTF-8;LC_MONETARY=en_US.UTF-8;LC_MESSAGES=en_US.UTF-8;LC_PAPER=en_US.UTF-8;LC_NAME=C;LC_ADDRESS=C;LC_TELEPHONE=C;LC_MEASUREMENT=en_US.UTF-8;LC_IDENTIFICATION=C

attached base packages:
[1] tools     stats     graphics  grDevices utils     datasets  methods
[8] base

other attached packages:
[1] affy_1.15.7            preprocessCore_0.99.12 affyio_1.5.8
[4] Biobase_1.15.29        graph_1.15.14

loaded via a namespace (and not attached):
[1] cluster_1.11.7
-- 

---

Mark W. Kimpel MD  ** Neuroinformatics ** Dept. of Psychiatry
Indiana University School of Medicine

15032 Hunter Court, Westfield, IN  46074

(317) 490-5129 Work, & Mobile & VoiceMail
(317) 663-0513 Home (no voice mail please)



More information about the R-help mailing list