Rでの例外処理(tryCatchの使い方メモ) ref: http://qiita.com/hotoku/items/c80bc43400681a7c8646