[R] printf and friends in R?
Barry Rowlingson
B.Rowlingson at lancaster.ac.uk
Tue Jul 15 15:27:13 CEST 2003
(Ted Harding) wrote:
> On 15-Jul-03 Barry Rowlingson wrote:
>
>>help.search("printf") reveals the sprintf function (amongst others).
>
> Thanks! (For some reason this drew a blank when I tried it before ... ).
perhaps because help.search does approximate matching and found
everything with 'print' in as well? I get about 12 screens of matches to
that, but because I knew sprintf was in there _somewhere_ I found it.
You can turn off approximate matching with:
help.search("printf",agrep=F)
which gives the one true match.
Baz
More information about the R-help
mailing list