Displaying 20 results from an estimated 300 matches similar to: "R 3.4 and mclapply assertion failure - is this a bug?"
2017 May 02
0
R 3.4 and mclapply assertion failure - is this a bug?
That's great news that OpenMP is now enabled in MacOS CRAN binaries! Thanks
Simon.
data.table is supposed to automatically switch down to single-threaded mode
when explicitly parallelized via the fork mechanism. It does that via
functions registered in init.c as follows :
pthread_atfork(&when_fork, &when_fork_end, NULL)
Tests 1705 and 1706 test this is working. Those tests
2017 Nov 03
2
Extreme bunching of random values from runif with Mersenne-Twister seed
Bill,
I have clarified this on SO, and I will copy that clarification in here:
"Sure, we tested them on other 8-digit numbers as well & we could not
replicate. However, these are honest-to-goodness numbers generated by a
non-adversarial system that has no conception of these numbers being used
for anything other than a unique key for an entity -- these are not a
specially constructed
2017 Nov 03
0
Extreme bunching of random values from runif with Mersenne-Twister seed
The random numbers in a stream initialized with one seed should have about
the desired distribution. You don't win by changing the seed all the
time. Your seeds caused the first numbers of a bunch of streams to be
about the same, but the second and subsequent entries in each stream do
look uniformly distributed.
You didn't say what your 'upstream process' was, but it is easy to
2017 Nov 03
2
Extreme bunching of random values from runif with Mersenne-Twister seed
Bill,
Appreciate the point that both you and Serguei are making, but the sequence
in question is not a selected or filtered set. These are values as observed
in a sequence from a mechanism described below. The probabilities required
to generate this exact sequence in the wild seem staggering to me.
T
On Fri, Nov 3, 2017 at 11:27 PM, William Dunlap <wdunlap at tibco.com> wrote:
>
2017 Nov 03
0
Extreme bunching of random values from runif with Mersenne-Twister seed
Another other generator is subject to the same problem with the same
probabilitiy.
> Filter(function(s){set.seed(s,
kind="Knuth-TAOCP-2002");runif(1,17,26)>25.99}, 1:10000)
[1] 280 415 826 1372 2224 2544 3270 3594 3809 4116 4236 5018 5692 7043
7212 7364 7747 9256 9491 9568 9886
Bill Dunlap
TIBCO Software
wdunlap tibco.com
On Fri, Nov 3, 2017 at 10:31 AM, Tirthankar
2017 Nov 03
5
Extreme bunching of random values from runif with Mersenne-Twister seed
This is cross-posted from SO (https://stackoverflow.com/q/47079702/1414455),
but I now feel that this needs someone from R-Devel to help understand why
this is happening.
We are facing a weird situation in our code when using R's [`runif`][1] and
setting seed with `set.seed` with the `kind = NULL` option (which resolves,
unless I am mistaken, to `kind = "default"`; the default being
2017 Nov 05
0
Extreme bunching of random values from runif with Mersenne-Twister seed
Tirthankar,
"random number generators" do not produce random numbers. Any given
generator produces a fixed sequence of numbers that appear to meet
various tests of randomness. By picking a seed you enter that sequence
in a particular place and subsequent numbers in the sequence appear to
be unrelated. There are no guarantees that if YOU pick a SET of seeds
they won't produce
2018 Mar 28
2
can not install package "matie"
Dear R-experts,
I can not install the package "matie". If somebody can tell me where the problem is.
> install.packages("matie")
Installing package into ?/Users/Caro/Library/R/3.3/library?
(as ?lib? is unspecified)
essai de l'URL 'https://cran.rstudio.com/bin/macosx/mavericks/contrib/3.3/matie_1.2.tgz'
Content type 'application/x-gzip' length 80151
2017 Nov 08
2
Ggplot error
Hello,
I've an error recently.
ggplot(data = mtcars, aes(x= wt, y= mpg)) + geom_line()
Error: Found object is not a stat.
> sessionInfo()
R version 3.4.2 (2017-09-28)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Ubuntu 16.04.3 LTS
Matrix products: default
BLAS: /usr/lib/openblas-base/libblas.so.3
LAPACK: /usr/lib/libopenblasp-r0.2.18.so
locale:
[1] LC_CTYPE=tr_TR.UTF-8
2017 Nov 08
0
Ggplot error
I was not able to reproduce this problem. I tried two environments
1. Ubuntu 14.04.5 LTS, R version 3.4.2 (same R version as yours)
2. Windows 10, same R version
On Wed, Nov 8, 2017 at 9:50 AM, Zeki ?ATAV <zcatav at gmail.com> wrote:
> Hello,
> I've an error recently.
>
> ggplot(data = mtcars, aes(x= wt, y= mpg)) + geom_line()
> Error: Found object is not a stat.
>
2018 Mar 28
0
can not install package "matie"
On 28/03/2018 6:27 PM, varin sacha via R-help wrote:
> Dear R-experts,
>
> I can not install the package "matie". If somebody can tell me where the problem is.
>
>> install.packages("matie")
> Installing package into ?/Users/Caro/Library/R/3.3/library?
> (as ?lib? is unspecified)
> essai de l'URL
2018 Mar 29
1
can not install package "matie"
Varin
In the teaching you to fish department, you can find those dependencies Duncan appeared to pull out of thin air by looking at the CRAN contributed packages web pages, which can easily be found with Google. Start at the matie page and follow the dependency links and look at dependencies. In particular the error message mentioning the proxy package is a clue that dependencies might be a
2017 Nov 08
1
Ggplot error
I get the same result as Eric? withR version 3.4.2 (2017-09-28)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Ubuntu 17.04
It looks like you have "tidyverse" loaded so I tried it with just ggplot2 loaded and with tidyverse loaded.?
On Wednesday, November 8, 2017, 4:16:14 AM EST, Eric Berger <ericjberger at gmail.com> wrote:
I was not able to reproduce this
2017 Jun 05
2
months not working with local language (weekdays does)
Hi,
I want to reporte some strange behaviour with the "months" function, from
base R.
When using "months" to extract months from a date column, I'm getting the
months in english, when I was expecting months in spanish.
When using "weekdays" to extract days of week from a date column, I'm
getting the the days in spanish (as expected).
My understanding is
2017 Nov 08
0
Ggplot error
Thanks,
I think, I found the problem. It seems to related locale setting.
If I start with 'LANG=C R' everything's good.
--
Zeki ?atav
zekicatav.com
On Nov 8, 2017 1:56 PM, "John Kane" <jrkrideau at yahoo.ca> wrote:
I get the same result as Eric with
R version 3.4.2 (2017-09-28)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Ubuntu 17.04
It looks like you
2017 Jun 05
2
months not working with local language (weekdays does)
For what it's worth, I tried setting my Region | Formats setting to
Spanish (Peru) in Windows 10 Control Panel, and got Spanish weekday and
month results.
I believe on Windows we use the Microsoft C strftime function to produce
these strings, with the %A (for weekday) or %B (for month) formats. So
this question probably needs to be addressed to Microsoft.
Duncan Murdoch
On 05/06/2017
2017 Jun 05
0
months not working with local language (weekdays does)
Hello,
This doesn't answer the question, but in portuguese it works as expected.
> x <- as.Date("2017-06-05")
> months(x)
[1] "junho"
> weekdays(x)
[1] "segunda-feira"
> sessionInfo()
R version 3.4.0 (2017-04-21)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 7 x64 (build 7601) Service Pack 1
Matrix products: default
2017 Jun 05
0
months not working with local language (weekdays does)
Thank you Duncan and Rui for your time and interest in this issue.
Maybe it is a problem with Windows 7 and Spanish, and not Windows 10.
Let's wait for someone with the same enviroment, before assuming it's a
problem with my PC/configuration.
2017-06-05 14:37 GMT-05:00 Duncan Murdoch <murdoch.duncan at gmail.com>:
> For what it's worth, I tried setting my Region
2004 Apr 25
2
package fdim slopeopt error (PR#6819)
Full_Name: Fred J.
Version: 1.8.1
OS: windows 2000
Submission from: (NULL) (203.26.24.216)
platform i386-pc-mingw32
the error can be duplicated as follows
> rt <- data.frame(8:15, 7:14, 6:13, 5:12, 4:11, 3:10, 2:9, 1:8)
> library(fdim)
> FD <- (fdim(rt,q=2))
Error in slopeopt(AllPoints, Alpha) : Object "LineP" not found
2018 Feb 14
2
How to turn off warnings about class name conflicts
Hi,
I am using two packages (quantmod and FRAPO)
Quantmod and FRAPO both have a class names "zoo"
R is displaying the following warning when I manipulate an object of class
zoo:
Found more than one class "zoo" in cache; using the first, from namespace
'quantmod'
Also defined by ?FRAPO?
The warning is displayed every time I manipulate a zoo object and becomes
pretty