From spinuvit.list at gmail.com  Sun Oct 24 14:35:38 2010
From: spinuvit.list at gmail.com (Vitalie S.)
Date: Sun, 24 Oct 2010 14:35:38 +0200
Subject: [Rd] "$<-" fails (invalid subscript type 'language')
Message-ID: <cpnwrp7zs2t.fsf@gmail.com>


This might be just beyond of my understanding of how assignment works in R, but
the documentation does not say anything about:

> tv <- c(a="dsf", b="sss")
> tl <- list(232)
> `$<-`(tl, tv[[1]], "sdfdsfdsfsd")
Error: invalid subscript type 'language'

This happens even before the method is dispatched. I can not handle the
"name" argument in my S4 method, because it's not even entered.

Thanks,
Vitalie.



[Rd] "$<-" fails (invalid subscript type 'language')
Vitalie S.