Charles Dupont <[EMAIL PROTECTED]> writes: > Hmmmm, It works for me. Interesting. > > It almost looks like the temp dir is not being created, but thats not > possible because R does that. It might be a Unicode issue with you > system shell. Can you run this statement in R
It's a Unicode issue alright. dQuote is intended for textual output, and in UTF-8 locales it will use Unicode codepoints 0x201c and 0x201d, which the shell is not expected to make head or tails of. The help page would have told you, and pointed you to shQuote() as well... > sys(paste('cd',dQuote(tempdir()),";", > "echo Hello BOB > test.test", > ";","cat test.test")) > > > What version of Hmisc are you using? What local are you using? > > Charles > > -- > Charles Dupont Computer System Analyst School of Medicine > Department of Biostatistics Vanderbilt University > > ______________________________________________ > R-help@stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html -- O__ ---- Peter Dalgaard Ă˜ster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014 Cph. K (*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918 ~~~~~~~~~~ - ([EMAIL PROTECTED]) FAX: (+45) 35327907 ______________________________________________ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html