similar to: Wildcards

Displaying 20 results from an estimated 5000 matches similar to: "Wildcards"

2013 Mar 14
2
Grep with wildcards across multiple columns
I have a fairly large data set with six variables set up like the following dummy: # Create fake data df <- data.frame(code = c(rep(1001, 8), rep(1002, 8)), year = rep(c(rep(2011, 4), rep(2012, 4)), 2), fund = rep(c("10E", "10E", "10E", "27E"), 4), func = rep(c("110000",
2012 Nov 14
1
R wildcards, sapply and as.factor
I want to change the type to factor of all variables in a data frame whose names match a certain pattern. So here I am trying to change the type to factor of all variables whose name begins with?namestub?in the dataframe?df. attach(df)sapply(grep(glob2rx("namestub*"),names(df)),as.factor) But this doesn't work since >levels(df$namestub1)NULL
2005 Oct 10
2
wildcards and removing variables
All, Is there are a wildcard in R for varible names as in unix? For example, rm(results*) to remove all variable or function names that begin w/ "results"? cheers, Dave ps - please respond directly to afshar@miami.edu [[alternative HTML version deleted]]
2015 Oct 04
2
Conditional importFrom (roxygen?)
Folks: I am getting a build failure when I: #' @importFrom utils shortPathName which roxygenizes it to the NAMESPACE. I suspect this is because this particular function is Windows-only, but I'm a bit confused how I should "properly" importFrom a function like this so it doesn't cause a build failure, but I don't get a note in my R CMD CHECK if I DON'T have it:
2006 Feb 20
2
glob2rx function not working
Dear R users, Inspired by previous list discussion of the glob2rxc function, I am attempting to create a new vector called TOTAL by summing all vectors whose names begin with ABC: TOTAL = sum(list = ls(pattern = glob2rx("ABC*"))) I'm running R 2.2.1 on Windows XP. Can anyone say what I'm missing? Thank you, Mark
2007 Apr 01
1
FLAC: Windows wildcards support
Hi, I have read this on the sourceforge site: Windows wildcards support for FLAC and Metaflac *Private: (?)<javascript:help_window('/help/tracker.php?helpname=private')> * No The Linux shell support wildcards but not the Windows shell. Would it be possible to add wildcard support for Windows? Example with Windows: metaflac --add-replay-gain *.flac Gives the following error:
2010 Apr 19
3
stupid regexp question
Hello, I have a stupid regexp question. I have a large data frame of strings. I would like to convert all occurences of : "W.m^{-2}" to "W/m2" I make the following test : gsub(glob2rx("W.m^{-2}"), "W/m2", "W.m^{-2}") but it does not seem to work. I don't know how to do it otherwise as I could never learn how to deal with the special
2010 Nov 16
2
Pass character vector to function argument
A bit embarrassed to post this seemingly trivial question, but I can't find anything in the archive that's quite relevant: a1=1 a2=2 obs=objects(pattern=glob2rx("a?")) I want to utilize 'obs' as a function argument to produce something like: sum(a1,a2) Obviously, sum(obs) doesn't work, but I've tried variations of 'eval', 'parse',
2008 Apr 11
2
DO NOT REPLY [Bug 5388] New: wildcards and rsync 3.01+
https://bugzilla.samba.org/show_bug.cgi?id=5388 Summary: wildcards and rsync 3.01+ Product: rsync Version: 3.0.2 Platform: x86 OS/Version: FreeBSD Status: NEW Severity: major Priority: P3 Component: core AssignedTo: wayned@samba.org ReportedBy: support@reverse.net QAContact:
2008 Aug 21
1
wildcards and prefix searches
Hey all, I'm using Xapian through acts_as_xapian and would like to know why trailing wildcards do not work on prefix searches. Specifically, I have a Merchant model with a Description field, mapped to the prefix "desc". If I then search for "desc:goods" I get 4 matches, but if I search for "desc:goo*" I get 0. However, when searching normal, non-prefixed
2014 Feb 04
1
Samba4 internal DNS wildcards
Hi folks, Can't seem to find any info on this one. I've done a Samba3 classic upgrade to Samba4 on my test rig which has gone very well so far. All users and groups look good, I'm using NSLCD to view creds on my *nix boxes and I'm generally a happy camper, but... I can't seem to get DNS wildcards working. I create a new domain under main search domain in Forward Lookup Zones
2006 Aug 03
4
meta characters in file path
Hi, I need to read in some files. The file names contain come meta characters such as @, #, and white spaces etc, In read.csv, file= option, is there any way that one can make the function to recognize a file path with those characters? Thanks Johnny [[alternative HTML version deleted]]
2016 Nov 09
2
search body with wildcards
Hi, A question. We are using fts_solr. When searching for content in BODY I noticed that dovecot only supports full words. "BODY calibration" returns results but "BODY calibra" does not. Nor "BODY calibra*". Solr does support searching with wildcards so why is it that dovecot does not? regards, -- Willem-Jan de Hoog
2007 Apr 25
2
R-2.5.0 and unlink/wildcards
It seems unlink doesn't work with wildcards in 2.5.0. I've tried R-2.5.0 under gnu/linux from source and the Mac binary from att research. Example: > dir() [1] "bgx.Rnw" "bgx.pdf" "run.1" > unlink("run.*",recursive=T) > dir() [1] "bgx.Rnw" "bgx.pdf" "run.1" > unlink("run.1",recursive=T)
2007 Feb 22
1
Wildcards
Hello, Thanks Olly , by following to your suggestion I could do the indexing in the CSV file while the search results retrieved from the Postgres and it's working fine. [ I am using the Xapian PHP-binding to index and search.] How could I enable the WILDCARDS in it ? I followed with the online manual which says it is disabled by default there given some method to enable but I am not
1999 Dec 15
2
DOS wildcards w/ 2.0.5a
I've recently set up a new server running RH 6.1 and Samba 2.0.5a. All our older servers are running 1.9.18p10, and were left that way on the "If it ain't broke" principle. On the new server, I've noticed that DOS wildcards don't work correctly for some (but not all) old 16-bit DOS programs running under Win95/98. The symptom is that the program only
2007 Mar 08
2
Removing duplicated rows within a matrix, with missing data as wildcards
I'd like to remove duplicated rows within a matrix, with missing data being treated as wildcards. For example > x <- matrix((1:3), 5, 3) > x[4,2] = NA > x[3,3] = NA > x [,1] [,2] [,3] [1,] 1 3 2 [2,] 2 1 3 [3,] 3 2 NA [4,] 1 NA 2 [5,] 2 1 3 I would like to obtain [,1] [,2] [,3] [1,] 1 3 2 [2,] 2 1 3
2007 Aug 28
1
using wildcards on node
Hello, Can I use wildcards on the node''s name/address? For example, I want something like this: node ''server-*.domain.com'' { .... } where ''*'' is a number. If this is not possible, there''s another way of reaching this behaviour? Thanks.
2005 Dec 14
1
How to allow user entered wildcards in find?
Anyone know how to allow user entered (mySql) wildcards for a find? It seems that if I do a plain find(:all... with % as the search text it finds nothing where it seems it should find every row. I hope this is stated clearly enough. -- Posted via http://www.ruby-forum.com/.
2013 Jul 02
1
wildcards and nested files
I'm trying to use wildcards and nested files and I think there must be a better way than what I'm doing. If I want to copy only these two directories: /etc /home/*/.maildir Is this the best way to do it: rsync -arzv --delete-excluded --files-from 'files-from.txt' --include-from 'include-from.txt' --exclude-from 'exclude-from.txt' / rsyncuser at hostname: