[R] Sweave and paths

From: Bill Rising <brising_at_louisville.edu>
Date: Wed 18 May 2005 - 04:31:53 EST


Is there some way to encourage \SweaveInput{foo} to find foo in a subdirectory of a file tree? Something along the lines of the behavior of list.files(<stuff>, recursive=TRUE). This would be very helpful at calling small modular files, such as solution sets and the like.

I couldn't see anything in the documentation, and I looked in the source code, but it seems that SweaveReadFiledoc() wants to look only in the directory which contains foo.

Still, I'm guessing that I'm missing something. Any tips would be much appreciated.

Bill



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 Wed May 18 04:43:31 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:31:50 EST