-
-
Notifications
You must be signed in to change notification settings - Fork 394
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
Output incorrect to description #478
Comments
Dear EPleyne, thanks for reporting this discrepancy. Can you please check issue #472 as it reports the same problem. Regards, |
Thanks for identifying the link Slave. I note that the initial comment in that issue was made a month ago, and that neither the reporter nor the first replyer noted the problem with the colours not being listed as factors. So I wonder if they didn't notice it or this is a new issue. As per your reply in that issue, if you think it is a HTML issue then it is way above my head, but I'll keep looking at the script and see if I can spot anything. |
Thanks for the report! It is the same issue as #493. Briefly, the version 4.0 of R changed the default value of As mentioned in #493, this is hopefully now clearer since 3922356 and subsequent lesson updates. Please reach out if you still encounter issues with this. |
http://swcarpentry.github.io/r-novice-inflammation/11-supp-read-write-csv/index.html
The 'stringsAsFactors' (from line 75) section of this episode does not appear as described. The first assignment runs and returns a list of all the car colours. However the descriptions says that it is "Blue", "Green" and '1','2'....

Looking at the str(carSpeeds) the description doesn't match the output in the screen (description: "We can see that the $Color and $State columns are factors and $Speed is a numeric column.." output: $Color and $State are character strings, and $Speed is an int column.

I also ran the script in my RStudio and it did output as the description except for the str(carSpeeds) (line 89), $Color is a character string.
The text was updated successfully, but these errors were encountered: