How to parse Javascript-generated tables in a headless R server?

by Esa Turtiainen
tags: R Javascript HTML

Some sources where I want to read information easily using R have turned into Javascript tables. That means that the data what I am looking for is not available easily in the HTML source any more.

The old trick:

t = readHTMLTable("")
DE = t[[6 ...

Android "Insufficient storage available"

by Esa Turtiainen
tags: Android cyanogenmod

I am using CyanogenMod 10.2. (Android 4.3.1) in my Galaxy S3. Now a dozen of applications fail to update. They try again and again but the result is always "Insufficient storage available".

Some of the problematic applications were major, like Google Chrome, Netflix and Lync.

It starts ...


Modem manager disturbs adb

by Esa Turtiainen
tags: Android

I updated an old Galaxy S (the old original i9000) to CyanogenMod 10.1 (Android 4.2.2) which, by the way, works excellently in this old smartphone.

However, when uploading the update file with adb push, I always got an error:

adb protocol fault (no status)

When ...


s3cmd and wrong MIME types

by Esa Turtiainen
tags: S3 MIME

I uploaded a full HTML site to S3 using s3cmd and wondered why CSS did not load at all and even though most HTML files worked, some did not.

It turned out that the MIME types of the files were wrong.

MIME type is a string that tells what type ...


Dropbox backup of a headless server

by Esa Turtiainen
tags: Dropbox Linux

It is possible to use Dropbox as ~/Dropbox in a headless Linux server for backups. However, it is not possible to see all Dropbox files normally but prevent them to be downloaded. Sooner or later, the unattended Dropbox fills all the local disk of a small server.

I have a ...