[R] create string with " using paste.

Henrique Dallazuanna wwwhsd at gmail.com
Tue Mar 29 21:21:34 CEST 2011


Try this:

cat("Double quotes: \"\n")

On Tue, Mar 29, 2011 at 4:18 PM, Praveen Surendran
<praveen.surendran at ucd.ie> wrote:
> Hi,
>
> I am trying to create a string -      Double quotes : "
> using paste.
>
> a command something like paste('Double','quotes : \"',sep=" ") prints
> "Double quotes : \"" where backslash is also printed.
> Is there a way to print just "?
>
> Regards,
>
> Praveen.
>
>        [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>



-- 
Henrique Dallazuanna
Curitiba-Paraná-Brasil
25° 25' 40" S 49° 16' 22" O



More information about the R-help mailing list