I had fun this morning when checking the results of the routing plagiarism check. There was one paper flagged as suspicious because it used quotes from published articles without quotation marks. It turns out, the student was guilty of using French-style quotation marks for English quotes — clearly inappropriate… not!

Read/write access for Samba/cfis drive remotely using GNU/Linux

I’ve had some issues with accessing a remote network drive: I didn’t have the permission to write on the network drive, even though I should. Changing the permissions manually would have worked, but that seemed like the wrong approach. I didn’t log into this particular drive for a while, so I figured my mount options were probably incorrect. Turns out (as usual) that the solution was to set the uid option:

mkdir -p ~/mnt/remote_username

sudo mount -t cifs -o user=remote_username,,uid=local_username //home/remote_username$ ~/mnt/remote_username

rtweet with Premium to search the archive

The R package rtweet does a great job to connect R to Twitter. Unless you’re looking at the past 7 days, Twitter offers two additional API (with different syntax).

If you access Twitter archives with rtweet and have a Premium subscrption on Twitter, the current version of rtweet sends requests in batches of n=100, but Premium (currently) allows batches up n=500. This means, you use 5 requests where 1 would suffice. Kevin Taylor has provided a fix for this, which he also mentioned in the issues of rtweet. Using the fix is easy (much easier than the description in issues thread suggests):


This will replace any installed version fo rtweet. You probably want this version if you’re on Twitter Premium; for the free Sandbox, n=100 is correct. Perhaps this is why rtweet has not implemented the fix yet?

Image credit: CC-by-nc by diarnst