[R] R and ViM

Prof Brian Ripley ripley at stats.ox.ac.uk
Tue Apr 18 19:05:25 CEST 2006


yOn Tue, 18 Apr 2006, Ted.Harding at nessie.mcc.ac.uk wrote:

> On 18-Apr-06 Sundar Dorai-Raj wrote:
>> Michael Graber wrote:
>>> I'm starting to learn R, but I'm already programing for
>>> a while, using ViM as editor. Therefore I'd like to be
>>> able to use R together with ViM.
>>> [...]
>>
>> Try RSiteSearch('vim editor') at the R prompt. I got 28 hits.
>>
>> HTH,
>>
>> --sundar
>
> And, out of interest (being a vim addict), I did that, getting
>
>  > RSiteSearch('vim editor')
>  A search query has been submitted to http://search.r-project.org
>  The results page should open in your browser shortly
>
> which it duly did. However -- and this is what's interesting --
> I entered the command in R running on my machine B, at which
> I'm sitting.
>
> This machine B is independently displaying the Firefox browser
> running on Machine C (via X Windows; Linux on both machines).
>
> And that's the browser where the search results appeared.
>
> So R running on B can hijack Firefox on C. How does it know?

?browseURL


-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595




More information about the R-help mailing list