Displaying 20 results from an estimated 20000 matches similar to: "windows 64-bit package build on 32-bit machine"
2010 Oct 02
1
cleanup_pkg() in tools:::.build_packages() is broken
Hi,
The cleanup_pkg() function defined the big tools:::.build_packages()
function in tools/R/build.R is currently broken. When Makefiles are
used cleanup_pkg() doesn't clean anything because of the way system2()
is called.
For example, the call to Ssystem() on line 304 (Ssystem is a silent
version of system2) is basically trying to do this:
>
2010 Jun 04
2
Argument recycling in substring()
Hi,
According to its man page substring() "expands (its) arguments
cyclically to the length of the longest _provided_ none are of
zero length".
So, as expected, I get an error here:
> substring("abcd", first=2L, last=integer(0))
Error in substring("abcd", first = 2L, last = integer(0)) :
invalid substring argument(s)
But I don't get one here:
2010 Oct 29
1
list2env() is broken
Hi,
The following code produces different kinds of problems depending
on which platform you run it:
x <- as.list(1:200000)
names(x) <- paste("A", 1:200000, sep="")
e <- list2env(x)
Timeout on Linux, crash on Mac and Windows, with R 2.12.0 and
current R devel.
The "multi-assign" mode (i.e. when the 'envir' arg is supplied)
doesn't seem
2011 Feb 24
1
min/max of a vector with NAs and NaNs
I get this (with R-2.12 and R-2.13, didn't try with earlier versions):
> max(c(NaN, NA))
[1] NA
> max(c(NA, NaN))
[1] NaN
I get the same thing with min().
The fact that the result of 'max(x)' or 'min(x)' depends on the order
of the elements in 'x' is surprising. It also seems to contradict the
man page:
By definition the min/max of a numeric vector
2010 Oct 11
1
'R CMD build' not cleaning the src/ folder on Windows
Hi,
'R CMD build' (with R 2.12.0 RC) fails to clean the src/ folder
on Windows:
D:\biocbld\bbs-2.7-bioc>ls meat/BUS/src
BUS.cpp BUS.h
D:\biocbld\bbs-2.7-bioc>R\bin\R CMD build meat\BUS
* checking for file 'meat\BUS/DESCRIPTION' ... OK
* preparing 'BUS':
* checking DESCRIPTION meta-information ... OK
* cleaning src
* installing the package
2020 Apr 27
2
Rtools and R 4.0.0?
Hevr? told me that people from Bioconductor and possibly others are
keeping an eye on this thread so it would be good to post a note here
too.
As of version 4.0.0, the official R for Windows and binary packages
provided via CRAN are built with gcc-8.3.0 from rtools40, as shown in
the CRAN check table:
https://cran.r-project.org/web/checks/check_flavors.html
Instructions and installers for
2008 Dec 01
2
[BioC] BioC 2.3 standard installation
I always followed http://cran.r-project.org/bin/linux/ubuntu/ to install R
on Ubuntu 8.1. I had no errors before!
> install.packages("XML")
Warning in install.packages("XML") :
argument 'lib' is missing: using '/usr/local/lib/R/site-library'
--- Please select a CRAN mirror for use in this session ---
Loading Tcl/Tk interface ... done
trying URL
2010 Nov 10
1
installed.packages Error: subscript out of bounds
Hi,
Today we've seen the following problem with the R-2.12 that we use
for our Windows builds:
> installed.packages()
Error: subscript out of bounds
After some investigation we discovered that the cause of this failure
was that 1 of the 890 packages currently installed on the machine
(Windows Server 2003 R2) had its DESCRIPTION file empty:
2011 Feb 23
1
factor() on a double vector
Hi,
When 'x' is a vector of doubles, it's not clear how 'factor(x)'
compares its values in order to determine the levels. For example,
here all the values in 'x' are "conceptually" the same:
x <- c(11/3,
2/3 + 4/3 + 5/3,
50 + 11/3 - 50,
7.00001 - 1000003/300000)
However, due to machine rounding errors, they are not
2010 Sep 16
1
Lack of consistent cross-platform behaviour of tools:::buildVignettes()
Hi,
On both Unix and Windows there is a mechanism to add variables
to the environment when R is started. I noticed that, on Unix,
this mechanism is not used when R is started normally at the
command line but only when it's started using the 'R CMD' syntax.
One problem with this is some lack of consistent cross-platform
behaviour. For example:
On Linux:
$ echo $TEXINPUTS
$
2010 Sep 30
1
tar problem when using 'R CMD build' on Windows
Hi,
Already reported here:
https://stat.ethz.ch/pipermail/r-devel/2010-September/058636.html
but it doesn't seem to be related (at least not in an obvious way) to
the problems described in that previous thread.
So the problem is that, with recent versions of R 2.12 (i.e.
current R-alpha but I've observed this with R-devel for at
least 2-3 months now), 'R CMD build
2015 Sep 29
3
making object.size() more meaningful on environments?
Hi,
Currently object.size() is not very useful on environments as it always
returns 56 bytes, no matter how big the environment is:
env1 <- new.env()
object.size(env1) # 56 bytes
env2 <- new.env(hash=TRUE, size=75000000L)
object.size(env2) # 56 bytes
env3 <- list2env(list(a=runif(25000000), L=LETTERS))
object.size(env3) # 56 bytes
This makes it pretty useless on
2019 Mar 22
2
selectMethod() can fail to find methods in situations of multiple dispatch
Fine with me as long as eliminating the inconveniences associated with it can be put on the roadmap. The alias instability and the fact that the user has no way to know if s/he should do ?`foo,numeric-method` or ?`foo,numeric,ANY-method` to find the method has been a long-standing problem.
H.
On 3/21/19 21:29, Michael Lawrence wrote:
If we started over, I'd try to avoid this sort of
2017 Nov 29
2
binary form of is() contradicts its unary form
Hi Mehmet,
On 11/29/2017 11:22 AM, Suzen, Mehmet wrote:
> Hi Herve,
>
> I think you are confusing subclasses and classes. There is no
> contradiction. `is` documentation
> is very clear:
>
> `With one argument, returns all the super-classes of this object's class.`
Yes that's indeed very clear. So if "list" is a super-class
of "data.frame" (as
2016 Mar 19
2
unary class union of an S3 class
On 03/19/2016 01:22 AM, Michael Lawrence wrote:
>
>
> On Sat, Mar 19, 2016 at 12:10 AM, Herv? Pag?s <hpages at fredhutch.org
> <mailto:hpages at fredhutch.org>> wrote:
>
> On 03/18/2016 03:28 PM, Michael Lawrence wrote:
>
>
> On Fri, Mar 18, 2016 at 2:53 PM, Herv? Pag?s
> <hpages at fredhutch.org <mailto:hpages at
2018 Jan 30
2
as.list method for by Objects
by() does not always return a list. In Gabe's example, it returns an
integer, thus it is coerced to a list. as.list() means that it should be a
VECSXP, not necessarily with "list" in the class attribute.
Michael
On Tue, Jan 30, 2018 at 2:41 PM, Herv? Pag?s <hpages at fredhutch.org> wrote:
> Hi Gabe,
>
> Interestingly the behavior of as.list() on by objects seem to
2020 Apr 28
1
Rtools and R 4.0.0?
Huge thanks to you (Jeroen) and R-core for doing this.
I wasn't involved with this directly but I know it was a pretty seriously
heavy list so well done all around!
~G
On Tue, Apr 28, 2020, 11:04 AM Herv? Pag?s <hpages at fredhutch.org> wrote:
> Thanks Jeroen!
>
> > On Tue, Apr 7, 2020 at 6:07 PM Kevin Ushey <kevinushey at gmail.com> wrote:
> >>
>
2019 Mar 22
2
selectMethod() can fail to find methods in situations of multiple dispatch
Hi Michael,
Thanks for looking into this. I suspect that truncation of ANY suffixes from method signatures is also the culprit behind the sudden breakage of aliases of the form \alias{foo,numeric-method} when a method without the ANY suffix in its signature gets added to the ecosystem. See my post about this to the Bioc-devel mailing list a couple of months ago:
2017 May 03
2
stopifnot() does not stop at first non-TRUE argument
Not sure why the performance penalty of nonstandard evaluation would
be more of a concern here than for something like switch().
If that can't/won't be fixed, what about fixing the man page so it's
in sync with the current behavior?
Thanks,
H.
On 05/03/2017 02:26 AM, peter dalgaard wrote:
> The first line of stopifnot is
>
> n <- length(ll <- list(...))
>
>
2018 Aug 31
2
Argument 'dim' misspelled in error message
Hi,
The following error message misspells the name of
the 'dim' argument:
> array(integer(0), dim=integer(0))
Error in array(integer(0), dim = integer(0)) :
'dims' cannot be of length 0
The name of the argument is 'dim' not 'dims':
> args(array)
function (data = NA, dim = length(data), dimnames = NULL)
NULL
Cheers,
H.
--
Herv? Pag?s