# SV: [R] Sweave and paths

From: Søren Højsgaard <Soren.Hojsgaard_at_agrsci.dk>
Date: Wed 18 May 2005 - 17:07:17 EST

Don't think it is possible. To overcome the problem I wrote a small R-program which replaced foo with foo\bar in the Sweave file. Clumpsy, sure, but... Best
Søren

Fra: r-help-bounces@stat.math.ethz.ch på vegne af Bill Rising Sendt: ti 17-05-2005 20:31
Til: rhelp
Emne: [R] Sweave and paths

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.

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

Bill

R-help@stat.math.ethz.ch mailing list