search for: digt

Displaying 8 results from an estimated 8 matches for "digt".

Did you mean: dict
2008 Apr 25
2
Differentiate alphanumeric vs numeric strings
...t not the ones that have alphanumeric names such as "everyone". Using RODBC I am easily able to create a character vector of the names of the tables. Is there a function that can differentiate values consisting only of digits (numerics) as opposed to ones that contain letters (and perhaps digts as well)? I am sure there is. What is it and where should I have found it? -- Farrel Buchinsky GrandCentral Tel: (412) 567-7870 [[alternative HTML version deleted]]
2018 Mar 12
1
Equivalent of gtools::mixedsort in R base
...( length( x ) )[ gtools::mixedorder(x) ] } o <- do.call( order, lapply( DF, mixedrank ) ) DF[ o, ] # or, as Bert suggests: myrank <- function( v ) { vu <- unique(v) vl <- regmatches( vu,regexec("^([A-Za-z]+)(\\d+)$",vu)) alph <- sapply( vl, function(s) s[2] ) digt <- as.integer( sapply( vl, function(s) s[3] ) ) o <- order( alph, digt ) vo <- ordered( v, levels=vu[ o ] ) } o2 <- do.call( order, lapply( DF, myrank ) ) DF[ o2, ] ?order ?ordered ?rank On Sun, 11 Mar 2018, Bert Gunter wrote: > ??? > >> y <- sort( c("a1&qu...
2009 Nov 23
3
Please some enlightment on ENUM !!
Hello all you Gurus out there! Please could you explain something to me: Currently I try to get ENUMLOOKUP() working. Naturally I do all the testing with my own number. I registered my number at e164.org I paid for registration of my number at a registration agent for e164.arpa (I know, I don't need both. I just did the .arpa registration first and later discoverd the free .org service....)
2018 Mar 12
0
Equivalent of gtools::mixedsort in R base
??? > y <- sort( c("a1","a2","a10","a12","a100")) > y [1] "a1" "a10" "a100" "a12" "a2" > mixedsort(y) [1] "a1" "a2" "a10" "a12" "a100" **Please read the docs!** They say that mixedsort() and mixedorder() both take a **single
2009 Nov 12
1
no valid partitiontables anymore
...512 = 1048576 Bytes Disk /dev/sdf1 doesn't contain a valid partition table mount -t ext3 /dev/sdf1 /export/iscsi01-UDV1/ (lot of german information, e.g. wrong fs-type, damaged superblock ...) mount: Falscher Dateisystemtyp, ung?ltige Optionen, der Superblock von /dev/sdf1 ist besch?digt, fehlende Kodierungsseite oder ein anderer Fehler Manchmal liefert das Syslog wertvolle Informationen ? versuchen Sie dmesg | tail oder so dmesg ... VFS: Can't find ext3 filesystem on dev sdf1. But I'm sure, about using ext3. The error message is the same with ma...
2014 Mar 24
0
ADS data crippled after joining Samba into active MS domain
...r OwaVersion ---- ------ ---------- owa (Default Web Site) SRV16 Exchange2010 WARNUNG: Das Objekt SRV16\owa (Default Web Site) wurde besch?digt und befindet sich in einem inkonsistenten Zustand. ?berpr?fungsfehler: WARNUNG: Eigenschaftenausdruck "?????:<GUID=2b4" ist ung?ltig. G?ltige Werte: Zeichenfolgen, die mit einem Punkt beginnen, gefolgt von einem beliebigen Zeichen, mit Ausnahme eines Punkts. WARNUNG: Eigens...
2006 May 01
2
Pasting data into scan()
The file TENSILE.DAT from the Hand et al "Handbook of Small Data Sets" looks like this: 0.023 0.032 0.054 0.069 0.081 0.094 0.105 0.127 0.148 0.169 0.188 0.216 0.255 0.277 0.311 0.361 0.376 0.395 0.432 0.463 0.481 0.519 0.529 0.567 0.642 0.674 0.752 0.823 0.887 0.926 except that my mail client has replaced the tab separators by blanks. If I paste this data into R 2.2.1 what I get is
2018 Mar 12
7
Equivalent of gtools::mixedsort in R base
Hi, Searching for functions that would order strings that mix characters and numbers in a "natural" way (ie, "a1 a2 a10" instead of "a1 a10 a2"), I found the mixedsort and mixedorder from the gtools package. Problems: 1- mixedorder does not work in a "do.call(mixedorder, mydataframe)" call like the order function does 2- gtools has not been updated in 2.5