r - Linear regression using ff package -


i using ff package linear regression in r. here tt as.ffdf object. code goes follows:

> fit <- lm(ada ~ dummy + nlead + big4 + logmkt + lev + roa + roal + loss +   +                cfo + btm + growth + altman + absaccrl +  +                stdearn + tenure + year_fe , data = tt, weight = weight) 

however, getting following error:

error: cannot allocate vector of size 2.0 gb 

how can pre-create fit ff object, fit can absorb entire data being returned it? thanks.

can't check on data don't provide any. should running.

library(devtools) install_github("edwindj/ffbase", subdir="pkg")  require(ffbase) fit <- bigglm(ada ~ dummy + nlead + big4 + logmkt + lev + roa + roal + loss +                   cfo + btm + growth + altman + absaccrl + stdearn + tenure + year_fe ,                data = tt, family = gaussian(), weight = weight) 

or have @ example in of ?chunk.ffdf


Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -