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
Possible bug with r-basics-with-tabular-data.md #2413
Conversation
I think this is wrong. For me l60.. > Take a look at the `AirPassengers` data set by typing `data(AirPassengers)` into the console ..doesn't work. What does work is just typing `AirPassengers`. Can you check this please @anisa-hawes before merging? (as it may just be my setup!)
Olá @JimmyMedeiros82, nós traduzimos esta lição há pouco tempo. Será que temos o mesmo bug ou foi corrigido na tradução? Abraço |
Thank you @drjwbaker! I will test it today, and will also fix the broken link which is causing the build to fail! |
Thank you for noticing this error, @drjwbaker! I have tested this on my set up (I work on macOS BigSur v11.5.2) and found that the same was true. The command I can update this on EN, ES and PT. Also: the link https://joedicastro.com/pages/markdown.html actually appears to be live. Perhaps the site was temporarily down when this build check ran... |
Re-reading this, it seems to me that the whole paragraph is quite confusing. The sentences "Enter My suggestion is that this would be clearer: Take a look at the AirPassengers data set. To load the data set into your console, type I'll also update the code blocks, so that the commands shown match those instructed in the lesson text. |
Updating para.60, to replace the command `data(AirPassengers)` with ` AirPassengers` and clarify the instruction. Also, updating the code block, lines 63-4.
Clarifying the instruction para.63. Updating the code block, lines 66-7.
Updating para.66, to replace the command `data(AirPassengers)` with `AirPassengers` and clarify the instruction. Also, updating the code block, lines 69-70.
Update the paragraph to eliminate the repetition in Portuguese
Hi everyone! If you only print the object by calling it by its name, your RStudio session will look like this: If you run If you print it with Because the lesson is only using the R Console, it looks like This part of the lesson is a little confusing, because that command is not loading the dataset into the console, but into the global environment: "Take a look at the AirPassengers data set by typing |
Thanks for your comments @rivaquiroga: shows how much I know about the R console! (not much).
That makes the most sense to me as the |
@rivaquiroga, who knows more R than I do, bit me to explain the "issue". Or misunderstanding of the function Additionally, @anisa-hawes remember in my workshop I said you can Command-click on the dataset and it will open a spreadsheet-like view? This is why :) Re-reading the paragraph in my translation, I think it is clear but it's a bit messy so I would be happy to update it and explain it better |
Updating para.60 Updating code block, line 64
Thank you @rivaquiroga and @jenniferisasi! Taking what you have explained into account, I wonder if the following adjustment I've made to the EN wording might make best sense: First, you need to load the AirPassengers data set into your console. Type
|
Ah... Let me know what you think is best, @drjwbaker. |
No no, go with what @rivaquiroga and @jenniferisasi say: they are the experts here, I hardly ever use rconsole. It feels like the article is using best practice for a reason, just hasn't quite explained why. |
@anisa-hawes I would suggest for the first sentence: "First, you need to load the AirPassengers data set into your R session" |
Adjust first sentence of para.60
Update code block, line 67
|
||
``` | ||
> data() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe we can remove this extra data()
, as it is mention in the previous paragraph just as an example of how to take a look to all the available datasets. It is not really a step expected for users to do for what comes next
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, okay. I'll remove this!
Update code block, line 70
Remove `> data()`, line 63
Remove `> data()`, line 66
Remove `> data()`, line 69
Hello @JimmyMedeiros82 and @DanielAlvesLABDH. Might either of you have a moment to review paragraph 60 of nocoes-basicas-R-dados-tabulares.md, to ensure that the instructions are clear about what each command achieves?
The adjusted EN text is: First, you need to load the AirPassengers data set into your R session. Type |
Correcting the Portuguese translation
Small change in the wording
Thank you, @DanielAlvesLABDH! Let us know if you have time to check the ES for clarity, @jenniferisasi or @rivaquiroga? When you're happy, I'll merge these changes. |
I'll do it! Give me a sec... |
Thank you, all! There's a broken link now, so I will fix this. |
Hmmm.... link seems to be correct & live.... |
I think this is wrong. For me l60..
..doesn't work. What does work is just typing
AirPassengers
. Can you check this please @anisa-hawes before merging? (as it may just be my setup!)Checklist
Closes #ISSUENUMBER
to the description aboveIf you are having difficulty fixing build errors, first consult https://github.com/programminghistorian/jekyll/wiki/Making-Technical-Contributions carefully, especially "Common Build Errors". Then contact the technical team if you need further help.