Skip to content
Prev 369805 / 398503 Next

is.null(mylist[1]) and is.null(mylist$a) returns different values

Hi,

Try
[1] TRUE

Notice the double square brackets.

From: ?`[`
"The most important distinction between [, [[ and $ is that the [ can
select more than one element whereas the other two select a single
element."
On Thu, Jun 15, 2017 at 11:33 AM, ce <zadig_1 at excite.com> wrote: