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

trouble with quotes in writing CSVs and tables #389

Open
brimittleman opened this Issue Aug 9, 2018 · 2 comments

Comments

Projects
None yet
2 participants
@brimittleman

brimittleman commented Aug 9, 2018

In reading through the intro R lesson section about reading and writing files, I do not see a discussion about the quote=T/F argument. As a novice, I never understood why the files I wrote had all of the values quoted. Is there a reason this is not discussed or used here?

@katrinleinweber

This comment has been minimized.

Collaborator

katrinleinweber commented Aug 9, 2018

Hi Briana,

that is an interesting question! Because git log --oneline | grep "quote" or "csv" don't provide a (to me) obvious answer, I presume it is expected that

a) either 11-supp-read-write-csv clarifies it, or
b) learners read through help(read.csv) and talk about the parameters relevant to them with instructors and helpers.

Do you think that we should point novices to the fact that the " or ' in the .csv being the remnants of R having considered those values as being a string? Equivalent to those quotes being used when defining strings within R.

What other parameter discussion would you find less important? The lesson is already quite full, so we'd have to remove something else if we add something about this.

@brimittleman

This comment has been minimized.

brimittleman commented Aug 10, 2018

I agree that the lesson is quite full. In thinking that way, pointing novices to the fact that quotes are remnants of strings will be sufficient. If they know this then it should be easy to google and fix the problem if they see it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment