From lachmann at eva.mpg.de  Tue Sep  7 20:43:34 2010
From: lachmann at eva.mpg.de (ghostwheel)
Date: Tue, 7 Sep 2010 11:43:34 -0700 (PDT)
Subject: [Rd] Is an R sub-session somehow possible?
In-Reply-To: <8E175E90-C40F-4D62-857E-F8C4231862B5@r-project.org>
References: <1283882802031-2530174.post@n4.nabble.com>
	<8E175E90-C40F-4D62-857E-F8C4231862B5@r-project.org>
Message-ID: <1283885014288-2530233.post@n4.nabble.com>



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?

Thanks,
Michael
-- 
View this message in context: http://r.789695.n4.nabble.com/Is-an-R-sub-session-somehow-possible-tp2530174p2530233.html
Sent from the R devel mailing list archive at Nabble.com.



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