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

Rainer Schuermann rainer.schuermann at gmx.net
Fri May 4 18:04:56 CEST 2012


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.jacobson at arcor.de wrote:
> 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 with them. If the option "prefix=FALSE" is used, then files won't be placed in a subdirectory.
> 
> Thanks in advance for your help,
> Julia
> 
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.



More information about the R-help mailing list