Re: [Rd] the pipe |> and line breaks in pipelines

2020-12-09 Thread Timothy Goodman
engineers, and I think > this would be worth doing.) > > Best, > Kevin > > On Wed, Dec 9, 2020 at 12:16 PM Timothy Goodman > wrote: > > > > Since my larger concern is being able to conveniently select and re-run > part of a multiline pipeline, I don't think

Re: [Rd] the pipe |> and line breaks in pipelines

2020-12-09 Thread Timothy Goodman
On Wed, Dec 9, 2020 at 1:03 PM Duncan Murdoch wrote: Then I could run any number of lines with pipes at the > > start and no special character at the end, and have it treated as a > > single pipeline. I suppose that'd need to be a feature offered by the > > environment (RStudio's RNotebooks in

Re: [Rd] the pipe |> and line breaks in pipelines

2020-12-09 Thread Timothy Goodman
cal "submit selected code ignoring line-breaks" feature when running just the first part of the pipeline -- i.e., selecting full lines, but starting after the opening paren so as not to need to insert a closing paren. - Tim On Wed, Dec 9, 2020 at 12:12 PM Duncan Murdoch wrote: > On

Re: [Rd] the pipe |> and line breaks in pipelines

2020-12-09 Thread Timothy Goodman
they don't work. And parens > have the side effect of removing invisibility from the result (which is > a design flaw or bonus, depending on your point of view). So I actually > wouldn't advise this workaround. > > Duncan Murdoch > > > On 09/12/2020 12:45

[Rd] the pipe |> and line breaks in pipelines

2020-12-09 Thread Timothy Goodman
Hi, I'm a data scientist who routinely uses R in my day-to-day work, for tasks such as cleaning and transforming data, exploratory data analysis, etc. This includes frequent use of the pipe operator from the magrittr and dplyr libraries, %>%. So, I was pleased to hear about the recent work on a n