Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Use .id as default label name

  • Loading branch information...
commit 3ddc6bee6cdc092e4e5c861344609bca0f8def9f 1 parent 2fab5d5
@hadley authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  R/simplify.r
View
2  R/simplify.r
@@ -27,7 +27,7 @@ list_to_dataframe <- function(res, labels = NULL) {
# If no labels supplied, use list names
if (is.null(labels) && !is.null(names(res))) {
- labels <- data.frame(id = names(res))
+ labels <- data.frame(.id = names(res))
}
if (!is.null(labels) && nrow(labels) == length(res)) {
Please sign in to comment.
Something went wrong with that request. Please try again.