From simon.urbanek at r-project.org  Tue Sep  7 23:25:22 2010
From: simon.urbanek at r-project.org (Simon Urbanek)
Date: Tue, 7 Sep 2010 17:25:22 -0400
Subject: [Rd] Is an R sub-session somehow possible?
In-Reply-To: <1283885014288-2530233.post@n4.nabble.com>
References: <1283882802031-2530174.post@n4.nabble.com>
	<8E175E90-C40F-4D62-857E-F8C4231862B5@r-project.org>
	<1283885014288-2530233.post@n4.nabble.com>
Message-ID: <DB68F427-6A41-48B5-9C88-6B6B7DB72A2E@r-project.org>


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



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