Re: [R] Hmisc latex function

From: Peter Dalgaard <p.dalgaard_at_biostat.ku.dk>
Date: Thu 13 Oct 2005 - 00:59:53 EST

Charles Dupont <charles.dupont@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@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@biostat.ku.dk)                  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
Received on Thu Oct 13 01:14:17 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:40:42 EST