search for: unction

Displaying 20 results from an estimated 20 matches for "unction".

Did you mean: function
2010 Jan 03
0
[PATCH] exa: Some compat defines for new pixman formats.
...RA,0,8,8,8) +#endif + static Bool NV50EXACheckRenderTarget(PicturePtr ppict) { --=20 1.6.6.rc4 On Sun, Jan 3, 2010 at 2:55 AM, Johannes Obermayr <johannesobermayr at gmx.de> wrote: > I forgot to add the mailing list: > > It changed: > > CC nv50_sor.lo > nv50_exa.c: In function 'NV50EXACheckTexture': > nv50_exa.c:545: error: 'PICT_b8g8r8a8' undeclared (first use in this func= tion) > nv50_exa.c:545: error: (Each undeclared identifier is reported only once > nv50_exa.c:545: error: for each function it appears in.) > nv50_exa.c:546: error: 'P...
2023 Jan 14
3
Removing variables from data frame with a wile card
...or some purposes, you want to keep the original data.frame and remove a column within it. You can do that in several ways but the simplest is something where you sat the column to NULL as in: mydata$NAME <- NULL using the mydata["NAME"] notation can do that for you by using a loop of unctional programming method that does that with all components of your grep. R does have optimizations that make this less useful as a partial copy of a data.frame retains common parts till things change. For those who like to use the tidyverse, it comes with lots of tools that let you select columns th...
2018 May 03
1
The stages of standard function evaluation
Dear R Help folks -- I have been trying to put together a list of the steps or stages of R function evaluation, with particular focus on those that have "standard" or "nonstandard" forms. This is both for my own edification and also because I am thinking of joining the world of R bloggers and have been trying to put together some draft posting that might be useful. I seem to h...
2023 Jan 14
1
Removing variables from data frame with a wile card
...p the original data.frame and remove a > column within it. You can do that in several ways but the simplest is > something where you sat the column to NULL as in: > > mydata$NAME <- NULL > > using the mydata["NAME"] notation can do that for you by using a loop of > unctional programming method that does that with all components of your > grep. > > R does have optimizations that make this less useful as a partial copy of > a data.frame retains common parts till things change. > > For those who like to use the tidyverse, it comes with lots of tools th...
2003 Dec 25
0
BD, the lions muzzles
stefan australis pragmatic fireside credulity clank rosemary exchequer worrisome o build moonlight paragon celsius exchequer toil unction melanesia springtail commutate imminent uhf cowpoke christopher shoestring
2023 Jan 14
1
Removing variables from data frame with a wile card
...({L$a <- 3}) L$a with E <- new.env() local({E$a <- 3}) E$a The latter will in fact work, as the same Environment is modified, while in the first one a modified copy of the list is made. Under the hood we have a parser trick: If R sees something like f(a) <- ... it will look for a function f<- and call a <- f<-(a, ...) (this also happens for example when you do names(x) <- ...) So in fact in our case this is equivalent to creating a copy with removed columns and rebind the symbol in the current environment to the result. The data.table package breaks with this convent...
2023 Jan 15
2
Removing variables from data frame with a wile card
I am new to this thread. At the risk of presenting something that has been shown before, below I demonstrate how a column in a data frame can be dropped using a wild card, i.e. a column whose name starts with "th" using nothing more than base r functions and base R syntax. While additions to R such as tidyverse can be very helpful, many things that they do can be accomplished simply using base R. # Create data frame with three columns one <- rep(1,10) one two <- rep(2,10) two three <- rep(3,10) three mydata <- data.frame(one=one, tw...
2023 Jan 14
2
Removing variables from data frame with a wile card
Thanks to all. Very helpful. Steven from iPhone > On Jan 14, 2023, at 3:08 PM, Andrew Simmons <akwsimmo at gmail.com> wrote: > > ?You'll want to use grep() or grepl(). By default, grep() uses extended > regular expressions to find matches, but you can also use perl regular > expressions and globbing (after converting to a regular expression). > For example: >
2023 Jan 15
0
Removing variables from data frame with a wile card
...({L$a <- 3}) L$a with E <- new.env() local({E$a <- 3}) E$a The latter will in fact work, as the same Environment is modified, while in the first one a modified copy of the list is made. Under the hood we have a parser trick: If R sees something like f(a) <- ... it will look for a function f<- and call a <- f<-(a, ...) (this also happens for example when you do names(x) <- ...) So in fact in our case this is equivalent to creating a copy with removed columns and rebind the symbol in the current environment to the result. The data.table package breaks with this convent...
2006 Aug 01
0
[LLVMdev] Building llvm under cygwin
...folowing errors: > > Can't find a library with no dependencies > at /llvm/obj/Debug/bin/llvm-config lin > e 420, <DATA> line 30. The key is the above line. IIRC this is fixed in a recent patch. Have you updated your LLVM tree recently? Reid. > ../../src/gcc/gcc.c: In function `process_command': > ../../src/gcc/gcc.c:3499: warning: assignment discards qualifiers from > pointer t > arget type > ../../src/gcc/gcc.c:3504: warning: assignment from incompatible > pointer type > ../../src/gcc/gcc.c: In function `main': > ../../src/gcc/gcc.c:6357:...
2006 Jul 31
0
[LLVMdev] Building llvm under cygwin
If you're building llvm-gcc4, you don't need the runtime libraries, so I'd just stick with the "tools-only" build and declare success. If you're building llvm-gcc3, I'd suggest you switch to llvm-gcc4 :) However, the problem appears to be your PATH variable. In your path you have the following directory: C:/Program Files/Microsoft DirectX SDK (June
2002 Jun 28
2
Error when configuring pam on samba (MANDRAKE 8.2 and before)
...command (for pam use). I also have the same error on older mandrake's. Is this related to mandrake or what ? Someone has a solution plz ? make nsswitch/pam_winbind.so Compiling nsswitch/pam_winbind.c with -fPIC nsswitch/pam_winbind.c:65: parse error before `*' nsswitch/pam_winbind.c: In function `converse': nsswitch/pam_winbind.c:72: `pamh' undeclared (first use in this function) nsswitch/pam_winbind.c:72: (Each undeclared identifier is reported only once nsswitch/pam_winbind.c:72: for each function it appears in.) nsswitch/pam_winbind.c:72: `PAM_CONV' undeclared (first use in...
2006 Jul 30
2
[LLVMdev] Building llvm under cygwin
Hi! I'm trying to build LLVM under cygwin. I have the latest version of cygwin and CVS versions of llvm, llvm-test and llvm-gcc. make of tools only succeeded. make of frontend succeeded too but full make of llvm failed on crtend in llvm/runtime/GCCLibraries with the following message: llvm[0]: Compiling crtend.c for Debug build (bytecode) /bin/sh: -c: line 0: syntax error near unexpected
2006 Aug 01
15
[LLVMdev] Building llvm under cygwin
...#39;re building llvm-gcc3, I'd suggest you switch to llvm-gcc4 :) I switched to llvm-gcc4 but when I run make from obj folder i run into folowing errors: Can't find a library with no dependencies at /llvm/obj/Debug/bin/llvm-config lin e 420, <DATA> line 30. ../../src/gcc/gcc.c: In function `process_command': ../../src/gcc/gcc.c:3499: warning: assignment discards qualifiers from pointer t arget type ../../src/gcc/gcc.c:3504: warning: assignment from incompatible pointer type ../../src/gcc/gcc.c: In function `main': ../../src/gcc/gcc.c:6357: warning: 'value' might be us...
2013 Dec 02
1
Days to solstice calculation
Hello, I've come across a problem in developing a set of custom functions to calculate the number of hours of daylight at a given latitude, and the number of days a date precedes or secedes the summer solstice. I discovered an inconsistency concerning leap years between my derived values and those from the US naval databases. It seems as far as I can figure that my inco...
2010 Mar 23
0
[LLVMdev] Cygwin llvm-gcc-4.2 regression
...ang/src/llvm -gcc4.2-2.7.source/gcc/../include -I/home/ang/src/llvm-gcc4.2-2.7.source/gcc/../ libcpp/include -I/home/ang/src/llvm-gcc4.2-2.7.source/gcc/../libdecnumber -I../ libdecnumber -I/home/ang/build/llvm-2.7/include -I/home/ang/src/llvm-2.7/include -g0 -finhibit-size-directive -fno-inline-functions -fno-exceptions -fno-zero-i nitialized-in-bss -fno-toplevel-reorder -c -o crtbegin.o \ /home/ang/src/llvm-gcc4.2-2.7.source/gcc/config/i386/cygming-crtbegin.c In file included from /home/ang/src/llvm-gcc4.2-2.7.source/gcc/tsystem.h:47, from /home/ang/src/llvm-gcc4.2-2.7.s...
2023 Apr 13
6
[PATCH v3 0/6] NBD 64-bit extensions (spec only)
...get any feedback in my v2 posting. In relation to v2, the subject line for patch 2 changed (the 'git backport-diff' tool doesn't handle that well), and the interdiff changes look bigger than they really are due to reflowed paragraphs. [----] : patches are identical [####] : number of functional differences between upstream/downstream patch [down] : patch is downstream-only The flags [FC] indicate (F)unctional and (C)ontextual differences, respectively 001/6:[----] [-C] 'spec: Recommend cap on NBD_REPLY_TYPE_BLOCK_STATUS length' 002/6:[down] 'spec: Change maximum block size...
2020 Sep 21
18
[nbdkit PATCH v3 00/14] exportname filter
...top of rewriting test-layers to use libnbd - rebased on top of putting nbdkit_*_intern() in place already I'm probably at the point where it is just worth committing this series, and dealing with any further changes as followup patches. Key: [----] : patches are identical [####] : number of functional differences between upstream/downstream patch [down] : patch is downstream-only The flags [FC] indicate (F)unctional and (C)ontextual differences, respectively 001/14:[0059] [FC] 'api: Add .default_export' 002/14:[down] 'api: Add nbdkit_use_default_export' 003/14:[0059] [FC] '...
2018 Mar 08
19
[nbdkit PATCH v3 00/15] Add FUA support to nbdkit
...t.com/archives/libguestfs/2018-January/msg00219.html [3] https://www.redhat.com/archives/libguestfs/2018-February/msg00000.html Still to go: figure out how we want to expose flags through the language bindings (there, we can break API if needed, but hopefully we can instead exploit languages with function-overloading and/or optional parameters to make it feel like a natural extension). This exercise has been good; I've found a couple of tweaks needed in qemu for corner cases explored while writing these nbdkit patches. Also, the qemu list reminded me that even though the NBD spec says FUA on t...
2012 Jul 04
53
[PATCH 00 of 10 v3] Automatic NUMA placement for xl
...[PATCH 04 of 10 v3] libxl: rename libxl_cpumap to libxl_bitmap [PATCH 05 of 10 v3] libxl: expand the libxl_bitmap API a bit * [PATCH 06 of 10 v3] libxl: introduce some node map helpers [PATCH 07 of 10 v3] libxl: explicitly check for libmath in autoconf Is where data structures, utility functions and infrastructure are introduced. * [PATCH 08 of 10 v3] libxl: enable automatic placement of guests on NUMA nodes * [PATCH 09 of 10 v3] libxl: have NUMA placement deal with cpupools Host the core of the mechanism. * [PATCH 10 of 10 v3] Some automatic NUMA placement documentation For some m...