[R-sig-Geo] how to work with useFancyQuotes( ) to avoid \" quotes

Paulo E. Cardoso pecardoso at netcabo.pt
Wed Jul 15 14:01:00 CEST 2009


It seems to works fine!
Thanks
____________
Paulo E. Cardoso


> -----Mensagem original-----
> De: Jaime R. Garcia Marquez [mailto:jaime.garcia at uni-bonn.de]
> Enviada: quarta-feira, 15 de Julho de 2009 12:32
> Para: Paulo E. Cardoso; r-sig-geo at stat.math.ethz.ch
> Cc: r-help at r-project.org
> Assunto: Re: [R-sig-Geo] how to work with useFancyQuotes( ) to avoid \"
> quotes
> 
> Try this:
> 
> options(useFancyQuotes = F)
> print(paste("OPTIONS COORDSYS(", dQuote("Surface 1"),  "AS COMPONENT);"
> ),quote=F)
> 
> HTH,
> 
> Jaime -R
> 
> On Wed, 15 Jul 2009 13:15:32 +0200, Paulo E. Cardoso
> <pecardoso at netcabo.pt> wrote:
> 
> > I need to get the exact sentence, with the quotes:
> >
> > OPTIONS COORDSYS("Surface1"  AS COMPONENT);
> >
> > but this:
> >
> > options(useFancyQuotes = F)
> > paste("OPTIONS COORDSYS(", dQuote("Surface 1"),  "AS COMPONENT);" )
> >
> > give me this:
> >
> > [1] "OPTIONS COORDSYS( \"Surface 1\" AS COMPONENT);"
> >
> > And it's not readable as SpatialSQL code by GIS
> >
> > How to deal with this problem?
> > ____________
> > Paulo E. Cardoso
> >
> > _______________________________________________
> > R-sig-Geo mailing list
> > R-sig-Geo at stat.math.ethz.ch
> > https://stat.ethz.ch/mailman/listinfo/r-sig-geo
> 
> 
> Checked by AVG - www.avg.com
> Version: 8.5.375 / Virus Database: 270.13.14/2238 - Release Date:
> 07/14/09 18:03:00



More information about the R-sig-Geo mailing list