[R] Memory not release when an environment is created

2016-09-22 Thread Olivier Merle
Dear, When I use big data for a temporary use it seems that the memory is not released when a function/environement is created nearby. Here the reproducible exemple: test<-function(){ x=matrix(0,5,1) y=function(nb) nb^2 return(y) } xx=test() # 3 Go of Ram is used gc() # Memory is not

[R] Fwd: Bug in VGAM z value and coefficient ?

2013-04-21 Thread Olivier Merle
Dear, I dont see my topic in the daily summary : Thanks -- Forwarded message -- From: Olivier Merle oliviermerl...@gmail.com Date: 2013/4/17 Subject: Bug in VGAM z value and coefficient ? To: r-help@r-project.org Dear, When i multiply the y of a regression by 10, I would

[R] Bug in VGAM z value and coefficient ?

2013-04-17 Thread Olivier Merle
Dear, When i multiply the y of a regression by 10, I would expect that the coefficient would be multiply by 10 and the z value to stay constant. Here some reproducible code to support the case. *Ex 1* library(mvtnorm) library(VGAM) set.seed(1) x=rmvnorm(1000,sigma=matrix(c(1,0.75,0.75,1),2,2))