On 12-04-13 5:46 AM, Wincent wrote:
Dear useRs,

I am writing a vignette for a package, which contains long command like this,
reduce(Lipset_cs,"SURVIVAL",c("GNPCAP", "URBANIZA", "LITERACY", "INDLAB", 
"GOVSTAB"),explain="positive",remainder="exclude",case="CASEID")
It is longer than the width a page and part of it will become "missing".
Currently, I have to manually break the command into multiple lines.
Is there a better way to handle such issue?

No.

It seems that others have raised similar question which seems to
remain unsolved in a satisfactory fashion.

You can turn on auto-formatting, but it is a worse solution, because it will lose all formatting from the original, including comments, white space, etc. Use Sweave option keep.source=FALSE to do this.

Duncan Murdoch

______________________________________________
R-help@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.

Reply via email to