Re: [Rd] Wishlist: Sweave: allow line breaks after forward slashes (PR#9444)

2007-01-18 Thread Thibaut Jombart
What do the other developeRs and useRs think about this? Hi, I here reply as a R user. This makes me quite reluctant to change it: people get upset about changes to the look of their old scripts, because they trigger spurious check errors. Is it possible to add an option to specify

Re: [Rd] Wishlist: Sweave: allow line breaks after forward slashes (PR#9444)

2007-01-17 Thread Arne Henningsen
On Tuesday, 16. January 2007 12:46, Duncan Murdoch wrote: On 1/16/2007 5:26 AM, Arne Henningsen wrote: [...] Is there any reason for deparse() to add spaces around +, -, and * operators but not around / operators? R deparse(parse( text = a+b-c*d/e )) [1] expression(a + b - c * d/e) I

Re: [Rd] Wishlist: Sweave: allow line breaks after forward slashes (PR#9444)

2007-01-16 Thread Arne Henningsen
On Tuesday 16 January 2007 05:22, Duncan Murdoch wrote: On 1/15/2007 5:43 PM, Arne Henningsen wrote: On Monday, 15. January 2007 18:44, Duncan Murdoch wrote: On 1/15/2007 11:23 AM, Arne Henningsen wrote: [...] I prefer to use keep.source=FALSE, because I generally like that Sweave takes

Re: [Rd] Wishlist: Sweave: allow line breaks after forward slashes (PR#9444)

2007-01-16 Thread Duncan Murdoch
On 1/16/2007 5:26 AM, Arne Henningsen wrote: On Tuesday 16 January 2007 05:22, Duncan Murdoch wrote: On 1/15/2007 5:43 PM, Arne Henningsen wrote: On Monday, 15. January 2007 18:44, Duncan Murdoch wrote: On 1/15/2007 11:23 AM, Arne Henningsen wrote: [...] I prefer to use keep.source=FALSE,

Re: [Rd] Wishlist: Sweave: allow line breaks after forward slashes (PR#9444)

2007-01-15 Thread Arne Henningsen
On Friday, 12. January 2007 11:39, you wrote: [...] I think you misunderstood me, given the long answer. Indeed, I misunderstood you. We haven't changed the way deparse() handles /. The solution in R-devel is given below. I prefer to use keep.source=FALSE, because I generally like that

Re: [Rd] Wishlist: Sweave: allow line breaks after forward slashes (PR#9444)

2007-01-15 Thread Arne Henningsen
On Monday, 15. January 2007 18:44, Duncan Murdoch wrote: On 1/15/2007 11:23 AM, Arne Henningsen wrote: On Friday, 12. January 2007 11:39, you wrote: [...] I think you misunderstood me, given the long answer. Indeed, I misunderstood you. We haven't changed the way deparse() handles

Re: [Rd] Wishlist: Sweave: allow line breaks after forward slashes (PR#9444)

2007-01-15 Thread Duncan Murdoch
On 1/15/2007 5:43 PM, Arne Henningsen wrote: On Monday, 15. January 2007 18:44, Duncan Murdoch wrote: On 1/15/2007 11:23 AM, Arne Henningsen wrote: On Friday, 12. January 2007 11:39, you wrote: [...] I think you misunderstood me, given the long answer. Indeed, I misunderstood you. We

Re: [Rd] Wishlist: Sweave: allow line breaks after forward slashes (PR#9444)

2007-01-12 Thread Arne Henningsen
Dear Fritz and Duncan, thank you very much for your answers. On Thursday 11 January 2007 15:42, [EMAIL PROTECTED] wrote: [...] 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

Re: [Rd] Wishlist: Sweave: allow line breaks after forward slashes (PR#9444)

2007-01-12 Thread Duncan Murdoch
On 1/12/2007 2:26 AM, Arne Henningsen wrote: Dear Fritz and Duncan, thank you very much for your answers. On Thursday 11 January 2007 15:42, [EMAIL PROTECTED] wrote: [...] In R 2.5.0 you can use Sweave option keep.source=TRUE to keep the original formatting of source code, including

Re: [Rd] Wishlist: Sweave: allow line breaks after forward slashes (PR#9444)

2007-01-11 Thread friedrich . leisch
On Thu, 11 Jan 2007 15:07:00 +0100 (CET), ahenningsen (a) wrote: Full_Name: Arne Henningsen Version: 2.4.0 OS: Linux Submission from: (NULL) (134.245.140.242) Sweave does not allow line breaks after forward slashes (/). This might lead to a long substring of a command that