similar to: how to match exact phrase using gsub (or similar function)

Displaying 20 results from an estimated 2000 matches similar to: "how to match exact phrase using gsub (or similar function)"

2012 Apr 22
3
need advice on using excel to check data for import into R
I have created an S4 object type for conducting fire department data analysis. The object includes validity check that ensures certain fields are present and that duplicate records don't exist for certain combinations of columns (e.g. no duplicate incident number / incident data / unit ID ensures that the data does not show the same fire engine responding twice on the same call). I am
2012 Oct 26
1
using match-type function to return correctly ordered data from a dataframe
I am regularly running into a problem where I can't seem to figure out how maintain correct data order when selecting data out of a dataframe. The below code shows an example of trying to pull data from a dataframe using ordered zip codes. My problem is returning the pulled data in the correct order. This is a very simple example, but it illustrates a regular problem that I am running into.
2008 Jul 01
17
Memory leak scripts
Hola, I am trying to isolate the memory leak I suspect in a mailman installation ? I found: http://blogs.sun.com/sanjeevb/date/200506 It gives an error: god at irt-smtp-02:~ 9:21am 65 # ./memleak.d 10312 dtrace: failed to compile script ./memleak.d: line 3: probe description pid10312:libc.so.1:malloc:entry does not match any probes I am on SunOS 5.10 Generic_127112-07 i86pc i386 i86pc Are
2011 Aug 31
2
stumped on how to reorder factors
I am trying to reorder a factor data type so that when I plot stats associated with the factor, the ordering makes sense. For instance, if I have a factor entered as follows ... A = as.factor(c("1", "10", "3", "3", "10", "10")) levels(A) ... the ordering does not really make sense (assuming I want the factor ordered by integer
2007 Jan 23
2
Exact phrase score
Sorry if this has been beaten to death here but I couldn''t find the exact answer I was looking for. In the app I''m writing, we convert the score to a percentage and display it with the search results. The problem is when you search for an exact phrase (for example) and it matches the title of a document exactly, you only get a 17% match. Has anyone seen a way to either curve
2004 May 03
1
Start recording during call by pressingbutton sequence
Zac, Thanks for the input. This would cover it, however it is not stealth. In some cases, you may want it to be stealth. Again, my state allows me to do this, but some states do not. I've done a little searching and could not find an answer. Basically, to simplify the question: When is it legal to record interstate calls without giving notice, when the recording party is in a one-party
2009 Mar 01
1
projecting GIS coordinates for analysis with spatstat package
I am working on creating an R package for doing fire department analysis and am trying to create a function that can display emergency incident densities. The following code sort of does the trick, but I need a display that shows the number of incidents per square mile. I believe the code below shows incidents per square unit (in this case, degrees lat/long). To solve this problem, I believe
2006 Jul 18
1
dtrace: failed to enable ''prt_all_cmt2.d'': DIF program exceeds maximum program size
I need a bigger DIF. Please advise. rick -- Rickey C. Weisner Software Development and Performance Specialist Sun Microsystems, INC cell phone: 615-308-1147 email: rick.weisner at sun.com
2012 Apr 06
2
Help with gsub function or a similar function
Hey, sorry if this has been addressed before, but I'm really new to R and having trouble with the gsub function. I need a way to make this function exclude certain values from being substituted: ie my data looks something like (15:.0234,10:.0157) and I'm trying to replace the leading 15 with something else - but of course it replaces the second 15 with something else too. If there's a
2010 Sep 08
2
dataframe selection using a multi-value key
I am merging two dataframes using a relational key (incident number and incident year), but not all the records match up. I want to be able to review only the records that cannot be merged for each individual dataframe (essentially trying to select records from one dataframe using a multi-value relational key from the other dataframe). The following code shows what I am trying to do. The final
2012 Aug 20
2
Unable to reference variable created in dataframe
Hello, I have question about referencing a variable that I created in a dataframe, and I am hoping the experts on here can be of assistance. I have a dataset of highway bridges with approximately 10,000 observations. I imported these into R in the form of a dataframe called "Bridges". I am interested in running some basic linear models on a few key variables with the data. Say
2009 Feb 27
7
Memory usage for C++ Application is growing
Hi , I have c++ server application in solaries 10 . Day by day memory usage is growing i try to find memory leaks with MDB and DTRACE and no leaks found. how can we find reason for growing memory , can we know which memory sigment is cause for growing memory usage Thanks in Advance. Rao -- This message posted from opensolaris.org
2007 Apr 24
1
[LLVMdev] LLVM conference
Dear Chris et al, James Weisner and I would like to attend your conference on the 25th. We will have to get up earlier than we tend to so we can make it there from Santa Cruz by 8 AM! See you there! By the way, we reached a major milestone last Friday. We can now turn pretty much anything reasonably simple that can be compiled by LLVM into one giant "virtual" combinatorial
2007 Nov 13
4
sd_max_throttle
Hello, we are using hardware array and its vendor recommends the following setting in /etc/system: set sd:sd_max_throttle = <value> or set ssd:ssd_max_throttle = <value> Is it possible to monitor *somehow* whether the variable becomes sort of bottleneck ? Or how its value influences io traffic ? Regards przemol
2005 Mar 14
1
LCR Question - Keep one trunk free
Hi all, Got an interesting question here. We have 2 incoming ISDN channels (linked to a local phone number that our customers call), and an account with a local IP provider. We use the ISDN for local, 13 calls - 13 is a call who's destination depends on the originating call (no point putting it through the IP provider as it will think we are calling from the wrong city and may not get
2010 Jan 06
2
debugging package
I am trying to debug a package to submit it to CRAN and am getting a bunch of error messages. Most of the errors are because of the Rd files which were automatically populated by the package.skeleton function. I find the section on documentation to be pretty confusion in the R Extensions manual. Any help on getting these errors fixed would be hugely appreciated. Thanks. --Markus * checking for
2010 Feb 08
1
using setMethod or setGeneric to change S4 accessor symbol from @ to $
I created some S4 objects that are essentially data frame objects. The S4 object definitions were necessary to verify data integrity and force a standardized data format. I am, however, finding myself redefining all the typical generic functions so that I can still manipulate my S4 objects as if they were data frames ... I have used setMethod to set methods for "subset",
2018 Mar 02
5
evince
We have some small networks with connectivity to the Internet through firewall routers.? The smallest has one Windows 7 system and three Linux systems including both CentOS 6 and CentOS 7 machines.? The Windows 7 systems have full Adobe packages that are updated regularly and are trouble free. On the Linux systems, evince has been our go to product for viewing and printing .pdf documents.? This
2009 Oct 22
1
how to create a new data type
I am working on a new package to do fire department analysis. I am working with emergency dispatch data from different agencies that all contain the same information but have slightly different formats. Typically the variable names and date-time formats are different. I am getting pretty good at reading in and rearranging the data so that it is essentially in the same format, but it is common
2010 Dec 29
5
Problem with Need For Speed Most Wanted
Hi I have a problem with need for speed or my drivers because when I install the game everything is perfect :) but when i try to to play i can't see the pictures i see only like shadows and like a bigs pixels in the screens, i have ubuntu 10.04 y wine version 1.2 i have the same problem with need for speed carbon and i have 3D aceleration