Re: [R] PCRE configure problem with R-4.0.0

2020-05-03 Thread Bert Gunter
"I have to admit I'm completely in the dark as to what functionality PCRE provides" https://www.pcre.org/ (Sorry, beyond that I know nothing). Bert Gunter "The trouble with having an open mind is that people keep coming along and sticking things into it." -- Opus (aka Berkeley Breathed in his "

[R] PCRE configure problem with R-4.0.0

2020-05-03 Thread Patrick Connolly
When I try ./configure --enable-R-shlib I get this error: configure: error: PCRE2 library and headers are required, or use --with-pcre1 and PCRE >= 8.32 with UTF-8 support I have to admit I'm completely in the dark as to what functionality PCRE provides. Next, I tried using --with-pcre1 but it

Re: [R] possible issue with scatterplot function in car package

2020-05-03 Thread Yousri Fanous
Great, thanks for the update! Yousri On Sun, May 3, 2020 at 10:54 PM Fox, John wrote: > Dear Yousri, > > The problem with scatterplot() is now fixed in the development version > 3.0-8 of the car package on R-Forge, which eventually will be submitted to > CRAN. Until then, you can install the pa

Re: [R] possible issue with scatterplot function in car package

2020-05-03 Thread Fox, John
Dear Yousri, The problem with scatterplot() is now fixed in the development version 3.0-8 of the car package on R-Forge, which eventually will be submitted to CRAN. Until then, you can install the package via install.packages("car", repos="http://R-Forge.R-project.org";) Thanks again for the b

Re: [R] Question about "sample" function and inconsistent results I am getting across machines.

2020-05-03 Thread Fomby, Tom
Thank you so much Duncan. I will pitch in. Tom From: Duncan Murdoch Sent: Sunday, May 3, 2020 2:56 PM To: Fomby, Tom; r-help@R-project.org Subject: Re: [R] Question about "sample" function and inconsistent results I am getting across machines. On 03/05/2020 3

Re: [R] Question about "sample" function and inconsistent results I am getting across machines.

2020-05-03 Thread Fomby, Tom
Thank you so much, Duncan. Out of the 20 students in my class, evidently 6 out of the 20 have been using the buggy version of sample(). I am so appreciative that you have helped me get a grip on things. I was tired of having two keys to my homework exercises. Amazing that your were able to t

Re: [R] Question about "sample" function and inconsistent results I am getting across machines.

2020-05-03 Thread Fomby, Tom
Dear Duncan, OK, I will certainly ask my students to download the most recent version of Basic R at the first of each semester and, just to be safe, include the RNGkind(sample.kind="Rejection") command before the students get started on the data partitioning part of their exercise using the s

[R] Is it possible to reopen event in Summer of St. Louis. I am interested!

2020-05-03 Thread Abraham Rammaha
This is Ibrahim Rammaha. I am not a SLU student but interested in useR! 2021 in St. Louis. How can I register and volunteer/help with event? Can it be a physical and free virtual conference? I think coronavirus shouldn't affect the conference if it's online conference [[alternative HTML ve

[R] Fwd: stats:: spline's method could not be monoH.FC

2020-05-03 Thread Mark Leeds
Abby: Just one other thing. A friend of mine recommended reading the R-language manual which I haven't read in many years. I don't know if it's because I'm more expeRienced or just plain oldeR but I started it today and it's not nearly as daunting as I remember it being in the past. It's going to

Re: [R] Question about "sample" function and inconsistent results I am getting across machines.

2020-05-03 Thread Duncan Murdoch
On 03/05/2020 3:43 p.m., Fomby, Tom wrote: Dear Duncan, OK, I will certainly ask my students to download the most recent version of Basic R at the first of each semesterĀ and, just to be safe, include the RNGkind(sample.kind="Rejection") command before the students get started on the data par

Re: [R] Question about "sample" function and inconsistent results I am getting across machines.

2020-05-03 Thread Duncan Murdoch
I just tried both versions, and it's the ASUS that's using the buggy old algorithm. Duncan Murdoch On 03/05/2020 3:32 p.m., Duncan Murdoch wrote: On 03/05/2020 1:39 a.m., Fomby, Tom wrote: Please consider the following code: set.seed(1) train.index = sample(181,150) head(train.index) # [1]

Re: [R] Question about "sample" function and inconsistent results I am getting across machines.

2020-05-03 Thread Jeff Newmiller
It is a lot easier from this side of the conversation to view skeptically the claim that all of these installations of R are using the same version than that the software seed has started behaving randomly within the same version of R. On May 2, 2020 10:39:58 PM PDT, "Fomby, Tom" wrote: >Please

Re: [R] Question about "sample" function and inconsistent results I am getting across machines.

2020-05-03 Thread Duncan Murdoch
On 03/05/2020 1:39 a.m., Fomby, Tom wrote: Please consider the following code: set.seed(1) train.index = sample(181,150) head(train.index) # [1] 49 67 103 162 36 159 Result from my ASUS computer # # [1] 68 167 129 162 43 14 Result from my wife's HP Pavilion computer In both cases, versio

[R] Question about "sample" function and inconsistent results I am getting across machines.

2020-05-03 Thread Fomby, Tom
Please consider the following code: set.seed(1) train.index = sample(181,150) head(train.index) # [1] 49 67 103 162 36 159 Result from my ASUS computer # # [1] 68 167 129 162 43 14 Result from my wife's HP Pavilion computer In both cases, version 3.6.3 of R are being used. In addition, of

Re: [R] stats:: spline's method could not be monoH.FC

2020-05-03 Thread Mark Leeds
Hi Abby: your questions are good but I can't help because I don't need to actually use them to that level of detail. I only have to understand it in its generalities. Hopefully, Martin or one of the other R-core people or guRus can answer your questions in a definitive and clear way. But, as far a

Re: [R] stats:: spline's method could not be monoH.FC

2020-05-03 Thread Abby Spurdle
Hi Mark, The article is good. However, there's still some grey areas. The documentation for base::typeof equates a closure with a function. However, the article defines a closure as a function together with an environment. A very minor difference I know, but it creates the problem that the word c

Re: [R] stats:: spline's method could not be monoH.FC

2020-05-03 Thread Abby Spurdle
I just realized that note (2) is not completely correct. It would be possible to specify both the first and second derivatives at the endpoints. However, that would require subdivision of the outermost spline segments, which increases the complexity of the algorithm. __

Re: [R] possible issue with scatterplot function in car package

2020-05-03 Thread Yousri Fanous
Thank you Professor John for your answer. As you rightly said I am not using the ch in my example report as it has no bearing to the issue. However it is the ch that led me to find the issue. I was trying to label each point with its corresponding aa$ch value. I used this code: scatterplot(aa$x,a

[R] R 4.0.0 with Intel MKL for Windows

2020-05-03 Thread Adrian Trapletti
For Windows users, some instructions how to use R 4.0.0 with Intel MKL: https://linkedin.com/pulse/r-400-intel-mkl-windows-adrian-trapletti Best Regards Adrian Adrian Trapletti Steinstrasse 9b, 8610 Uster, Switzerland P +41 44 994 56 30 | M +41 79 103 71 31 adr...@trapletti.org | www.traple