[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ess-help
Subject:    Re: [ESS] Indenting with magrittr and %>%
From:       Marie-Helene Burle <msb2 () sfu ! ca>
Date:       2018-03-22 19:05:17
Message-ID: 874ll86idu.fsf () sfu ! ca
[Download RAW message or body]

Hi William,

I use the package aggressive-indent \
(https://github.com/Malabarba/aggressive-indent-mode) and it works very well in ESS \
(as in most other modes).

I hope this helps.

Best,

Marie

--
Marie-Helene Burle
PhD candidate
Centre for Wildlife Ecology
Simon Fraser University
Tel: (+1) 778 782-5618
Fax: (+1) 778 782-3496
http://www.sfu.ca/content/sfu/biology/people/profiles/msb2.html
https://github.com/prosoitos



William Denton <wtd@pobox.com> writes:

> I'm a big fan of %>% from magrittr and the tidyverse, but I can't get indenting 
> working with it.  I have a long chain of pipes that I'd like to line up one by 
> one on different lines, but they just end up flush left.
> 
> Can anyone point me to their configuration that makes %>% indents work nicely?
> 
> This is what I have now (it's a bit jumbled):
> 
> https://github.com/wdenton/.emacs.d/blob/master/setup/setup-ess.el
> 
> Thanks,
> 
> Bill
> 
> --
> William Denton :: Toronto, Canada   ---   Listening to Art: \
> https://listeningtoart.org/ https://www.miskatonic.org/         ---   GHG.EARTH: \
> http://ghg.earth/ Caveat lector.                      ---   STAPLR: \
> http://staplr.org/ 
> ______________________________________________
> ESS-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/ess-help

______________________________________________
ESS-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/ess-help


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic