Re: [Rd] Process to Incorporate Functions from {parallely} into base R's {parallel} package

2020-11-07 Thread Duncan Murdoch
If these are easy changes, maybe someone will incorporate them. You'll make the argument stronger for doing that if you can explain why it's better to do that than to keep them in parallely. Duncan Murdoch On 07/11/2020 1:39 p.m., Henrik Bengtsson wrote: FWIW, there are indeed a few low

Re: [Rd] Process to Incorporate Functions from {parallely} into base R's {parallel} package

2020-11-07 Thread Henrik Bengtsson
FWIW, there are indeed a few low hanging bug fixes in 'parallelly' that should be easy to incorporate into 'parallel' without adding extra maintenance. For example, in parallel::makePSOCKcluster(), it is not possible to disable SSH option '-l USER' so that it can be set in ~/.ssh/config. The

Re: [Rd] [R] Data Table not rendering properly using R shiny

2020-11-07 Thread Rui Barradas
Hello, Or maybe logical_idx <- max_usage_hours_per_region$Region %in% input$Region Another option is ?match Hope this helps, Rui Barradas Às 15:41 de 07/11/20, Jeff Newmiller escreveu: This looks odd... max_usage_hours_per_region[input$Region,] This would only work if you had

Re: [Bioc-devel] Compiling a cpp source code while installing package

2020-11-07 Thread Martin Morgan
It would probably help to provide additional detail here; there are several examples of packages that build C / C++ libraries from source, a common pattern is to have a package dedicated to providing the library, e.g., Rhtslib or Rhdf5lib, or of building the library as part of the software

[Bioc-devel] Compiling a cpp source code while installing package

2020-11-07 Thread Alexandru Voda
Hi! I tried to look this up in the FAQ & best practices but couldn't find it. My in-the-works package needs to call a legacy C++ software from time to time. Since that C++ software is open-source, is there a way to make my package compile the source (during R package installation) I'm going to