This seems the most appropriate place to report this.
I just updated my ubuntu to 18.04. And installed R by adding the line to
/etc/apt/source.list: deb ... cloud.r-project ... bionic-cran35/
R installed just fine.
However, my ubuntu software update would not finish correctly any more. Failed
On 09/03/2018 03:59 PM, Dénes Tóth wrote:
Hi Tomas,
On 09/03/2018 11:49 AM, Tomas Kalibera wrote:
Please don't do this to get the underlying vector length (or to
achieve anything else). Setting/deleting attributes of an R object
without checking the reference count violates R semantics, which
Hi Tomas,
On 09/03/2018 11:49 AM, Tomas Kalibera wrote:
Please don't do this to get the underlying vector length (or to achieve
anything else). Setting/deleting attributes of an R object without
checking the reference count violates R semantics, which in turn can
have unpredictable results on
> Rui Barradas
> on Mon, 3 Sep 2018 09:58:34 +0100 writes:
> Hello, Watch out for operator precedence.
indeed! (but not only)
> all.equal(0.3, 0.1*3)
> #[1] TRUE
>
>
> `%~~%` <- function (e1, e2) all.equal(e1, e2)
>
> 0.3 %~~% 0.1*3
> #Error in 0.3 %~~% 0.1 * 3 : argumento
Tomas, Luke, thank you very much once again for patching both issues swiftly.
This’ll be incredibly valuable to us once we move to 3.6.0.
From: Tomas Kalibera
Sent: 03 September 2018 13:07
To: r-devel@r-project.org
Cc: Srinivasan, Arunkumar
Subject: Re: [Rd] Get Logical processor count correctl
Regarding the discussion of getting length(unclass(x)) without an
unclassed version of x being created...
There are already no copies done for length(unclass(x)) in pqR
(current version of 2017-06-09 at pqR-project.org, as well as the
soon-to-be-release new version). This is part of a more genera
A summary for reference: the new detectCores() for Windows in R-devel
seems to be working both for logical and physical cores on systems with
>64 logical processors (thanks to Arun for testing!). If the feature
is important for anyone particularly using an older version of Windows
and/or on a
Steps to reproduce the problem:
win.metafile("myplot.wmf",height=3,width=5)
plot(1:9)
dev.off()
Details:
When I try to save plots as WMF or EMF pictures specifying small picture size,
e.g.., 3x5 inches, I get a wrong size of the WMF/EMF picture. The plot itself
resides in the left upper corner
Please don't do this to get the underlying vector length (or to achieve
anything else). Setting/deleting attributes of an R object without
checking the reference count violates R semantics, which in turn can
have unpredictable results on R programs (essentially undebuggable
segfaults now or mor
Hello,
Watch out for operator precedence.
all.equal(0.3, 0.1*3)
#[1] TRUE
`%~~%` <- function (e1, e2) all.equal(e1, e2)
0.3 %~~% 0.1*3
#Error in 0.3 %~~% 0.1 * 3 : argumento não-numérico para operador binário
0.3 %~~% (0.1*3)
#[1] TRUE
Now with isTRUE. The problem changes a bit.
isTR
Maybe a new Operator could be defined for a fast and easy double
Comparison: `~~`
`~~` <- function (e1, e2) all.equal(e1, e2)
And document it properly.
__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
11 matches
Mail list logo