"Gabor Grothendieck" <[EMAIL PROTECTED]> writes:

> That's a good idea for the case I mentioned although there is still
> the case where one requires a single quoted string (maybe for
> generating code for some other language) and that is
> not handled by deparse.

Yes, but there be devils lurking in there. I think you do in general
need to know what the other language is. Take a look at shQuote(), for
instance. (Why, BTW, does that not simply "escape" single quotes using
'"'"' instead of switching to double-quotes and escaping everything in
sight?)

-- 
   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-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

Reply via email to