R 2.7.0 の変更予定 注意:[[オリジナル文書:https://svn.r-project.org/R/trunk/NEWS]]のすべてを翻訳・記載しているわけではありません。 ---- #contents ---- * ユーザに見える変更 [#h5d3c6ab] * 新しい仕様 [#sd7b2800] - identify() recycles its 'labels' argument if necessary. - ew function as.octmode() to create object such as file permissions. - dir.create() has a new argument 'mode', used on Unix-alikes (only) to set the permissions on the created directory. - New function Sys.chmod(), a wrapper for 'chmod' on platforms which support it. - as.POSIXlt() is now generic, and it and as.POSIXct() gain a '...' argument. The character/factor methods now accept a 'format' argument (analogous to that for as.Date). - as.Date(), as.POSIXct() and as.POSIXlt() now convert numeric arguments (days or seconds since some epoch) provided the 'origin' argument is specified. - New higher-order function Negate(). - PCRE has been updated to 7.4. - In addition to warning when 'pkgs' is not found, install.packages() now reports if it finds a valid package with only a case mismatch in the name. - deriv() は digamma(x), trigamma(x), psigamma(x, deriv) を扱えるようになった。 -- R 2.6.0 まで > deriv(~digamma(x), "x") 以下にエラー deriv.formula(~digamma(x), "x") : 関数 'digamma' は導関数の表中にありません -- R 2.7.0 から > deriv(~digamma(x), "x") expression({ .value <- digamma(x) .grad <- array(0, c(length(.value), 1L), list(NULL, c("x"))) .grad[, "x"] <- trigamma(x) attr(.value, "gradient") <- .grad .value }) * 旧式化と廃止 [#edc1f09c] - In package installation, SaveImage: yes is defunct and lazyloading is attempted instead. - $ on an atomic vector or S4 object is now defunct. - Partial matching in [[ is now only performed if explicitly requested (by exact=FALSE or exact=NA). * ユーティリティー [#f53bd771] - Rd ファイルの「キーワード」項目は必須ではなくなった。 * バグフィックス [#we962474]