Re: [R] [Sweave] string.prefix without hyphen-minus

2012-05-04 Thread Rainer Schuermann
You cannot avoid the hyphen I think, but if you say (for example): "prefix.string=foo/x" then your files start with 'x-' (so 'graph' becomes 'foo/x-graph') which may be better for you than the hyphen at the beginning of the file name. Rgds, Rainer On Friday 04 May 2012 17:23:58 julia.jacob...@

Re: [R] [Sweave] string.prefix without hyphen-minus

2012-05-04 Thread Yihui Xie
I guess that is hard-coded in Sweave, so you probably cannot control it unless you (partially) rewrite the driver. And just FYI, you can try the knitr package, which does not add the hyphen for you, but the name of the option 'prefix.string' has been changed to 'fig.path' (http://yihui.name/knitr/o

[R] [Sweave] string.prefix without hyphen-minus

2012-05-04 Thread julia . jacobson
Dear Sweave users, Could you help me to find a way to place Sweave output files in a subdirectory of the currentfolder without giving them a subname? If the option "prefix.string=foo/" is used, all files are placed in this folder, but begin with an hyphen-minus, which makes it difficult to work