similar to: sum(), min(), max(), prod() vs. named arguments in ...

Displaying 20 results from an estimated 200 matches similar to: "sum(), min(), max(), prod() vs. named arguments in ..."

2023 Apr 16
0
sum(), min(), max(), prod() vs. named arguments in ...
On 2023-04-15 6:00 am, r-devel-request at r-project.org wrote: > Date: Fri, 14 Apr 2023 13:38:00 +0300 > From: Ivan Krylov<krylov.r00t at gmail.com> > To:r-devel at r-project.org > Subject: [Rd] sum(), min(), max(), prod() vs. named arguments in ... Message-ID: <20230414133800.75383dae-6792 at arachnoid> > Content-Type: text/plain; charset="us-ascii" > >
2013 May 21
1
making makepredictcall() work
Dear All, I'm interested in creating a function similar to ns() from package splines that can be passed in a model formula. The idea is to produce "safe" predictions from a model using this function. As I have seen, to do this I need to use makepredictcall(). Consider the following toy example: myns <- function (x, df = NULL, knots = NULL, intercept = FALSE, Boundary.knots =
2014 Nov 23
0
[PATCH 2/3] New API: guestfs_blockdev_setra: Adjust readahead for filesystems and devices.
This adds a binding for 'blockdev --setra', allowing you to adjust the readahead parameter for filesystems and devices. --- daemon/blockdev.c | 30 ++++++++++++++++++++---------- generator/actions.ml | 14 ++++++++++++++ 2 files changed, 34 insertions(+), 10 deletions(-) diff --git a/daemon/blockdev.c b/daemon/blockdev.c index 8a7b1a8..6e8821d 100644 --- a/daemon/blockdev.c +++
2010 Aug 21
1
Speed improvement to evalList
I've been inspired to look at the R source code by some strange timing results that I wrote about on my blog at radfordneal.wordpress.com (see the posts on "Speeding up parentheses..." and "Two surprising things...". I discovered that the strange speed advantage of curly brackets over parentheses is partially explained by an inefficiency in the evalList and
2020 May 22
0
round() and signif() do not check argument names when a single argument is given
Hi, I was told to send this to the -devel list instead of posting to bugzilla. When round our signif are called with a single named argument, R does not check the name and runs the function with that named argument directly as the first argument, using 0.0 or 6.0 (6 in the case of signif) for the second argument. Not checking the argument name is at odds with how all other primitive functions
2020 Jun 30
0
Build a R call at C level
Thanks Jan and Tomas for the feedback. Answer from Jan is what I am looking for. Maybe I am not looking in the right place buy it is not easy to understand how these LCONS, CONS, SETCDR...etc works. Thank you Best regards Morgan On Tue, 30 Jun 2020, 12:36 Tomas Kalibera, <tomas.kalibera at gmail.com> wrote: > On 6/30/20 1:06 PM, Jan Gorecki wrote: > > It is quite known that R
2020 Sep 12
0
Garbage collection of seemingly PROTECTed pairlist
Hi, In line 5, you are allocating a vector of length nc. Then, in line 12, you are using nr as a limit, so if nr goes beyond nc, which is happening in line 39, you are in trouble. I?aki On Sat, 12 Sep 2020 at 03:30, Rory Nolan <rorynoolan at gmail.com> wrote: > I want to write an R function using R's C interface that takes a 2-column > matrix of increasing, non-overlapping
2020 Jun 30
3
Build a R call at C level
On 6/30/20 1:06 PM, Jan Gorecki wrote: > It is quite known that R documentation on R C api could be improved... Please see "5.11 Evaluating R expressions from C" from "Writing R Extensions" Best Tomas > Still R-package-devel mailing list should be preferred for this kind > of questions. > Not sure if that is the best way, but works. > > call_to_sum <-
2020 Sep 11
4
Garbage collection of seemingly PROTECTed pairlist
I want to write an R function using R's C interface that takes a 2-column matrix of increasing, non-overlapping integer intervals and returns a list with those intervals plus some added intervals, such that there are no gaps. For example, it should take the matrix rbind(c(5L, 6L), c(7L, 10L), c(20L, 30L)) and return list(c(5L, 6L), c(7L, 10L), c(11L, 19L), c(20L, 30L)). Because the output is
2008 Mar 29
0
"Writing R Extensions": bad example with CAR / CDR as lvalues (PR#11054)
Full_Name: Simon Anders Version: 2.6.2 OS: Ubuntu Linux Submission from: (NULL) (86.22.75.91) This is a rather minor "documentation bug", certainly not at all urgent. The manual "Writing R extensions" explains in section 5.10 ("Evaluating R expressions from C") how to use the eval function. Without going into much details, an example is given how to build up a
2020 Jun 30
0
Build a R call at C level
It is quite known that R documentation on R C api could be improved... Still R-package-devel mailing list should be preferred for this kind of questions. Not sure if that is the best way, but works. call_to_sum <- inline::cfunction( language = "C", sig = c(x = "SEXP"), body = " SEXP e = PROTECT(lang2(install(\"sum\"), x)); SEXP r_true =
2023 Jul 17
0
Dates and location for useR! 2024
Dear All, We are pleased to announce that useR! 2024 will be a hybrid conference, taking place 8-11 July in Salzburg, Austria. The conference website is yet to be set up. In the meantime, you can keep up-to-date the following ways: useR! LinkedIn Page: https://www.linkedin.com/company/user-conf useR! Twitter: https://twitter.com/_useRconf R Foundation Mastodon:
2023 Jul 17
0
Dates and location for useR! 2024
Dear All, We are pleased to announce that useR! 2024 will be a hybrid conference, taking place 8-11 July in Salzburg, Austria. The conference website is yet to be set up. In the meantime, you can keep up-to-date the following ways: useR! LinkedIn Page: https://www.linkedin.com/company/user-conf useR! Twitter: https://twitter.com/_useRconf R Foundation Mastodon:
2024 Jan 27
0
SubJam first beta released
Hi Icecasters, I wanted to let you know about my new local music broadcasting platform that uses Icecast as a streaming backend. We just released our first very-early-and-buggy-beta for iOS and can really use the support of the F/OSS and Creative Commons communities to gain traction and identify bugs, do feature requests, etc. My goal is to provide live broadcasts under the Creative Commons
2024 Mar 18
1
CentOS 7/8s EOL : infrastructure impacts (please read)
On 18/03/2024 08:43, Aleksandar Ivanisevic wrote: > Hi, > > do we know what happens with the images at major hyperscalers and when? I?m interested specifically about GCP. Who is in charge of centos-cloud project in GCP? You or Google? > > $ gcloud compute images describe centos-stream-8-v20240312 --project centos-cloud AFAIK, the team building CentOS Stream doesn't push to
2024 Mar 18
1
CentOS 7/8s EOL : infrastructure impacts (please read)
Hi, do we know what happens with the images at major hyperscalers and when? I?m interested specifically about GCP. Who is in charge of centos-cloud project in GCP? You or Google? $ gcloud compute images describe centos-stream-8-v20240312 --project centos-cloud architecture: X86_64 archiveSizeBytes: '7072654848' creationTimestamp: '2024-03-12T11:46:50.983-07:00' description:
2023 May 03
0
mock fails on gpg with epel - ?
On 01/05/2023 15:10, lejeczek via CentOS wrote: > Hi guys, > > Does your 'mock' work when used with 'centos-stream+epel-9-x86_64' config? > It fails for me with every rpm packages I tried: > > -> $ mock -r centos-stream+epel-9-x86_64 --rootdir=~/mock > --localrepo=/devs/var/www/dnf.repo --chain --continue > rpmbuild/rpm.src/pass-1.7.4-6.el9.src.rpm
2008 Mar 31
1
(PR#11054) "Writing R Extensions": bad example with CAR /
But it is not taken 'verbatim from src/main/print.c' (at least not in that version of R), and the code is not run with USE_RINTERNALS defined when write-barrier checking is enabled. The example has been updated to match the current code in 2.7.0 alpha. On Sun, 30 Mar 2008, sanders at fs.tum.de wrote: > Full_Name: Simon Anders > Version: 2.6.2 > OS: Ubuntu Linux >
2024 Mar 18
2
CentOS 7/8s EOL : infrastructure impacts (please read)
Hi all, As you're all aware (we sent multiple mails in the last year about this), CentOS 7 and Stream 8 will go EOL soon : https://blog.centos.org/2023/04/end-dates-are-coming-for-centos-stream-8-and-centos-linux-7/ Let's lists some things that will happen on the CentOS Infrastructure as we'll be approching (or passed) these dates : # CentOS 7/8s content itself Usual process :
2024 Apr 02
1
[Infra] - Planned outage : lists.centos.org (migration to mailman3) : please read
Due to a needed upgrade , we'll have to move the existing CentOS mailman instance (aka https://lists.centos.org) to a new server/host. Migration is scheduled for """"Tuesday April 8th, 7:00 am UTC time"""". You can convert to local time with $(date -d '2024-04-08 07:00 UTC') The expected "downtime" is estimated to ~60 minutes , time