Hello I have a question about the error: vector memory exhausted (limit reached?). I have the R-studio version 4.0.3 (2020-10-10). I have a MacBook Air (13-inch, 2017). I am trying to open a dataset file ?data_dta? through the import dataset ?file from stata? button. I already did this with other datasets, and this works fine. Now, I want to work with a bigger dataset of 4.08 GB. When I try to open the dataset, I get this error: vector memory exhausted (limit reached?). What can I do about this? I still have 25 GB available on my laptop. Thank you very much Hannah Van Impe
Patrick (Malone Quantitative)
2020-Nov-02 20:16 UTC
[R] Error: vector memory exhausted (limit reached?)
The error probably means what it says. I'm guessing "25 GB available" is on the hard drive. But the issue is the data must be held in RAM, and a file >4GB (before de-compression) is quite a lot of RAM on laptop scales. Try taking a subset of the data in Stata before importing? Pat On Mon, Nov 2, 2020 at 3:09 PM Hannah Van Impe <hannahvanimpe at outlook.com> wrote:> > Hello > > I have a question about the error: vector memory exhausted (limit reached?). I have the R-studio version 4.0.3 (2020-10-10). > I have a MacBook Air (13-inch, 2017). I am trying to open a dataset file ?data_dta? through the import dataset ?file from stata? button. > I already did this with other datasets, and this works fine. Now, I want to work with a bigger dataset of 4.08 GB. When I try to open the dataset, I get this error: vector memory exhausted (limit reached?). > What can I do about this? I still have 25 GB available on my laptop. > > Thank you very much > Hannah Van Impe > ______________________________________________ > R-help at 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.-- Patrick S. Malone, Ph.D., Malone Quantitative NEW Service Models: http://malonequantitative.com He/Him/His
Patrick (Malone Quantitative)
2020-Nov-02 20:27 UTC
[R] Error: vector memory exhausted (limit reached?)
Re-looping R-help. My error. Hannah, I can't tell you how much RAM your computer has, certainly not how much is free for R's use. Just that you are probably not going to be able to load a dataset that Large into a 2017 MacBook. On Mon, Nov 2, 2020, 3:20 PM Hannah Van Impe <hannahvanimpe at outlook.com> wrote:> Thank you very much, > would it be possible to merge multiple smaller datasets into this one > dataset? > How much RAM would be possible for one dataset on laptop scales? > I need to work with this data for the university, so it would be best if I > could work with the whole dataset. > Thank you! > > > Op 2 nov. 2020, om 21:16 heeft Patrick (Malone Quantitative) < > malone at malonequantitative.com> het volgende geschreven: > > > > The error probably means what it says. I'm guessing "25 GB available" > > is on the hard drive. But the issue is the data must be held in RAM, > > and a file >4GB (before de-compression) is quite a lot of RAM on > > laptop scales. > > > > Try taking a subset of the data in Stata before importing? > > > > Pat > > > > > > On Mon, Nov 2, 2020 at 3:09 PM Hannah Van Impe > > <hannahvanimpe at outlook.com> wrote: > >> > >> Hello > >> > >> I have a question about the error: vector memory exhausted (limit > reached?). I have the R-studio version 4.0.3 (2020-10-10). > >> I have a MacBook Air (13-inch, 2017). I am trying to open a dataset > file ?data_dta? through the import dataset ?file from stata? button. > >> I already did this with other datasets, and this works fine. Now, I > want to work with a bigger dataset of 4.08 GB. When I try to open the > dataset, I get this error: vector memory exhausted (limit reached?). > >> What can I do about this? I still have 25 GB available on my laptop. > >> > >> Thank you very much > >> Hannah Van Impe > >> ______________________________________________ > >> R-help at 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. > > > > > > > > -- > > Patrick S. Malone, Ph.D., Malone Quantitative > > NEW Service Models: http://malonequantitative.com > > > > He/Him/His > >[[alternative HTML version deleted]]