similar to: Packages manually setting NeedsCompilation

Displaying 20 results from an estimated 10000 matches similar to: "Packages manually setting NeedsCompilation"

2025 May 17
2
Packages manually setting NeedsCompilation
FWIW NeedsCompilation is a misnomer. IIRC when I was discussing this feature with R core members many years ago, it doesn't only flag packages that require compilation (and thus contain arch-specific binary files), but it is more generally intended to flag packages that the user wouldn't be able to install **from source** on a pristine Windows or Mac system because the installation
2025 May 15
1
Packages manually setting NeedsCompilation
On Thu, 15 May 2025 at 11:42, Jeroen Ooms <jeroenooms at gmail.com> wrote: > > On Wed, May 14, 2025 at 11:05?PM Simon Urbanek > <simon.urbanek at r-project.org> wrote: > > > > Can you give an example, please? I wonder if there is a real use-case or just bad package design. > > The case that bit me yesterday was a Bioconductor package Rigraphlib, > see
2025 May 17
2
Packages manually setting NeedsCompilation
El s?b., 17 may. 2025 4:03, Herv? Pag?s <hpages.on.github at gmail.com> escribi?: > FWIW NeedsCompilation is a misnomer. IIRC when I was discussing this > feature with R core members many years ago, it doesn't only flag > packages that require compilation (and thus contain arch-specific binary > files), but it is more generally intended to flag packages that the user >
2020 Sep 09
3
more Matrix weirdness
I think that this is because `[<-` dispatches on S4 methods only if the first argument is S4. ?"[<-" says: "These operators are also implicit S4 generics, but as primitives, S4 methods will be dispatched only on S4 objects ?x?." Georgi Boshnakov -----Original Message----- Message: 19 Date: Tue, 8 Sep 2020 22:04:44 -0400 From: Ben Bolker <bbolker at
2020 Sep 08
4
[External] Re: Operations with long altrep vectors cause segfaults on Windows
On Tue, Sep 8, 2020 at 11:44 PM Jeroen Ooms <jeroenooms at gmail.com> wrote: > > On Tue, Sep 8, 2020 at 5:20 PM Tomas Kalibera <tomas.kalibera at gmail.com> wrote: > > > > On 9/8/20 4:48 PM, Hugh Parsonage wrote: > > > Unfortunately I only get > > > > > > [Thread 21752.0x4aa8 exited with code 3221225477] > > > [Thread 21752.0x4514
2018 Feb 13
2
Setting the path to Rtools for package compilation on Windows
On Tue, Feb 13, 2018 at 2:20 AM, Jeroen Ooms <jeroenooms at gmail.com> wrote: > Thanks for your question. Your logs show that 'gcc' is not found. As > of R 3.3 you need to set the path to the compiler using the BINPREF > variable. This is because we ship two separate versions of gcc, one > targeting win32 and one targeting win64. I am not sure what your > rtools
2015 Apr 15
4
RObjectTables freezes in R 3.2.0 RC on 32bit systems
We recently started noticing freezes that appear only on 32bit systems (both linux and windows) with a relatively recent versions of R 3.2.0, including the RC. It looks like the problem can be traced back to the use of R_ObjectTables (see R_ext/Callbacks.h) The problem is a bit difficult to reproduce because it does not appear on x64 and because the official R interface to this functionality, the
2009 Nov 03
2
1 dimensional optimization with local minima
I am using numerical optimization to fit a 1 parameter model, in which the input parameter is bounded. I am currently using optimize(), however, the problem turns out to have local minima, and optimize does not always seem to find the global minimum. I could to write a wrapping function that tries multiple intervals or starting values, but I would prefer a package that has built-in methods to make
2009 Sep 06
3
[Hmisc] Latex to pdf
I would like to print some tables and figures to a PDF device on a CentOS 5 vps. However, I cannot seem to get the latex function from Hmisc working. I followed the example, and got an error: sh: xdvi: command not found. I tried installing the 'tetex-xdvi' linux package, and now it returns: Error: Can't open display. I guess the reason for this is that the machine is a VPS terminal, so
2020 Sep 09
2
[External] Re: Operations with long altrep vectors cause segfaults on Windows
On 9/9/20 8:48 AM, Hugh Parsonage wrote: > I am unable to set break or use gdb with any success when I use that version. > > On linux I would do R -d gdb but this gives "unknown option '-d' " > while gdb R.exe (in the same directory as the debug version) gives the > same output as before. > > I'm happy to help but I appreciate this list might not be the
2015 Jan 08
2
Testing R packages on Solaris Studio
I have setup a Solaris server to test packages before submitting to CRAN, in order to catch problems that might not reveal themselves on Fedora, Debian, OSX or Windows. The machine runs a Solaris 11.2 vm with Solaris Studio 12.3. I was able to compile current r-devel using the suggested environment variables from "R Installation and Administration" and: ./configure
2020 Sep 09
2
[External] Re: Operations with long altrep vectors cause segfaults on Windows
On 9/9/20 9:30 AM, Hugh Parsonage wrote: > Thank you! > > I get > > Starting program: C:\R\R-devel-20200909\bin\x64\Rgui.exe > [New Thread 19940.0x638c] > [New Thread 19940.0x102c] > [New Thread 19940.0x329c] > [New Thread 19940.0x37dc] > warning: Invalid parameter passed to C runtime function. > > Program received signal SIGSEGV, Segmentation fault. >
2017 Mar 27
1
Hyperbolic tangent different results on Windows and Mac
For future reference: https://sourceforge.net/p/mingw-w64/mailman/message/35747206/ On Wed, Mar 22, 2017 at 2:12 PM, Jeroen Ooms <jeroenooms at gmail.com> wrote: > This looks like a bug in mingw-w64 CRT. The problem can be produced > with C++ without R: > > #include <iostream> > #include <cmath> > #include <complex> > > int main(){ >
2015 Sep 14
3
Optimization bug when byte compiling with gcc 5.2.0 on windows
When building R-devel with gcc 5.2.0 (mingw-w64 v4) on Windows, make check fails reg-tests-1b.R at the following check: x <- c(1:2, NA) sx <- sd(x) !is.nan(sx) Here 'sx' should be 'NA' but it is 'NaN'. It turns out this problem only appears when the function is byte compiled with optimization level 3: mysd <- function (x, na.rm = FALSE) sqrt(var(if
2025 Feb 10
2
binary R packages for GNU/Linux
On 10 February 2025 at 23:19, Jeroen Ooms wrote: | The "naked binaries" are widely used, and therefore probably useful to | many folks, me included. Some standardisation on paths would be | incredibly useful, even if CRAN would not offer such binaries, other | repositories could. Sure, but naked binaries can (and do) break more often i.e. real example from just last week in another
2009 Sep 05
2
Anova over a list of models
I have a list object, in which I have stored n lme4-models. For example: library(lme4); myModels <- list(); myModels[1] <- lmer(Reaction ~ Days + (Days|Subject), sleepstudy) myModels[2] <- lmer(Reaction ~ Days + (1|Subject) + (0+Days|Subject), sleepstudy) Now I would like to perform an anova over all models in the list. However, the anova function requires that every model is inserted
2009 Nov 03
1
multivariate numerical integration.
I am currently using the package 'adapt' for multivariate integration. However this package seems to be removed from CRAN (It is still referred to in the help file for integrate(stats) though). I assume it has been deprecated for a reason? Is there an alternative for multivariate numerical integration? ----- Jeroen Ooms * Dept. of Methodology and Statistics * Utrecht University Visit
2025 Jan 10
2
Package compression benchmarks for zstd vs gzip
Many distros and browsers these days use zstd as the preferred compression method. For example if you unpack a .deb or .rpm file on Debian or Fedora there is zstd archive inside. It is claimed that zstd offers improved compression over gzip, but (unlike lzma) it has comparable decompression speed. Maybe it is interesting to get an estimate of how much R packages would benefit from zstd. Testing
2009 Aug 12
1
Problem Installing R 2.9.1.1 RHEL x86_64 binary
I just grabbed the new EL5 binary's for my x64 VPS from CRAN. However, where updates usually go smoothly, I now get these errors: -bash-3.2# rpm -i R-2.9.1-1.el5.x86_64.rpm error: Failed dependencies: R-devel = 2.9.1-1.el5 is needed by R-2.9.1-1.el5.x86_64 -bash-3.2# rpm -i R-core-2.9.1-1.el5.x86_64.rpm error: Failed dependencies: perl(File::Copy::Recursive) is needed by
2009 Sep 05
1
Convert dataframe to array of records
I would like to convert a dataframe to an array of lists, one for every record. A natural choide is apply as.list to the rows. However, as it seems, as.list() automatically converts all list elements to the same datatype. Eg: myData <- data.frame(a="foo",b=as.logical(rbinom(10,1,.5))); apply(myData,1,as.list); In this output, all boolean values have been converted to character