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

Answer updates needed for sec 2.4 Q2: is.vector(as.vector(mtcars)) #289

Open
kaz462 opened this issue Jan 16, 2023 · 1 comment
Open

Answer updates needed for sec 2.4 Q2: is.vector(as.vector(mtcars)) #289

kaz462 opened this issue Jan 16, 2023 · 1 comment

Comments

@kaz462
Copy link

kaz462 commented Jan 16, 2023

Sec 2.4 Lists Q2 answer:

Note that as.vector() and is.vector() use different definitions of “vector!”

> is.vector(as.vector(mtcars))
> #> [1] FALSE

The above output is correct for R version before 4.2.2, but the output is changed to TRUE by using R version 4.2.2

> is.vector(as.vector(mtcars))
> #> [1] TRUE
@Tazinho
Copy link
Owner

Tazinho commented Jan 17, 2023

Thank you for posting this finding. Will incorporate this with the next round of updates.

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