-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Closed
Labels
bugan unexpected problem or unintended behavioran unexpected problem or unintended behavior
Milestone
Description
Small bug here: glimpse() outputs the table to the screen but does so using cat() with the parameter collapse="\n". This means each line has a newline after it except the last one. As a result, the R prompt ends up at the end of the table instead of on a new line.
> G <- data.frame(a=c(1,2,3),b=c("a","b","c"))
> glimpse(G)
Variables:
$ a (dbl) 1, 2, 3
$ b (chr) "a", "b", "c">
When it should work like this
> G <- data.frame(a=c(1,2,3),b=c("a","b","c"))
> glimpse(G)
Variables:
$ a (dbl) 1, 2, 3
$ b (chr) "a", "b", "c"
>
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugan unexpected problem or unintended behavioran unexpected problem or unintended behavior