similar to: New syntax for positional-only function parameters?

Displaying 20 results from an estimated 1000 matches similar to: "New syntax for positional-only function parameters?"

2024 Jan 15
2
cwilcox - new version
I am a newbie to C (although I did some programming in Perl and Pascal) so forgive me for the language that follows. I am writing because I have a question concerning the *implementation of *(the internal function)* cwilcox* in https://svn.r-project.org/R/!svn/bc/81274/branches/R-DL/src/nmath/wilcox.c. This function is used to determine the test statistics of the Wilcoxon-Mann-Whitney U-test.
2023 Nov 11
1
New syntax for positional-only function parameters?
6 ?????? 2023 ?. 22:54:24 GMT+03:00, mikkmart via R-devel <r-devel at r-project.org> ?????: >The pattern of functions accepting other functions as inputs and >passing additional ... arguments to them is prevalent throughout >the R ecosystem. Currently, however, all such functions must one >way or another tackle the problem of inadvertently passing arguments >meant to go to
2023 Mar 23
1
`dendrapply` Enhancements
Hello Aidan, Sorry for dropping this for a while. ? Thu, 2 Mar 2023 21:03:59 +0000 "Lakshman, Aidan H" <AHL27 at pitt.edu> ?????: > //after > curnode = eval(lang3(R_Bracket2Symbol, parent->node, DEND_IND), env); lang3() always constructs a new language object. If you do end up using eval(), it may make sense to move lang3() out of the loop and reuse the existing object
2023 Feb 23
1
`dendrapply` Enhancements
Hi everyone, My apologies if this isn?t the right place to submit this?I?m new to the R-devel community and still figuring out what is where. If people want to skip my writeup and just look at the code, I?ve made a repository for it here: https://github.com/ahl27/new_dendrapply/tree/master. I?m not quite sure how to integrate it into a fork of R-devel; the package structure is different from
2007 Nov 01
3
Curry: proposed new functional programming, er, function.
Hi all (especially R-core) I suppose, With the introduction of the new functional programming functions into base I thought I'd ask for a Curry() function. I use a simple one that looks this: Curry = function(FUN,...) { .orig = list(...);function(...) do.call(FUN,c(.orig,list(...))) } This comes in really handy when using say, heatmap():
2002 Jul 15
1
Winbind problems when mapping shares
I have just installed Samba 2.2.5. I am using Winbind and have changed the following in /etc/nsswitch.conf. passwd: files winbind group: files winbind I successfully joined a PDC domain. When I list files, I see that groups are being resolved from winbind. I have userid xtuser defined to Linux. I see the following: ibm9672:/home # getent passwd | grep xtuser xtuser:x:11240:11763:test
2009 Aug 28
6
Google's R Style Guide
Perhaps most of you have already seen this? http://google-styleguide.googlecode.com/svn/trunk/google-r-style.html Comments/Critiques? Thanks, Esmail ps: Reminds me of PEP 8 for Python http://www.python.org/dev/peps/pep-0008/ Maybe not that surprising since Python is also one of the main languages used by Google.
2008 Jul 07
4
script.aculo.us slider - this and event handler - depending sliders
Hi, I successfully created depending sliders with prototype and slider.js. See the result here: http://www.soa-world.de/dev/slider/slider.html (here''s the code: http://pastebin.com/ma1e82eb) There is one problem with my code. What I do is I have a sliders class "function sliders()" inside I create the 5 sliders in a for loop and store them inside an array which is a member of
2011 Mar 21
1
Curry with `[.function` ?
Dear all, I sometimes use the following function: Curry <- function(FUN,...) { # by Byron Ellis, https://stat.ethz.ch/pipermail/r-devel/2007-November/047318.html .orig <- list(...) function(...) do.call(FUN,c(.orig,list(...))) } ... and have thought it might be convenient to have a method for [ doing this. As a simple example, > apply(M, 1, mean[trim=0.1]) # hypothetical
2014 Sep 07
0
Bug#703586: Bug#703586: Xen fails to boot Linux dom0 under UEFI
On Sun, 2014-09-07 at 00:02 +0200, John Keates wrote: > How do I assist with getting this in for Jessie? > > I have this working in a fairly easy setup, it basically only requires > the pep target to be on for debian?s Xen package, What is "pep"? > and a tiny bit of infrastructure to get xen.efi, vmlinuz, an initrd > and a xen.cfg on to the ESP partition and letting
2010 Jan 26
1
ordisymbol - changing symbols used in plotting factor levels
Hello, I'm trying plot points in an NMDS according to a factor with two levels: fig<-ordiplot(canod.sol, type="none",cex.axis=0.9,cex.lab=0.1,pty="m",tck=-0.01) ordisymbol(fig, y = hab, factor = "habitat", rainbow = T,col = env, legend = F) This gets me part of the way - It produces a plot with blue triangles for the first factor level and red circles
2024 Jan 17
2
cwilcox - new version
> > > Performance statistics are interesting. If we assume the two populations > have a total of `m` members, then this implementation runs slightly slower > for m < 20, and much slower for 50 < m < 100. However, this implementation > works significantly *faster* for m > 200. The breakpoint is precisely when > each population has a size of 50; `qwilcox(0.5,50,50)`
2019 Mar 01
4
Swift help
Hi there Icecast, Hope all is well. I have a macOS application that takes audio in from an external mixer, and uses Apple core audio to process. I want to add a live streaming feature to an Icecast server. Is there any Swift API examples. I just want a basic API that will take the core audio and stream it out to an Icecast service. In my endeavors to find this, I have found the dark ice
2024 Jun 15
1
Hard crash of lme4 in R-devel
? Sat, 15 Jun 2024 02:04:31 +0000 "Therneau, Terry M., Ph.D. via R-devel" <r-devel at r-project.org> ?????: > other attached packages: > [1] lme4_1.1-35.1 Matrix_1.7-0 I see you have a new Matrix (1.7-0 from 2024-04-26 with a new ABI) but an older lme4 (1.1-35.1 from 2023-11-05). I reproduced the crash and the giant backtrace by first installing latest lme4 and then
2009 Aug 16
5
Plot(x,y)
Hi , I am using the plot function for some data , and the plot is coming back pure black , with scales on the side . Regards Malcolm [[alternative HTML version deleted]]
2008 Oct 02
3
Problem with read.table()
Hello everybody, I'm a new user and I'm trying to use read.table with a tab delimited file but the system tells me (i) that there are more columns than column names, and (ii) that headers and col.names are of different lengths. I have already checked my variable names and there's no blank spaces. However, some variables have quite long names such as
2002 Jul 26
1
Needed: step-by-step HOW-TO for Smaba and Winbind in mixed environment
I need a document that will walk me (a Samba newbie) through a setup of samba and winbind in a mixed unix/linux/win2k environment. I am also looking for a linux/unix equivalent to 'network neighborhood' on Windows systems for some of my users. Thanks Daniel Curry IT Manager Cariocas 625 Second Street Suite 201 San Francisco, CA 94107 ph: 415-348-6516 fx: 415-348-6505 cell:
2001 Dec 27
1
New to samba Want to use samba as file/print servers for Win2K domain
I am new to Samba. I have a brand new win2K domain. I would like to use Samba on RH7.2 systems to handle all of our file and print services. Before implementing this, I would like to be prepared for the installation. Where can I find information for implementing security on a Samba files share using the Win2K Active Directory security system? Will I need to implement kerberos or LDAP services
2009 Dec 07
2
outputting functions in lapply
How come the k is 3 in all of this output? I expected it to be equal to r. > tmp3 <- lapply(1:3, function(k) function(r) print(paste(r, "<- r | k ->", k))) > for (i in 1:3) { tmp3[[i]](i) } [1] "1 <- r | k -> 3" [1] "2 <- r | k -> 3" [1] "3 <- r | k -> 3" -- Med venlig hilsen Rune Schjellerup Philosof Ph.d-stipendiat,
2014 Sep 07
1
Bug#703586: Bug#703586: Xen fails to boot Linux dom0 under UEFI
I?ll explain what?s happening first, and list the steps after that. First: pep is short for the Xen target x86_64-pep. It?s a target you can enable when configuring Xen to create an EFI binary. What is happening with Xen on UEFI via Grub is that it doesn?t give the kernel any info on the ACPI root pointer. Basically, this means that Linux won?t be able to do ACPI, and therefore a ton of hardware