[R] sink() within a function?

Jon Stearley jrstear at sandia.gov
Wed Jun 1 19:00:25 CEST 2005


On Jun 1, 2005, at 10:23 AM, Rolf Turner wrote:
>
> foo<-function(x,f) { sink(f); print(format(x)); sink(); }

many thanks!  doh ;)

?format is unclear on return value imho.

-- 
-jon




More information about the R-help mailing list