Skip to content
Prev 3140 / 10988 Next

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

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.

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

Hope this helps,

Romain


Le 18/11/11 20:32, Paul Menzel a ?crit :