Re: [Rd] pcre problems

2019-02-28 Thread Tomas Kalibera
On 3/1/19 7:10 AM, robin hankin wrote: thanks for this guys. I only compiled pcre myself as a last resort, because of the ./configure failure. But AFAICS apt-get reports correct installation: OK~/Downloads/R-devel sudo apt-get install r-base-dev Reading package lists... Done Building depende

Re: [Rd] pcre problems

2019-02-28 Thread robin hankin
thanks for this guys. I only compiled pcre myself as a last resort, because of the ./configure failure. But AFAICS apt-get reports correct installation: OK~/Downloads/R-devel sudo apt-get install r-base-dev Reading package lists... Done Building dependency tree Reading state information... Don

Re: [Rd] Exit status of Rscript

2019-02-28 Thread Simon Urbanek
> system2("Rscript", c("-e", shQuote("stop('foo')"))) == 0 Error: foo Execution halted [1] FALSE > sessionInfo() R version 3.5.2 (2018-12-20) Platform: x86_64-apple-darwin15.6.0 (64-bit) Running under: OS X El Capitan 10.11.6 > system2("Rscript", c("-e", shQuote("stop('foo')"))) == 0 Error: foo Ex

Re: [Rd] Bug: time complexity of substring is quadratic as string size and number of substrings increases

2019-02-28 Thread Tomas Kalibera
An optimized version of substring/substr is now in R-devel (76172). Best, Tomas On 2/22/19 8:16 PM, Tomas Kalibera wrote: On 2/20/19 7:55 PM, Toby Hocking wrote: Update: I have observed that stringi::stri_sub is linear time complexity, and it computes the same thing as base::substring. figure

Re: [Rd] Exit status of Rscript

2019-02-28 Thread Rui Barradas
Hello, I cannot reproduce this, R 3.5.2 on Ubuntu 18.04 LTS. sessionInfo() below. system2("Rscript", c("-e", shQuote("stop('foo')"))) == 0 #Erro: foo #Execução interrompida #[1] FALSE r <- system2("Rscript", c("-e", shQuote("stop('foo')"))) #Erro: foo #Execução interrompida print(r) #[1] 1 s

[Rd] Exit status of Rscript

2019-02-28 Thread Michel Lang
Current R release (3.5.2) and devel return a 0 exit status on error, while prior versions returned a non-zero exit status. On Linux and MacOs, the following line returns TRUE for R-3.5.2 and R-devel, and FALSE for R-3.5.1 and R-3.5.0: system2("Rscript", c("-e", shQuote("stop('foo')"))) == 0 I did

Re: [Rd] Problem with compiling OpenBLAS to work with R

2019-02-28 Thread Erin Hodgess
The Cygwin is the problem. I am redoing and will let you know how it goes. Thanks for your help. Sincerely, Erin On Wed, Feb 27, 2019 at 10:22 PM Avraham Adler wrote: > I believe that repo just follows the directions on my blog. Without seeing > Dr. Hodges’s code, my initial concern is the ma

Re: [Rd] Improved Data Aggregation and Summary Statistics in R

2019-02-28 Thread Sebastian Martin Krantz
Thanks to all who gave feedback so far, there is now a version of the package on Github, it can be installed by remotes::install_github("SebKrantz/collapse") further feedback is still very welcome! On Wed, 27 Feb 2019 at 12:48, Duncan Murdoch wrote: > On 26/02/2019 8:25 a.m., Sebastian Martin