Skip to content

Instantly share code, notes, and snippets.

data sciesotist datasciesotist

Block or report user

Report or block datasciesotist

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@datasciesotist
datasciesotist / CRAN_R_ATLAS_benchmark_result.txt
Created Nov 20, 2017
CRAN R ソースインストール + ATLASのベンチマーク結果
View CRAN_R_ATLAS_benchmark_result.txt
cat R-benchmark-25.R | time R --slave > result.txt 2>&1
-----
Loading required package: Matrix
Loading required package: SuppDists
Warning message:
In library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE, :
there is no package called ‘SuppDists’
Warning messages:
1: In remove("a", "b") : object 'a' not found
2: In remove("a", "b") : object 'b' not found
@datasciesotist
datasciesotist / ORD_MKL_benchmark_result.txt
Created Nov 19, 2017
Oracle R Distribution + Intel MKLのベンチマーク結果
View ORD_MKL_benchmark_result.txt
cat R-benchmark-25.R | time R --slave > result.txt 2>&1
-----
Loading required package: Matrix
Loading required package: SuppDists
Warning message:
In library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE, :
there is no package called ‘SuppDists’
Warning messages:
1: In remove("a", "b") : object 'a' not found
2: In remove("a", "b") : object 'b' not found
@datasciesotist
datasciesotist / CRAN_R_source_OpenBLAS_benchmark_result.txt
Last active Nov 19, 2017
CRAN R ソースインストール+OpenBLASのベンチマーク結果
View CRAN_R_source_OpenBLAS_benchmark_result.txt
cat R-benchmark-25.R | time R --slave > result.txt 2>&1
-----
Loading required package: Matrix
Loading required package: SuppDists
Warning message:
In library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE, :
there is no package called ‘SuppDists’
Warning messages:
1: In remove("a", "b") : object 'a' not found
2: In remove("a", "b") : object 'b' not found
@datasciesotist
datasciesotist / CRAN_R_source_std_blas_lapack_benchmark_result.txt
Last active Nov 19, 2017
CRAN R ソースインストール+標準BLAS / LAPACKのベンチマーク結果
View CRAN_R_source_std_blas_lapack_benchmark_result.txt
cat R-benchmark-25.R | time R --slave > result.txt 2>&1
-----
Loading required package: Matrix
Loading required package: SuppDists
Warning message:
In library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE, :
there is no package called ‘SuppDists’
Warning messages:
1: In remove("a", "b") : object 'a' not found
2: In remove("a", "b") : object 'b' not found
@datasciesotist
datasciesotist / ORD_std_blas_lapack_benchmark_result.txt
Last active Nov 19, 2017
Oracle R Distribution + 標準BLAS / LAPACKのベンチマーク結果
View ORD_std_blas_lapack_benchmark_result.txt
cat R-benchmark-25.R | time R --slave > result.txt 2>&1
-----
Loading required package: Matrix
Loading required package: SuppDists
Warning message:
In library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE, :
there is no package called ‘SuppDists’
Warning messages:
1: In remove("a", "b") : object 'a' not found
2: In remove("a", "b") : object 'b' not found
@datasciesotist
datasciesotist / MRO_benchmark_result.txt
Last active Nov 19, 2017
Microsoft R Openのベンチマーク結果
View MRO_benchmark_result.txt
cat R-benchmark-25.R | time R --slave > result.txt 2>&1
-----
Loading required package: Matrix
Loading required package: SuppDists
Warning message:
In library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE, :
there is no package called ‘SuppDists’
Warning messages:
1: In remove("a", "b") : object 'a' not found
2: In remove("a", "b") : object 'b' not found
@datasciesotist
datasciesotist / CRAN_R_pkg_benchmark_result.txt
Last active Nov 19, 2017
CRAN R パッケージ版のベンチマーク結果
View CRAN_R_pkg_benchmark_result.txt
cat R-benchmark-25.R | time R --slave > result.txt 2>&1
-----
Loading required package: Matrix
Loading required package: SuppDists
Warning message:
In library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE, :
there is no package called ‘SuppDists’
Warning messages:
1: In remove("a", "b") : object 'a' not found
2: In remove("a", "b") : object 'b' not found
@datasciesotist
datasciesotist / multidplyr_snippet.R
Created Jul 27, 2017
multidplyrパッケージの基本的な使い方メモ
View multidplyr_snippet.R
library(dplyr)
library(multidplyr)
cores <- parallel::detectCores(logical = TRUE) - 2 # 2スレッド = 1コアはOSに確保
cl <- create_cluster(cores)
data <- fread(...)
data.dist <- data %>% partition(group, cluster = cl) # パーティション分割したいグループ変数を選択
# 上で設定したノード数と合うような変数がベスト
@datasciesotist
datasciesotist / ggplot2_prefecture_order.R
Last active Nov 14, 2017
【R】ggplot2で都道府県データにしかるべきコード順のラベルを付与する
View ggplot2_prefecture_order.R
library(ggplot2)
data <- read.csv("pref_population_GDP.csv", header = TRUE, stringsAsFactors = FALSE)
pref_code <- c("北海道","青森県","岩手県","宮城県","秋田県","山形県","福島県","茨城県","栃木県","群馬県","埼玉県","千葉県","東京都","神奈川県","新潟県","富山県","石川県","福井県","山梨県","長野県","岐阜県","静岡県","愛知県","三重県","滋賀県","京都府","大阪府","兵庫県","奈良県","和歌山県","鳥取県","島根県","岡山県","広島県","山口県","徳島県","香川県","愛媛県","高知県","福岡県","佐賀県","長崎県","熊本県","大分県","宮崎県","鹿児島県","沖縄県")
data$pref <- factor(data$pref, levels = pref_code)
sp <- ggplot(data, aes(x = population, y = GDP, group = pref)) +
geom_text(aes(label = pref, colour = pref))
You can’t perform that action at this time.