[R] Sink for a subdirectory

R A F raf1729 at hotmail.com
Thu May 8 00:09:11 CEST 2003


Sorry, my fault.  I was actually in Subdir while attempting this.  Thanks 
very much.

>From: Prof Brian Ripley <ripley at stats.ox.ac.uk>
>To: R A F <raf1729 at hotmail.com>
>CC: r-help at r-project.org
>Subject: Re: [R] Sink for a subdirectory
>Date: Wed, 7 May 2003 22:47:26 +0100 (BST)
>
>On Wed, 7 May 2003, R A F wrote:
>
> > Hi, how do I sink output to a subdirectory under which R is running?
> >
> > For example, suppose R is running in ~me and I would like to sink output 
>to
> > ~me/Subdir/filename.
> >
> > The obvious sink( "Subdir/filename" ) does not seem to work.
>
>It works for me, provided Subdir exists. What does `does not seem to work'
>mean, precisely?
>
>There's nothing special about sink(): it can take any valid filename or
>any writeable connection.




More information about the R-help mailing list