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

2020-02-22 Thread Rolf Turner
On 23/02/20 11:42 am, greg holly 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 al

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

2020-02-22 Thread greg holly
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 [[alter

Re: [R] RegExpr: Help match quote inside a set

2020-02-22 Thread Benoit Vaillant
Hi, On Fri, Feb 21, 2020 at 07:28:10AM -0800, Bert Gunter wrote: > Yes. From ?regex > "A range of characters may be specified by giving the first and last > characters, separated by a hyphen. (Because their interpretation is locale- > and implementation-dependent, character ranges are best avoided

Re: [R] Package httr::GET() question

2020-02-22 Thread Roy Mendelssohn - NOAA Federal via R-help
Thanks. Yes that is what I found out. We are switching our web service to require strict encoding (a lot of services got caught when Apache Tomcat made a similar switch) and are trying to see if it that will break any of our R packages before we make the switch, As always, appreciate all t

Re: [R] Package httr::GET() question

2020-02-22 Thread Bob Rudis
curl::curl_escape() — https://github.com/jeroen/curl/search?q=curl_escape&unscoped_q=curl_escape — uses the underlying libcurl curl_easy_escape() which does proper escaping b/c it's, well, curl. {httr} uses curl::curl_escape() — https://github.com/r-lib/httr/search?q=curl_escape&unscoped_q=curl_es