Blog Archives

An absolute beginner’s guide to creating data frames for a Stack Overflow [r] question

February 7, 2019
By

For better or worse I spend some time each day at Stack Overflow , reading and answering questions. If you do the same, you probably notice certain features in questions that recur frequently. It’s as though everyone is copying from one source – perhaps the one at the top of the search results. And it … Continue reading An...

Read more »

Price’s Protein Puzzle: 2019 update

January 30, 2019
By

Chains of amino acids strung together make up proteins and since each amino acid has a 1-letter abbreviation, we can find words (English and otherwise) in protein sequences. I imagine this pursuit began as soon as proteins were first sequenced, but the first reference to protein word-finding as a sport is, to my knowledge, “Price’s … Continue reading Price’s...

Read more »

Extracting data from news articles: Australian pollution by postcode

November 28, 2018
By
Extracting data from news articles: Australian pollution by postcode

The recent ABC News article Australia’s pollution mapped by postcode reveals nation’s dirty truth is interesting. It contains a searchable table, which is useful if you want to look up your own suburb. However, I was left wanting more: specifically, the raw data and some nice maps. So here’s how I got them, using R. … Continue reading Extracting...

Read more »

Using OSX? Compiling an R package from source? Issues with ‘-fopenmp’? Try this.

November 18, 2018
By

You can file this one under “I may have the very specific solution if you’re having exactly the same problem.” So: if you’re running some R code and you see a warning like this: Warning message: In checkMatrixPackageVersion() : Package version inconsistency detected. TMB was built with Matrix version 1.2.14 Current Matrix version is 1.2.15 … Continue reading Using...

Read more »

Just use a scatterplot. Also, Sydney sprawls.

July 17, 2018
By
Just use a scatterplot. Also, Sydney sprawls.

Sydney’s congestion at ‘tipping point’ blares the headline and to illustrate, an interactive chart with bars for city population densities, points for commute times and of course, dual-axes. Yuck. OK, I guess it does show that Sydney is one of three cities that are low density, but have comparable average commute times to higher-density cities. … Continue reading Just...

Read more »

Using leaflet, just because

July 17, 2018
By
Using leaflet, just because

I love it when researchers take the time to share their knowledge of the computational tools that they use. So first, let me point you at Environmental Computing, a site run by environmental scientists at the University of New South Wales, which has a good selection of R programming tutorials. One of these is Making … Continue reading Using...

Read more »

Twitter coverage of the useR! 2018 conference

July 16, 2018
By
Twitter coverage of the useR! 2018 conference

In summary: useR! the conference for users of R was held in Brisbane earlier this month it sounded like a lot of fun and here’s an analysis of tweets that used the #useR2018 hashtag during the week The code that generated the report (which I’ve used heavily and written about before) is at Github too. … Continue reading Twitter...

Read more »

Idle thoughts lead to R internals: how to count function arguments

June 21, 2018
By
Idle thoughts lead to R internals: how to count function arguments

“Some R functions have an awful lot of arguments”, you think to yourself. “I wonder which has the most?” It’s not an original thought: the same question as applied to the R base package is an exercise in the Functions chapter of the excellent Advanced R. Much of the information in this post came from … Continue reading Idle...

Read more »

PubMed retractions report has moved

May 22, 2018
By

A brief message for anyone who uses my PubMed retractions report. It’s no longer available at RPubs; instead, you will find it here at Github. Github pages hosting is great, once you figure out that docs/ corresponds to your web root :) Now I really must update the code and try to make it more … Continue reading PubMed...

Read more »

Moving from RPubs to Github documents

April 4, 2018
By

If you still follow my Twitter feed – I pity you, as it’s been rather boring of late. Consisting largely of Github commit messages, many including the words “knit to github document”. Here’s why. RPubs, an early offering from RStudio, has been a great platform for easy and free publishing of HTML documents generated from … Continue reading Moving...

Read more »

Search R-bloggers


Sponsors

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)