From simon.urbanek at r-project.org  Wed Oct 18 16:42:20 2006
From: simon.urbanek at r-project.org (Simon Urbanek)
Date: Wed, 18 Oct 2006 10:42:20 -0400
Subject: [Rd] Error condition in evaluating a promise
In-Reply-To: <6phvemiuw3r.fsf@gopher4.fhcrc.org>
References: <0359A469-1F7D-4CEF-A408-CCB185D5F90E@r-project.org>
	<6phvemixy1u.fsf@gopher4.fhcrc.org>
	<6phvemiuw3r.fsf@gopher4.fhcrc.org>
Message-ID: <9AE19AAE-9CAD-4697-82DC-07724445114C@r-project.org>

Martin,

On Oct 17, 2006, at 11:43 PM, Martin Morgan wrote:

> I believe the technique is to create an environment in the  
> namespace, and then to access that through functions:
>

thanks, but this is not what I want (the symbols in the environment  
are invisible outside) and it has nothing to do with the question I  
posed: as I was saying in the previous e-mail the point is to have  
exported variables in a namespace, but their value is known only  
after the namespace was attached (to be precise I'm talking about  
rJava here and many variables are valid only after the VM was  
initialized - using them before is an error). I have an ugly work- 
around for that as well, the question was whether promises could be  
used for that purpose as a more clean solution and the answer appears  
to be no - at least for R <=2.4.0.

Thanks,
Simon




[Rd] Error condition in evaluating a promise
Simon Urbanek