Skip to content

Instantly share code, notes, and snippets.

ABC.RAP GNU make
abn Gnu Scientific Library version >= 1.12
adimpro Image Magick (for reading non PPM format), dcraw(for reading RAW images).
ADMMsigma GNU make
AhoCorasickTrie C++11
alakazam C++11
alfr Alfresco Content Repository (Community orEnterprise)
altair Python (>= 3.5.0), (Python) Altair (>= 3.1.0)
ambient C++11
AncestryMapper None, but greater than 12 GB of RAM highlyrecommended.
# Q.001 tidyverse
`library()`を用いてtidyverseパッケージを呼び出し、現在呼び出されているパッケージ一覧とtidyverseパッケージの一覧を比較し、読み込まれていないパッケージを表示すること。
呼び出し済みのパッケージ一覧には`search()`などを用いて取得し、tidyverseパッケージの一覧は`tidyverse::tidyverse_packages()`で取得可。
```{r, q001}
library(tidyverse)
```
keras <- reticulate::import(module = "keras")
model <- keras$models$Sequential(
list(
keras$layers$Dense(output_dim = 32L, input_dim = 784L),
keras$layers$Activation(activation = "relu"),
keras$layers$Dense(output_dim = 10),
keras$layers$Activation(activation = "softmax")
)
)
# Githubに個人的に作られたTask Viewにまとめられたパッケージをインストール
# https://github.com/benmarwick/ctv-archaeology
# 関数定義部 -----------------------------------------------------------------------
# 必要パッケージの設定
SET_USE_PACKAGES <- c("dplyr", "rvest", "devtools", "stringr")
# CRANにあるパッケージをまとめてインストール
# 関数定義部 -----------------------------------------------------------------------
# CRAN設定
SET_CRAN <- list(
REPOS = "http://cran.r-project.org",
RDS = "src/contrib/Views.rds"
# Windows環境で{leaflet}のpopup引数を指定すると表示ができない症状について
library(dplyr)
library(readr)
library(stringr)
library(leaflet)
plotLeaflet <- function (plot_obj){
return(
plot_obj %>%
station longitude latitude
伊予西条 133.1876 33.91246
library(hadleyverse)
library(PythonInR)
# http://textminingonline.com/getting-started-with-word2vec-and-glove-in-python
# https://github.com/maciejkula/glove-python
# git clone https://github.com/maciejkula/glove-python.git
# $ sudo python setup.py develop
# $ sudo python setup.py install