search for: strarg

Displaying 2 results from an estimated 2 matches for "strarg".

Did you mean: stdarg
2017 Jan 02
1
utils::ls.str(): Partial argument name 'digits' to seq() (should be digits.d?)
...as: svn diff src/library/utils/R/str.R Index: src/library/utils/R/str.R =================================================================== --- src/library/utils/R/str.R (revision 71879) +++ src/library/utils/R/str.R (working copy) @@ -622,7 +622,7 @@ args$digits.d <- NULL } strargs <- c(list(max.level = max.level, give.attr = give.attr, - digits = digits), args) + digits.d = digits), args) for(nam in x) { cat(nam, ": ") ## check missingness, e.g. inside debug(.) : Example: $ R --quiet --vanilla > options(wa...
2003 May 26
4
spinning and flipping arrays
Hello people, Is there some simple way of spinning and/or flipping arrays in R? Here's what I mean. Suppose that foo is a 2x3x4 array with the following contents: (I know this is different than typing 'foo' at and R prompt, but I'm so used to row major order from using APL, I have a hard time with R's output) > foo[1,,] [,1] [,2] [,3] [,4] [1,] 1 2 3 4