[R] Error: cannot allocate vector of size 6.5 Gb
Peter Crowther
peter@crowther @end|ng |rom me|@ndr@@com
Mon Feb 24 14:27:54 CET 2020
Are you running the 32-bit or 64-bit version of R? The 32-bit version
cannot allocate that much space; on Windows, the maximum contiguous space
that can ever be allocated in a 32-bit process is a little over 1Gbyte, on
Unix it's larger but cannot go over the 32-bit address space limit of
4Gbytes.
Cheers,
- Peter
On Sat, 22 Feb 2020 at 22:43, greg holly <mak.hholly using gmail.com> wrote:
> Dear R-Help members;
>
> I have the following error messages when I would like to create
> training and testing data for Random Forest.
>
> Your help is highly appreciated.
>
> Regards,
> Greg
>
> inTrain <- createDataPartition(a, p = 0.7, list = FALSE)
> Error: cannot allocate vector of size 6.5 Gb
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help using 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]]
More information about the R-help
mailing list