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

printHead sometimes shows "..." when all data is visible #84

Open
mb706 opened this issue Dec 8, 2017 · 0 comments
Open

printHead sometimes shows "..." when all data is visible #84

mb706 opened this issue Dec 8, 2017 · 0 comments

Comments

@mb706
Copy link
Contributor

mb706 commented Dec 8, 2017

> BBmisc::printHead(data.frame(as.list(1:10)), n = 5)
  X1L X2L X3L X4L X5L X6L X7L X8L X9L X10L
1   1   2   3   4   5   6   7   8   9   10
... (#elements: 10)

This is because the n argument is compared with the data.frame columns as well as the rows. Compare:

> BBmisc::printHead(data.frame(as.list(1:10)), n = 15)
  X1L X2L X3L X4L X5L X6L X7L X8L X9L X10L
1   1   2   3   4   5   6   7   8   9   10

The ... should indicate whether some data is missing, which it is not, in both cases.

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

1 participant