[TxMt] Re: align R code at <-

Ronald Wampler rdwampler at gmail.com
Fri Dec 25 04:40:19 UTC 2015


On Tue, Dec 22, 2015 at 10:49 AM, Ross Ahmed <rossahmed at googlemail.com> wrote:
> I’ve posted about this before but didn’t come to a solution.
>
> Say I have this R code:
>
> foo <- test
> foofoofoo <- test
> foofoo <- test
>
> How can I align the code like this:
>
> foo <- test
> foofoofoo <- test
> foofoo <- test
>
> I’ve tried selecting the code and running Bundles > Align > Align Source,
> but I get the message "Failure running “Align Source” interpreter failed: No
> such file or directory”.
I am not familiar with this bundle, but searching Github this is the version
(https://github.com/tbates/align.tmbundle) I found that was recently updated.

I believe you may be using an older version, where the path to `ruby` was hard
coded. Try updating the bundle or in the Bundle Editor change the first line in
Align > Align Source to:

#!/usr/bin/env ruby18

>
> Any suggestions?
>
> Ross Ahmed
> Ecologist
>> 07875533906
> Twitter: @RossAhmed
> LinkedIn: Ross Ahmed
>
>
>
> _______________________________________________
> textmate mailing list
> textmate at lists.macromates.com
> http://lists.macromates.com/listinfo/textmate


More information about the textmate mailing list