[Rd] Is an R sub-session somehow possible?

Simon Urbanek simon.urbanek at r-project.org
Tue Sep 7 23:25:22 CEST 2010


On Sep 7, 2010, at 2:43 PM, ghostwheel wrote:

> 
> 
> Simon Urbanek wrote:
>> 
>> 
>> On Sep 7, 2010, at 2:06 PM, ghostwheel wrote:
>> 
>>> a<-c(3,4
>>> and then R will respond with '+'.
>>> 
>>> The problem is this: the way I implemented tab completion is calling an R
>>> function that creates the completion. But, while in the middle of user
>>> input, I can't call a function.
>>> 
>> 
>> Why not? After the "+" prompt you're back in ReadConsole so it's safe.
>> 
>> 
> 
> I see. ReadConsole() seems quite nice! I should use it.
> 
> What about remote sessions? Till now I used ssh, which then opened R. I
> guess I could have the user compile and install the program that interfaces
> with R on any machine that runs R. Is there another way?
> 

It doesn't really matter where the R is as long as you have some way of getting at the results. You are still leaving us in the dark as of what exactly you do (technically) so there is not much detail we can provide...

Cheers,
Simon



More information about the R-devel mailing list