[TxMt] "Show in R help" command (was Re: Command input as a shell variable)
Jonathan Clayden
jon.clayden at gmail.com
Sat Jul 22 18:22:58 UTC 2006
I've updated this command to make it a bit more robust, and to deal
with a couple of important cases. The first is aliasing, since R help
pages are grouped into sets of closely related functions. So now if
you run the script on ".C" you should get "Foreign", etc., like in the
R app. The second is non-local links: the script will now play nice
with http/ftp links in R help pages. I've assigned a key equivalent of
⌘⌥? -- I don't think this clashes with anything in the source.r
scope...
It's probably worth putting this in the R bundle at this stage
(someone with repos access...?). Please let me know if you have any
issues!
Cheers,
Jon
On 14/07/06, Alan Schussman <alan at schussman.com> wrote:
> On Jul 14, 2006, at 1:24 PM, Jonathan Clayden wrote:
>
> > On 14/07/06, Ana Nelson <nelson.ana at gmail.com> wrote:
> >
> >> Once you open an R help page in this way, the hyperlinks don't work.
> >> Anyone know if it's possible to fix that?
> >
> > Back to Ruby! This is a little quick and dirty, but it seems to
> > work fine:
> >
>
> Very cool, Jonathan and Ana. I had been sending help commands to R
> itself, but that usually meant my R window came to the front along
> with the help window. This allows one to keep R out of the way until
> it's wanted. (And the links work, which is great.)
>
> -Alan
>
>
> ______________________________________________________________________
> For new threads USE THIS: textmate at lists.macromates.com
> (threading gets destroyed and the universe will collapse if you don't)
> http://lists.macromates.com/mailman/listinfo/textmate
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Show in R help.tmCommand
Type: application/octet-stream
Size: 1615 bytes
Desc: not available
URL: <http://lists.macromates.com/textmate/attachments/20060722/dcada65f/attachment.tmCommand>
More information about the textmate
mailing list