Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make print.duration handle vectors and data frames #24

Closed
garrettgman opened this issue Jul 9, 2009 · 1 comment
Closed

make print.duration handle vectors and data frames #24

garrettgman opened this issue Jul 9, 2009 · 1 comment

Comments

@garrettgman
Copy link
Member

currently:

a
1 month and 1 second

c(a,a)
$months
[1] 1

$seconds
[1] 1

$months
[1] 1

$seconds
[1] 1

list(a,a)
[[1]]
1 month and 1 second

[[2]]
1 month and 1 second

data.frame( one = a)
one.months one.seconds
1 1 1

any suggestions?

@hadley
Copy link
Member

hadley commented Jul 15, 2009

I think I've mostly fixed this. If we really want to put durations in a data frame, that should be a separate issue.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants