[R] Hmisc latex function
Peter Dalgaard
p.dalgaard at biostat.ku.dk
Wed Oct 12 16:59:53 CEST 2005
Charles Dupont <charles.dupont at vanderbilt.edu> 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 at 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
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk) FAX: (+45) 35327907
More information about the R-help
mailing list