中級 R
Filip Schouwenaars
DataCamp Instructor
mean()、list()、sample()はどこから来るのですか?base, ggvisbase パッケージ: 自動的にインストール済みggvis パッケージ: まだインストールされていません
install.packages("ggvis")
CRAN: 包括的Rアーカイブネットワーク
search()
".GlobalEnv" ... "Autoloads" "package:base"
ggvis(mtcars, ~wt, ~hp)
Error: could not find function "ggvis"
library("ggvis")
search()
".GlobalEnv" "package:ggvis" ... "package:base"
ggvis(mtcars, ~wt, ~hp)

library("data.table")
Error in library("data.table") :
there is no package called ‘data.table’
require("data.table")
Loading required package: data.table
Warning message: ...
result <- require("data.table")
Loading required package: data.table
Warning message: ...
result
FALSE
install.packages() library(), require() 中級 R