Dear John and Anima, I didn't reply earlier because other people got to it before I did and because, given the lack of information in the original post, there wasn't anything to add.
The car package shouldn't require anything near 2.5 Gb to load. Here's what I get under Windows 10 with R 3.4.2: > memory.size() [1] 62.08 > library(car) > memory.size() [1] 166.09 The units are MB (the ?memory.size help page says "Mb" but I believe that's usually for "megabits" and that it isn't what's intended). Some more information, as has been suggested by other posters, might help. Best, John ----------------------------- John Fox, Professor Emeritus McMaster University Hamilton, Ontario, Canada Web: socserv.mcmaster.ca/jfox > -----Original Message----- > From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of John Kane > via R-help > Sent: Tuesday, October 31, 2017 10:46 AM > To: r-help@r-project.org; Anima Pramanik <apramani...@gmail.com> > Subject: Re: [R] error to run this package > > Since we don't know what you were doing when this happened it is a bit > difficult to guess. > Please supply a minimal set of code that demonstrates what you were doing > that gives this error. > The output of sessionInfo() would also be useful. > Have a look at http://stackoverflow.com/questions/5963269/how-to-make-a- > great-r-reproducible-example > or > Reproducibility · Advanced R.for some idea of the type of information that > would useful. > The simplist solution might be to make sure that you have enough memory > available since the error says, "cannot allocate memory block of size 2.5 Gb". > > > | > | > | | > Reproducibility · Advanced R. > > > | > > | > > | > > > > > > On Tuesday, October 31, 2017, 9:07:04 AM EDT, Anima Pramanik > <apramani...@gmail.com> wrote: > > Error: package or namespace load failed for ‘car’ in get(Info[i, 1], envir > = env): > cannot allocate memory block of size 2.5 Gb > > > please help me to get a solution of this problem > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting- > guide.html > and provide commented, minimal, self-contained, reproducible code. > [[alternative HTML version deleted]] > > ______________________________________________ > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting- > guide.html > and provide commented, minimal, self-contained, reproducible code. ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.