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

inaccurate dplyr code #11

Open
ljanda opened this issue Jul 12, 2019 · 2 comments
Open

inaccurate dplyr code #11

ljanda opened this issue Jul 12, 2019 · 2 comments

Comments

@ljanda
Copy link

ljanda commented Jul 12, 2019

the third line of code is misleading as it is not needed for the following line to work

mtdt <- as.data.table(mtcars)  ## this line of code is needed for following line 
mtdt[cyl == 6]                     # data.table syntax
mttb <- as_tibble(mtcars)      ## this line of code is not needed for following line 
filter(mtcars, cyl == 6)           # dplyr syntax
@matloff
Copy link
Owner

matloff commented Jul 14, 2019

Thanks, you may be looking at an old version, already corrected.

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

3 participants