Open MihirSathe1 opened 6 years ago
Somewhere you smuggled in a character that was not UTF-8 encoded. The characters are hard to find, but I copied your whole 01.Rmd
into a programmer's text editor (I used TextWrangler on OSX), then copied it back into RStudio. The programmer's editor standardized the encoding. Running a diff reveals where the characters were:
I'd suggest doing the same. It built for me after "washing" the text through TextWrangler.
What have you been using to edit your files? What OS do you use? There are tons of great text editors; I'm happy to recommend or I bet pinging Slack would get plenty of ideas from other students.
I have Windows and have been using Microsoft Word to write my "Big Idea 1", and then copy pasted it into the 01.Rmd file. Is there another you'd recommend for writing?
Thanks!
Word was changing the characters after you typed them, usually "educating" the quotes (turning straight quotes to curly quotes), and also adding random garbage when you copy and paste (Word is actually a version of XML). Use Notepad +, but I'd also ask on the #MIDS channel what programmer editors people like to use. There are a ton!
I'm at step 4 end of part 1(https://w201rdada.github.io/syllabus/dstep4.html#dstep4) and got the error below in my console:
Quitting from lines 34-73 (_main.Rmd) Error in nchar(input) : invalid multibyte string, element 1 Calls: ... process_group.inline -> call_inline -> in_dir -> inline_exec
In addition: There were 13 warnings (use warnings() to see them)
Please delete _main.Rmd after you finish debugging the error. Execution halted