Ford Prefect wrote:> Hi,
> 
> Others on this list have happily commented that there
> exists printf and/or sprintf in R.  I can't find it.
> help(sprintf) and help.search("sprintf") come up
> empty!
> 
> Is it in some non-standard package?
> 
> Thanks!
> 
On what platform/R-version?
on R-1.8.1 for Windows I get:
help.search("sprintf")
sprintf(base)           Use C-style String Formatting Commands
capture(gregmisc)       Capture printed output of an R expression in a
                         string
So "sprintf" is in the base package.
-sundar