I’ve always wanted one of those wall maps that you can push pins into to show where all you’ve been. However, with college and grad school and whatnot, I’ve never really had the energy to put one up, since I know I’ll just have to take it down the next time I move. Then, something occurred to me: I like maps. I like traveling. I like R. So why not spend a night putting them all together?
Lots of little things happen in grad school that take you by surprise but really shouldn’t. One of those things for me happened after I finished all of my coursework. Without the deadlines of weekly seminars, I didn’t read journal articles or books nearly as often as I should have. I figured this out about this time last year and made it my New Year’s resolution to get better at keeping up with journals.
I submitted final course grades today. The semester is over, hurrah! Of course, getting the grades out of my university’s learning management system (we use Canvas) was a pain. It exported to csv, but the first three rows contained some meta-information instead of students’ grades. And there were some rows that weren’t students. So this meant that when I imported this into R, all the columns in my data.frame were of type character instead of numeric:
This is a post in a series of posts about using pandoc to convert between markdown, latex, word, and pdf. It should stand on its own, but you may want to go though the posts sequentially. Intro OK, you have installed pandoc to convert your markdown or latex file to docx and sent it off to your adviser for comments. Now they send that file back, with comments in the word document and changes made using Word’s “track changes” feature.
This is a post in a series of posts about using pandoc to convert between r/markdown, latex, word, and pdf. It should stand on its own, but you may want to go though the posts sequentially. Even though word processors are stupid, MS Word’s ubiquity means that occasionally I have to convert a latex or markdown document to a docx file for a colleague who insists on using Word’s “comments” feature or for submission to a journal that doesn’t accept pdfs (though thankfully, the vast majority do today).
I’m all the time asked something along the lines of “Hey, you taught me markdown/latex, but my adviser wants to give me comments in Word. How can I make that happen?” The answer, unfortunately, is a little complicated. The best way to do this is to use pandoc, an absolutely wonderful program that converts between all kinds of markup formats (including between markdown, latex, and docx documents).1 Pandoc is very powerful, but a little overwhelming, especially if you aren’t used to working with command line applications.
Updated 27 October 2016: Added note about getting a “final” bib file Lately I’ve been putting in a not insignificant amount of effort to make sure that my research is reproducible. Ideally, this means that it’s not just the final product that is reproducible — it should be reproducible at each step along the way. One tool I’ve been increasingly reliant on is GNU make, which is a way to describe dependencies between files.
I’ve been meaning to get everything off of evernote for some time now. I’ve never really liked their service. It always seemed sluggish and the UI/UX wasn’t great. This week, Evernote announced some limitations on free accounts that make it mostly useless now. So I decided to get my data out of there and into org-mode I didn’t have much, really, anyway - mostly recipes. It was over 100 different notes, though, so manually copy/pasting was out of the question.
A few people have told me that my previous blog post has really helped them out. I’ve also noticed that my own website occasionally gets cloned. I’ve done quite a bit with my website, though, so it’s not quite as “clean” as I’d like it to be, were I showing someone how to get their own site set up. To that end, I created a github pages academic starter kit repository on github that you can fork and clone to get started with your own website as quickly as possible.
I co-taught a workshop (with Daniel Weitzel) about how to use R. The workshop was geared towards people who have seen R before, but aren’t comfortable using it. We walked through the basic workflow: importing data, data manipulation, data merging, creating tables, and visualization.
In case others are interested, I’ve put the materials on github.