I\'m looking for how to do printf in r, ie I want to type:
printf(\"hello %d\\n\", 56 )
and get the same output as typing:
I do it this way:
printf = function(s, ...) cat(paste0(sprintf(s, ...)), '\n')