We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d0f52ae commit 8dda82bCopy full SHA for 8dda82b
src/library/base/man/Extract.Rd
@@ -1,6 +1,6 @@
1
% File src/library/base/man/Extract.Rd
2
% Part of the R package, https://www.R-project.org
3
-% Copyright 1995-2022 R Core Team
+% Copyright 1995-2024 R Core Team
4
% Copyright 2002-2022 The R Foundation
5
% Distributed under GPL 2 or later
6
@@ -204,6 +204,8 @@ x$name <- value
204
equivalent to \code{alist[[i1]]\dots[[ip]]} providing all but the
205
final indexing results in a list.
206
207
+ Attempts to extract a non-existent element return \code{NULL}.
208
+
209
Note that in all three kinds of replacement, a value of \code{NULL}
210
deletes the corresponding item of the list. To set entries to
211
\code{NULL}, you need \code{x[i] <- list(NULL)}.
0 commit comments