Data Science. TileDB. Open Source. Quant Research. R. C++. Debian. Linux. Adjunct Clinical Professor, University of Illinois. Lots of coffee. And some running.
Yup, rings a bell. Might be historical compatibility. There are add-on packages with column-wise variance or sd. Because this is a cludge -- but been-there-done-that:
> library(palmerpenguins)
> sapply(penguins, function(x) if (is.numeric(x)) sd(na.omit(x)) else NULL)
Provide a MCVE or it doesn't count :)
> sd(1:10)
[1] 3.02765
> set.seed(123); sd(rnorm(10))
[1] 0.953784
>
Is you 'x' a list or data.frame? Well yes in that case you need to loop over columns.
It is more complicated as `paste0(rep('a', 5000), collapse="")` easily creates a longer one.
What you found is an (arbitrary but high) limit on a (single) input line in the REPL. If this really mattered to you could probably recompile with a larger constant.
#rstats
I am looking forward to talking about #RStats, #Rcpp and #ML at the 6th Europeans #COST Conference on #AI in Industry and Finance organized by four @ZHAW departments. All happening tomorrow, see more at
zhaw.ch/en/engineering/insti…
And the best part, by a mile, is what @groundwalkergmb mentioned: internally it just plain regular code:
> deparse(substitute(letters |> toupper() |> tail()))
[1] "tail(toupper(letters))"
>
I am looking forward to talking about #RStats, #Rcpp and #ML at the 6th Europeans #COST Conference on #AI in Industry and Finance organized by four @ZHAW departments. All happening tomorrow, see more at
zhaw.ch/en/engineering/insti…
Well I do have blog posts and more for easier installations of stan and friends too. Especially if you pick one of the OSs that support ... the awesome automated installed from binaries. See for example dirk.eddelbuettel.com/blog/2… but the r^4 series is full of posts on this.
Let's say _Thank You Very Much_ for the strategic blunder of StatSoft, sole licensee for the "commercial S" i.e. S-Plus, to then *not* offer a mac version so that two (then young) academics in Auckland went off to write their own... The rest, as they say, is
#RStats#History.
You may be looking for the `conflicted` package. (And you meant MASS::select here.)
You can also use selective attaching, either via NAMESPACE in a package, or via library() explicitly choose (or exclude) certain identifiers.