[R] Sweave and paths

Bill Rising brising at louisville.edu
Tue May 17 20:31:53 CEST 2005

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  

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.


More information about the R-help mailing list