Re: [R] $ opetator is invalid for atomic vectors

2020-02-24 Thread Rui Barradas
Hello, Please cc the list. Yes, I believe so, it's hard to say, the code is not reproducible. But that's what the docs say. Why not try it? Hope this helps, Rui Barradas Às 16:00 de 24/02/20, javed khan escreveu: Thanks for your feedback Rui.. It means I have to specify the "mod" in the res

Re: [R] Error: cannot allocate vector of size 6.5 Gb

2020-02-24 Thread Peter Crowther
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.

Re: [R] $ opetator is invalid for atomic vectors

2020-02-24 Thread Rui Barradas
Hello, If you are using function resamples from package caret, just read its help page. From ?resamples, section Arguments: Arguments x a list of two or more objects of class train, sbf or rfe with a common set of resampling indices in the control object. For sort.resamples, it is an

Re: [R] How to index the occasions in a vector repeatedly under condition 1? if not, it will give a new index.

2020-02-24 Thread Lijun Zhao
Hi Peter, Thank you so much. Kind regards, Lijun -Original Message- From: peter dalgaard Sent: Friday, 21 February 2020 8:16 PM To: Lijun Zhao Cc: William Dunlap ; r-help@r-project.org Subject: Re: [R] How to index the occasions in a vector repeatedly under condition 1? if not, it wil