Hello,
Please, find a long response below.
== difference between mean(x) and sum(x)/length(x) ==
At the core, mean(x) and sum(x)/length(x) works very differently for real
numbers.
Mean is more accurate when applied to a vector with a small variance but a very
high mean, especially on pla
There is a small typo in the NEWS file: write.table -> write.ftable
-Message d'origine-
De : SOEIRO Thomas
Envoyé : jeudi 2 septembre 2021 13:10
À : 'Martin Maechler'
Cc : r-devel@r-project.org
Objet : RE: [Rd] sep hard coded in write.ftable
Dear Martin,
Thank you very much for your pro
Dear Martin,
Thank you very much for your prompt feedback!
Best regards,
Thomas
-Message d'origine-
De : Martin Maechler [mailto:maech...@stat.math.ethz.ch]
Envoyé : jeudi 2 septembre 2021 11:30
À : SOEIRO Thomas
Cc : r-devel@r-project.org
Objet : Re: [Rd] sep hard coded in write.ftabl
On 02/09/2021 6:55 a.m., Viechtbauer, Wolfgang (SP) wrote:
Hi all,
I am trying to understand the performance of functions applied to integer
sequences. Consider the following:
### begin example ###
library(lobstr)
library(microbenchmark)
x <- sample(1e6)
obj_size(x)
# 4,000,048 B
y <- 1:1e6
Hi all,
I am trying to understand the performance of functions applied to integer
sequences. Consider the following:
### begin example ###
library(lobstr)
library(microbenchmark)
x <- sample(1e6)
obj_size(x)
# 4,000,048 B
y <- 1:1e6
obj_size(y)
# 680 B
# So we can see that 'y' uses ALTREP. T
> SOEIRO Thomas
> on Wed, 1 Sep 2021 15:01:43 + writes:
> Dear all,
> (This is a follow up of a previous suggestion for ftable that was added
in R 4.1.0: https://stat.ethz.ch/pipermail/r-devel/2020-May/079451.html)
> The sep argument is hard coded in write.ftable: