[Rcpp-devel] Using printf: Error in source("/tmp/printf.r") : /tmp/printf.r:8:11: unexpected input

Paul Menzel paulepanter at users.sourceforge.net
Fri Nov 18 23:01:33 CET 2011


Dear Romain,


Am Freitag, den 18.11.2011, 20:39 +0100 schrieb Romain François:
> This has nothing to do with printf, this is simply because you use 
> double quotes 'inside' double quotes, replace the outer quotes by single 
> quotes and you should be fine.

that easy, huh? ;-)

> Please also note that Rprintf is preferred, because it will work on all 
> platforms or user interfaces.

Interesting. Thank you.

> Hope this helps,

A lot!


Thanks a million,

Paul
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.r-forge.r-project.org/pipermail/rcpp-devel/attachments/20111118/5a9d3346/attachment.pgp>


More information about the Rcpp-devel mailing list