Skip to content

Commit 49d7c78

Browse files
author
kalibera
committed
Document that lengths() preserve dimensions (PR#18858).
git-svn-id: https://svn.r-project.org/R/trunk@88894 00db46b3-68df-0310-9c12-caf00c1e9a41
1 parent 69a8cdd commit 49d7c78

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/library/base/man/lengths.Rd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
% File src/library/base/man/lengths.Rd
22
% Part of the R package, https://www.R-project.org
3-
% Copyright 1995-2023 R Core Team
3+
% Copyright 1995-2025 R Core Team
44
% Distributed under GPL 2 or later
55

66
\name{lengths}
@@ -41,7 +41,7 @@ lengths(x, use.names = TRUE)
4141
except when any element has a length of more than
4242
\eqn{2^{31}-1}{2^31 - 1} elements, when it returns a double vector.
4343
When \code{use.names} is true, the names are taken from the names on
44-
\code{x}, if any.
44+
\code{x}, if any. The result has the same dimensions as \code{x}.
4545
}
4646
\seealso{
4747
\code{\link{length}} for getting the length of any \R object.

0 commit comments

Comments
 (0)