Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #105 from wch/fix-extract_col_rows

extract_col_rows: fix typo referring to wrong var name
  • Loading branch information...
commit e70081b68621da5826f1de90fbab0bdeef846171 2 parents 25cf018 + 3bfce09
Hadley Wickham authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  R/indexed-data-frame.r
2  R/indexed-data-frame.r
View
@@ -40,7 +40,7 @@ extract_col_rows <- function(df, i, j) {
if (is.null(attr(col, "class"))) {
.subset(col, i)
- } else if (inherits(col, "factor") || inherits(x, "POSIXt")) {
+ } else if (inherits(col, "factor") || inherits(col, "POSIXt")) {
out <- .subset(col, i)
attributes(out) <- attributes(col)
out
Please sign in to comment.
Something went wrong with that request. Please try again.