>>>>> On Tue, 17 May 2005 14:31:53 -0400,
>>>>> Bill Rising (BR) wrote:

  > Is there some way to encourage \SweaveInput{foo} to find foo in a  
  > subdirectory of a file tree?

Sure: Write some code doing it ;-)

  > 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.

Well, if you know where it is you can always use the path in the
\SweaveInput{} statement, i.e.,

        \SweaveInput{foo/bar}

works for me.

Best,

-- 
-------------------------------------------------------------------
                        Friedrich Leisch 
Institut f�r Statistik                     Tel: (+43 1) 58801 10715
Technische Universit�t Wien                Fax: (+43 1) 58801 10798
Wiedner Hauptstra�e 8-10/1071
A-1040 Wien, Austria             http://www.ci.tuwien.ac.at/~leisch

______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to