プログラミング

シンプルに使い方を紹介

2017-05-21から1日間の記事一覧

【SQLite】【Rails】基本操作方法

SQLiteへの接続方法 $ sqlite3 db/development.sqlite3 テーブルの確認方法 sqlite> .table sqlite> select * from [table] テーブルカラムの確認方法 sqlite> .schema sqlite> .schema tbl_name

【R】integer(0)の条件判断方法

R

計測方法 length(#length(0)の変数#) 結果 0 参考リンク r - How to catch integer(0)? - Stack Overflow

【R】処理時間の計測方法

R

計測関数 - 1 t<-proc.time() #処理# print(proc.time()-t) 計測関数 - 2 system.time(#関数#) 計測結果 ユーザ システム 結果 1194.794 31.666 1257.463