[TxMt] Re: align R code at <-

Ross Ahmed rossahmed at googlemail.com
Sat Dec 26 18:48:12 UTC 2015


Thanks changing first line to #!/usr/bin/env ruby18 solved the problem

Ross

> On 25 Dec 2015, at 04:40, Ronald Wampler <rdwampler at gmail.com> wrote:
> 
> On Tue, Dec 22, 2015 at 10:49 AM, Ross Ahmed <rossahmed at googlemail.com <mailto: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 <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 <mailto:textmate at lists.macromates.com>
>> http://lists.macromates.com/listinfo/textmate <http://lists.macromates.com/listinfo/textmate>
> 
> _______________________________________________
> textmate mailing list
> textmate at lists.macromates.com <mailto:textmate at lists.macromates.com>
> http://lists.macromates.com/listinfo/textmate <http://lists.macromates.com/listinfo/textmate>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macromates.com/textmate/attachments/20151226/d11f6001/attachment.html>


More information about the textmate mailing list