search for: myfirstvariable

Displaying 3 results from an estimated 3 matches for "myfirstvariable".

2007 Jan 11
2
Wishlist: Sweave: allow line breaks after forward slashes (PR#9443)
...current line rather empty. This problem can be solved if Sweave is allowed to introduce line breaks after forward slashes. (I guess that this problem can also be solved if parse() adds a blank after a forward slash.) Example: The following expression cannot be wrapped by Sweave: mean(myDataframe$myFirstVariable)/mean(myDataframe$mySecondVariable) Thanks for the great software packages (R, Sweave, ...), Arne
2007 Jan 11
0
Wishlist: Sweave: allow line breaks after forward slashes (PR#9445)
...blem can be solved if Sweave is allowed to introduce > line breaks after forward slashes. (I guess that this problem can also be solved > if parse() adds a blank after a forward slash.) > > Example: > The following expression cannot be wrapped by Sweave: > > mean(myDataframe$myFirstVariable)/mean(myDataframe$mySecondVariable) It's actually deparse() that causes this, but the problem is already solved in R-devel (to become R 2.5.0). If you don't like the formatting that deparse() gives to one of your expressions, use the Sweave option keep.source=TRUE, and your original for...
2007 Jan 11
2
Wishlist: Sweave: allow line breaks after forward slashes (PR#9444)
...blem can be solved if Sweave is allowed to introduce > line breaks after forward slashes. (I guess that this problem can also be solved > if parse() adds a blank after a forward slash.) > Example: > The following expression cannot be wrapped by Sweave: > mean(myDataframe$myFirstVariable)/mean(myDataframe$mySecondVariable) In R 2.5.0 you can use Sweave option keep.source=TRUE to keep the original formatting of source code, including all indentation and line breaks -> does this solve your problem? Best, Fritz Leisch