Re: [R] sink() within a function?

From: Jon Stearley <jrstear_at_sandia.gov>
Date: Thu 02 Jun 2005 - 03:00:25 EST

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

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Received on Thu Jun 02 03:06:45 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:32:20 EST