R 2.4.0 の変更点
【R2.4.0】 R version 2.4.0 (2006-10-03) Copyright (C) 2006 The R Foundation for Statistical Computing =========== 【R2.3.1以前】 R : Copyright 2006, The R Foundation for Statistical Computing Version 2.3.1 (2006-06-01)
【R2.4.0】 > head(read.csv) 1 function (file, header = TRUE, sep = ",", quote = "\\"", dec = ".", 2 fill = TRUE, ...) =========== 【R2.3.1以前】 > head(read.csv) 1 function (file, header = TRUE, sep = ",", quote = "\\"", dec = ".", 2 fill = TRUE, comment.char = "", ...)
【R2.4.0】
> factor(1)[[1]]
[1] 1
Levels: 1
> as.list(factor(1))
[[1]]
[1] 1
Levels: 1
> a <- list(factor(c("a", "a", "b")))
> unlist(a)
[1] a a b
Levels: a b
===========
【R2.3.1以前】
> factor(1)[[1]]
[1] 1
> as.list(factor(1))
[[1]]
[1] "1"
> a <- list(factor(c("a", "a", "b")))
> unlist(a)
[1] 1 1 2【R2.4.0】
> example(mauchly.test)
中略
data: SSD matrix from lm(formula = reacttime ~ 1)
W = 0.9601, p-value = 0.8497
===========
【R2.3.1以前】
> example(mauchly.test)
中略
データ: SSD matrix from lm(formula = reacttime ~ 1)
以下にエラーif (x == "X-squared") { : 引数の長さが0です
追加情報: 37 件の警告がありました (警告を見るには warnings() を使って下さい)【R2.4.0】
> head(sort)
1 function (x, decreasing = FALSE, ...)
===========
【R2.3.1以前】
> head(sort)
1 function (x, partial = NULL, na.last = NA, decreasing = FALSE,
2 method = c("shell", "quick"), index.return = FALSE) > combn(5, 3)
[,1] [,2] [,3] [,4] [,5] [,6] [,7] [,8] [,9] [,10]
[1,] 1 1 1 1 1 1 2 2 2 3
[2,] 2 2 2 3 3 4 3 3 4 4
[3,] 3 4 5 4 5 5 4 5 5 5> memory.size() [1] Inf Warning message: 'memory.size()' is Windows-specific > memory.limit() [1] Inf Warning message: 'memory.limit()' is Windows-specific
> a <- setwd("~/Desktop")
> setwd(a)