Displaying 20 results from an estimated 10000 matches similar to: "ordering of alphanumeric strings"
2003 Aug 27
3
alpha-numeric order bug (PR#3996)
I am running R version 1.7.1 on 3 different operating systems:
Linux RedHat, Linux Slackware, and Windows 2000.
R is ordering alpha-numeric character strings in different ways, dependent
on the operating system. R orders strings exactly the same on Slackware and
Windows,
and this ordering corresponds to SPlus. It's the RedHat that is creating the
problem.
On Slackware, Windows, and SPlus:
2018 Sep 10
1
Re: [PATCH nbdkit v3 2/6] main: Tighten up characters permitted in config keys.
On 9/10/18 10:27 AM, Richard W.M. Jones wrote:
> Previously key=value on the command line allowed the key to be pretty
> much anything that didn't contain an '=' character. Even empty
> strings were permitted.
>
> This tightens up the permitted keys so they must contain only ASCII
> alphanumeric, period, underscore or dash characters; must not be an
> empty
2011 Mar 28
1
Ordering data.frame based on class
Dear R helpers
Suppose I have a data.frame as given below -
my_dat = data.frame(class = c("XYZ", "XYZ", "XYZ", "XYZ", "XYZ","ABC", "ABC", "ABC", "ABC", "ABC" ), var1 = c(20, 14, 89, 81, 17, 44, 36, 41, 11, 36), var2 = c(1001, 250, 456, 740, 380, 641, 111, 209, 830, 920))
> my_dat
class
2012 Jan 20
4
extract fixed width fields from a string
Hi,
I have a data frame with one column containing string of the form "ABC...|XYZ..."
where ABC etc are fields of 6 alphanumeric characters each
and XYZ etc are fields of 8 alphanumeric characters each;
"|" is a mandatory separator;
I do not know in advance how many fields of each kind will each row contain.
I need to extract these fields from the string.
=== How do I do that?
2019 Oct 10
1
Broken link on doc.dovecot.org
Hi again,
I wanted to check in and see if you got my note about the broken link on
your site.
Thanks!
Karen
On Monday, October 7, 2019 at 5:05 PM, Karen Woodman <karen at getmailbird.co>
wrote:
> Hi there,
>
> I noticed that you have a broken link to a website called Qmail.org. That
> site was first published 23 years ago (back in 1996!) but unfortunately, it
> is no
2018 May 07
0
Discovering patterns in textual strings
Bert
Here are some examples of the type of text strings I?m dealing with:
??????.??.???
??????.??.??????????
?Torrent? Pro - Torrent App
?Torrent?-Torrent Downloader
1 Pic 8 Words - Syllables
1 Pic 8 Words - Syllables
27043_Spanish songs for children
28.android.com.alpha.horoscope
28.android.com.bravo.horoscope
28.Card Game - Offline
28.card Game Multiplayer
37045_Spanish songs
2010 Jul 13
1
StartsWith over vector of Strings?
Given vectors of strings of arbitrary length
content <- c("abc", "def")
searchset <- c("a", "abc", "abcdef", "d", "def", "defghi")
Is it possible to determine the content String set that matches the
searchset in the sense of 'startswith' ? This would be a vector of all
strings in content that start with
2009 Apr 22
1
How do I loop through strings?
I read in a CSV file with Data <-
read.csv(file="FileName.csv",head=TRUE,sep=",")
the file containts strings in the 2nd and 3rd columns and each has about
1000 rows. I need to either loop through the strings there looking for
strings that would trigger other logic or remove those rows and put them in
another array and loop through them in the new array. I can't seem
2008 Apr 25
2
Differentiate alphanumeric vs numeric strings
I have a bunch of tables in a Microsoft Access database. An updated database
is sent to me every week containing a new table. I know that is inefficient
and weird but welcome to my life. I want to read the tables whose names are
something such as "040207" but not the ones that have alphanumeric names
such as "everyone". Using RODBC I am easily able to create a character
vector
2018 May 05
1
Discovering patterns in textual strings
"Does that help?"
No. I am not your private consultant. You need to reply to the list, which
I have cc'ed here, not just me.
I am still somewhat confused by your specifications, but others may not be.
Part of my confusion stems from your failure to provide a reproducible
example (see e.g. the posting guide linked below). For example, I cannot
tell from your text whether the Abc
2016 Dec 24
2
[PATCH] lib: Use a common function to validate strings.
As discussed in the thread on validating $TERM, it would be good to
have a common function to do this. This is such a function.
The main advantage is it includes unit tests which the previous
functions did not.
Rich.
2009 Dec 28
2
2D array of strings
Sorry for the dumb question, but I couldn't figure this out myself.
Consider the following:
> str <- c("abc","def")
> array(str, c(2,1))
[,1]
[1,] "abc"
[2,] "def"
How can i obtain the outcome of the second instruction without
specifying the number of rows?
Thank you in advance,
Francesco.
2010 Aug 17
4
replacing values in a vector
Dear helpRs
Does anyone have an elegant way of doing the following:
For a given numeric vector, e.g. vec <- c(3,2,6,4,7)
Create a series of vectors where all but 1 of the values are replaced by
0's, e.g.
vec.a <- c(3,0,0,0,0)
vec.b <- c(0,2,0,0,0)
vec.c <- c(0,0,6,0,0)
vec.d <- c(0,0,0,4,0)
vec.e <- c(0,0,0,0,7)
I have looked at `replace', but can't think of a
2008 Feb 26
3
R package to perform Horn's parallel analysis
I am seeking information on whether anyone has written code to perform
Horn's parallel analysis (a procedure that informs the selection of the
proper number of components in PCA) in R.
Thank you in advance for any help you can provide. Please respond
off-list at the email address below.
Karen Douglas
*******************************************************************
Karen Douglas,
2002 Aug 15
1
Winbind in Samba 2.2.5 not automatically mapping the NT users with corresponding UNIX accounts
Have you tried in smb.conf
username map = /usr/local/samba/lib/domainuser.map
winbind use default domain = no
For every user you have to create an entry in the
/usr/local/samba/lib/domainuser.map, that looks like
<unixusername> = "<domainname>+<username>"
I?m using a script that generates the domainuser.map automaticly, because
our users are using NIS
2005 Jun 28
1
enhanced multidimensional scaling?
Dear R list
Would anyone be able to tell me whether it is possible to do "enhanced
multidimensional scaling" (enhanced MDS) in R? In other words, something that
goes beyond "cmdscale" by iteratively improving the fit between observed
dissimilarities and inter-object distances, using the KYST algorithm
(Kruskal, 1964).
I have found several implementations of non-metric MDS
2005 Jun 28
2
enhanced MDS
Hi again
Sorry, in looking again at sammon and isoMDS I see that they seem to do
exactly what I want, except that they are non-metric, which means, as I
understand it, that they relate the rank orders of the variables rather than
the actual distances.
Could I use these non-metric MDS packages even if my distances are metric?
Thanks
Karen
--
Karen Kotschy
Centre for Water in the Environment
2012 Jul 18
2
How to have original (name) order after melt and cast command
Dear R helpers,
I have a data.frame as given below -
dat1 = data.frame(date = as.Date(c("3/30/12","3/29/12","3/28/12","3/27/12","3/26/12",
"3/23/12","3/22/12","3/21/12","3/20/12", "3/30/12","3/29/12","3/28/12","3/27/12",
2002 Apr 11
1
rsync : old file dates generating error during nfs rsync session: Value Too large for defined data type
I was troubleshooting a problem we were having with some files not rsyncing
properly over an nfs mount (the destination device is a snapserver (NAS)
that did not have native ability to receive streaming rsync info, that's why
we were doing this rsync over an NFS connection to the snapserver).
Anyway, at first I thought this was just one of the quirks of the snapserver
(it isn't
2011 Apr 06
3
function order
Dear All
I'm trying to sort a matrix using function order,
Some thing really odd:
e.g.
abc<-cbind(c(1,6,2),c(2,5,3),c(3,2,1))## matrix I want to sort
if I do
abc[ order(abc[,3]), increasing = TRUE]
the result is correct
[,1] [,2] [,3]
[1,] 2 3 1
[2,] 6 5 2
[3,] 1 2 3
But if I want to sort in decresing order:
abc[ order(abc[,3]), decreasing = TRUE]
the