similar to: Operator precedence of =, <- and ?

Displaying 20 results from an estimated 700 matches similar to: "Operator precedence of =, <- and ?"

2024 Jun 29
1
Looking for Python docs/examples to modify DNS via keytab
On 6/28/24 10:07 PM, christian baltini via samba wrote: > Hello all, > > I am looking to rewrite the shell script here (https://wiki.samba.org/index.php/Configure_DHCP_to_update_DNS_records) in Python. > > Is anyone aware of any resources (docs, existing code, etc.) that may be useful in doing so? I?m not finding any introductory docs or simple code examples that show things like
2015 Nov 19
7
[Bug 93004] New: Guild Wars 2 crash on nouveau DX11 cards
https://bugs.freedesktop.org/show_bug.cgi?id=93004 Bug ID: 93004 Summary: Guild Wars 2 crash on nouveau DX11 cards Product: Mesa Version: git Hardware: Other OS: All Status: NEW Severity: normal Priority: medium Component: Drivers/DRI/nouveau Assignee: nouveau at
2019 Mar 23
4
topenv of emptyenv
I was surprised just now to find out that `topenv(emptyenv())` equals ? `.GlobalEnv`, not `emptyenv()`. From my understanding of the description of `topenv`, it should walk up the chain of enclosing environments (as if by calling `e = parent.env(e)` repeatedly; in fact, that is almost exactly its implementation in envir.c) until it hits a top level. However, `emptyenv()` has no enclosing
2015 Dec 10
6
How do I reliably and efficiently hash a function?
I?ve got the following scenario: I need to store information about an R function, and retrieve it at a later point. In other programming languages I?d implement this using a dictionary with the functions as keys. In R, I?d usually use `attr(f, 'some-name')`. However, for my purposes I do not want to use `attr` because the information that I want to store is an implementation detail that
2009 Apr 16
3
"reverse truncate" to extract only decimal values
hello there, Is there a way of truncating in the opposite direction so as to retain only the values to the right of the decimal?? i.e. rather than: > trunc(39.5) [1] 39 i would get something like: > revtrunc(39.5) [1] 0.5 I've been searching to no avail but I imagine there is a very simple solution! Tyler -- View this message in context:
2006 Jun 22
5
(Still) no printing possible in wine 0.9.15
Hello List, since my first posting with the same subject was somehow incomplete, i decided to repost my question. I just installed wine-0.9.15, because I wasn't able to print with wine-0.9.8, but unfortunately the problem persists. My systems: Workstation: Gentoo 2006.0 Cups-1.1.23 no /etc/printcap no local printer connected Print server: Gentoo 2006.0 Cups-1.1.23 Printer: Canon i560
2010 Feb 19
3
plot circular histogram
In conducting studies of animal orientation and displacement, I need to produce circular histograms of angles (bearings in radians 0-2pi) where the centre of the circle indicates very few observations for a given bin of angles and outwardly concentric circles indicate greater frequencies of observations for a given bin of angles. I'd like not to have to write the function myself but I
2008 May 05
3
merge numerous columns of unequal length
I have numerous objects, each containing continuous data representing the same variable, movement rate, yet each having a different number of rows. e.g. d1<-as.matrix(rnorm(5)) d2<-as.matrix(rnorm(3)) d3<-as.matrix(rnorm(6)) How can I merge these three columns side-by-side in order to create a table regardless of the difference in length? I wish to analyze the output in a spreadsheet
2008 May 27
4
help with simple function
I have a matrix of frequency counts from 0-160. x<-as.matrix(c(0,1,0,0,1,0,0,0,1,0,0,0,0,1)) I would like to apply a function creating a new column (x[,2])containing values equal to: a) log(x[m,1]) if x[m,1] > 0; and b) for all x[m,1]= 0, log(next x[m,1] > 0 / count of preceding zero values +1) for example, x[1,2] should equal log(x[2,1]/2) = log(1/2) = -0.6931472 whereas x[3,2] should
2003 Jul 21
4
Via EPIA Mini-ITX motherboard
Just to drag this thread on a bit further ... I've been looking into these little boxes, thinking I could use one as a firewall/gateway. My one requirement is that it would need to have two PCI slots (one can be low-profile), and although I've seen PCI riser cards that can give me two slots, they've been rare, and cases that are suitable (i.e have the space, and back panels are
2006 Sep 19
7
Xen 3.0.2-2 + linux-2.6-xen-fedora
Did anybody have success in setting up xen 3.0.2-2 with a newer kernel than 2.6.16? I ran into the same LVM problems as mentioned before on this list (not being able to lvremove a snapshot). Now I''m trying to get the 2.6.18 running from the fedora repository ( http://hg.et.redhat.com/kernel/linux-2.6-xen-fedora ) but I didn''t have any success so far. The xen hypervisor binary
2016 Oct 02
5
On implementing zero-overhead code reuse
I'm looking for a way to approximate the "zero-overhead" model of code reuse available in languages like Python, Perl, etc. I've described this idea in more detail, and the motivation for this question in an earlier post to R-help (https://stat.ethz.ch/pipermail/r-help/2016-September/442174.html). (One of the responses I got advised that I post my question here instead.) The
2006 Jun 13
3
No printing possible in wine 0.9.15
Hello List, I just installed wine-0.9.15, because I wasn't able to print with wine-0.9.8, but unfortunately the problem persists. System: Gentoo Linux 2006.0 Wine: 0.9.15 (duh) Printer: Cups-1.1.23 on separate machine (Gentoo 2006.0), on localhost only cupsclient This is what i do: - remove ~/.wine - run winecfg from xterm winecfg complains about printer problems, but continues:
2009 Nov 26
2
Export kde object as shapefile
I am trying to estimate home range size using the plug-in method with kernel density estimation in the kernel smoothing (ks) package. Unless there is another way I am not familiar with, in order to calculate spatial area under the space I need to convert my kde () object into a spatial object somehow in order to calculate its spatial area. Could someone demonstrate how this might be done? --
2003 Jun 22
3
nfs locking between current and stable
Hello, I am attempting to get flock/file locking working between my -stable (updated ~19 may) nfs file server and -current desktop; the server is running lockd/statd, and both my mail client (mutt) and a simple perl program complain that files on the nfs server cannot be locked. I am aware that there has been work on the nfs locking code in current, and have a vague recollection of a workaround
2025 Jan 04
2
Fix documentation about <- and = differences
Hello R devs, this StackOverflow answer says that the R documentation is wrong: https://stackoverflow.com/a/51564252/1719931 Can we fi it? Best, &#8203; [[alternative HTML version deleted]]
2024 Jun 28
2
Looking for Python docs/examples to modify DNS via keytab
Hello all, I am looking to rewrite the shell script here (https://wiki.samba.org/index.php/Configure_DHCP_to_update_DNS_records) in Python. Is anyone aware of any resources (docs, existing code, etc.) that may be useful in doing so? I?m not finding any introductory docs or simple code examples that show things like instantiating a DNS server connection with a keytab. Thanks, CB
2018 Jul 27
1
Preparatory work on virt-v2v -o openstack mode
(Apologies if I missed anyone off the To: line. Please add anyone else who is interested, but keep the libguestfs public mailing list) I did some preparatory work on adding the new ‘virt-v2v -o openstack’ output mode. I've put it in a private (non-FFwd) branch here: https://github.com/rwmjones/libguestfs/tree/openstack Most of the work was refactoring virt-v2v so that we have all of the
2004 Sep 09
3
Polycom IP500 vs Cisco 7940
Hi Everyone, I've been asked to determine which phones our organization should go with. And I've narrowed it down to the Polycom IP500 or the Cisco 7940. From my travels through google, it's hard to find a definitive comparison of the two phones. So I thought I would ask the people that have probably used both. From what I can tell, the only major benefit the Cisco has over the
2008 Jun 02
4
NOT-SO-SIMPLE function!
I am trying to set up a function which processes my data according to the following rules: 1. if (x[i]==0) NA 2. if (x[i]>0) log(x[i]/(number of consecutive zeros immediately preceding it +1)) The data this will apply to include a variety of whole numbers not limited to 1 & 0, a number of which may appear consecutively and not separated by zeros. Below is an example with a detailed