Skip to content
Back to formatted view

Raw Message

Message-ID: <CDA0AB37-16A9-47DC-8588-5A2002C6731A@r-project.org>
Date: 2009-01-30T15:15:44Z
From: Simon Urbanek
Subject: Scripting R
In-Reply-To: <8D64D4652EB17048B874B0503309CFCA030B1872@epsilon2003.epsilonsgr.it>

Christian,

On Jan 30, 2009, at 4:48 , Christian Prinoth wrote:

>
> Simon,
>
>> If you think so - what is missing? How would you envision it?
>
> In the same way as Excel plugins for Matlab, R etc work in windows.

As I said in my earlier e-mail AFAICS neither Microsoft nor Apple  
support plugins and for OO there is already a plugin.


> Currently R-OSX has an Applescript dictionnary with a single  
> instruction 'cmd', which allows "remote execution" of R statements.  
> What I have in mind are two further instructions 'getdata' and  
> 'putdata' that allow to move objects from R to whatever application  
> is accessing R via Applescript.

Something along those lines could be done -- probably more natural to  
the AS approach abstracting something like a workspace object.  
Nonetheless I'm not sure this helps with your problem, because this is  
more about UIs talking to each other than proper computing  
capabilities. (E.g. it will be likely a pain to use anything bu simple  
numbers/vectors). But at least it would be something to play with.


> This way every half-serious OSX application can make use of R's  
> calculation power.
>

However, this is an entirely different question. I'm not sure AS is  
the best tool for this purpose -- but then the options are rather few  
due to lack of plugins ...

Cheers,
Simon