Skip to content

get ...

3 messages · Gabor Grothendieck, Peter Dalgaard, Luke Tierney

#
Suppose we do this:
[1] "..."
<...>
[1] "..."

Is there any way of getting a and b given e without
modifying f?
#
Gabor Grothendieck wrote:
> evalq(list(...),e)
$a
[1] 1

$b
[1] 2
1 day later
#
On Sat, 28 Jun 2008, Peter Dalgaard wrote:

            
I'm wondering though whether we should allow the internal DOTSXP value
of "..." to escape to the user level.  Might be more appropriate for
get(e,"..."), e$... (and as.list.environment and maybe a few other
things) to give the "Error: '...' used in an incorrect context" error
if the value is a DOTSXP.

luke