similar to: match() function with a little enhancement

Displaying 20 results from an estimated 200 matches similar to: "match() function with a little enhancement"

2010 Jun 09
2
Change the name of one column ONLY
Hi all, I have a very simple problem that I cannot seem to find the answer to. Consider the following toy dataset: x <- read.table(textConnection("V1 apples bananas cherries indv.1 7 8 4 3 indv.2 7 7 4 9"), header = TRUE) How would I change the column name of ONLY the first column, not the others? Surely I should not have to re-specify the names of ALL the columns -- e.g.,
2010 Jun 22
1
storing DTMF inputs
Thanks a lot Danny. I have done the part of playing a file by creating a context in my dialplan. Now I am puzzled as i wish to store the DTMF inputs done by the users who is listening to the playback. I found there are ways, but some specific way by which it is not stored in file but conveyed directly to the asterisk server. When the call landed up on the softphone, i pressed keys the
2014 Dec 12
2
Fwd: Fwd: Fwd: Fwd: Fwd: Fwd: Fwd: Fwd: 26.
Anna Crepes: Traubenzucker + Feldsalat spezielles Dressing (bringt selbst mit?) -------- Weitergeleitete Nachricht -------- Betreff: Fwd: Fwd: Fwd: Fwd: Fwd: Fwd: Fwd: 26. Datum: Thu, 11 Dec 2014 15:34:39 +0100 Von: Markus <universe at truemetal.org> An: universe at truemetal.org Geschenke Moritz: dunkle Schokolade. Geschenke Anna: normale Schokolade. -------- Weitergeleitete
2017 Jan 11
2
Firefox Issue
Hello Paul, On Tue, 2017-01-10 at 12:00 +0000, Always Learning wrote: > (4) The 'extra' Apache Virtual Host file contains .... > > <VirtualHost 1.2.3.4:80 dummy.domain.com:80> Why do you add dummy.domain.com:80 here as the match is done on the ServerName? > DocumentRoot /prod/web/domains/dummy/ > ServerName 1.2.3.4 > CustomLog ............ >
2005 Jul 19
2
Regression lines for differently-sized groups on the same plot
Hi there, I've looked through the very helpful advice about adding fitted lines to plots in the r-help archive, and can't find a post where someone has offered a solution for my specific problem. I need to plot logistic regression fits from three differently-sized data subsets on a plot of the entire dataset. A description and code are below: I have an unbalanced dataset
2004 Feb 09
5
simple question on picking out some rows of a matrix/data frame
Hi, I have a simple question about matrix/data frame manipulation. I have a data frame that looks a something like this X Y Z 1 0 "apples" -1 -1 "oranges" ... 0 -1 "bananas" and I'd like to pull out all the rows for which X and Y are (un)equal into a submatrix. How can I do that? Many thanks, Roger Levy
2007 Oct 26
2
function in R that's equivalent to SQL's "IN"
Hi all, I'm trying to find something like the "==" operator that will work on vectors or something equivalent to SQL's "IN" function. For e.g., if I have: x <- c(1,2,3,4,5) y <- c("apples", "oranges", "grapes", "bananas", "pears") z <- data.frame (x,y) w <- c(2,4,5) I want R to return the values
2006 Feb 23
11
Sessions question
Hi, I''m a little confused about sessions. I have two objects, object "Apple" and object "Banana". These two objects have an N:M relationship. What I am doing is listing All of the Banana objects that are associated with a single Apple, then below that listing all of the Banana objects not associated with that same Apple. The user is then allowed to change the
2013 Aug 16
4
Restoring deleted files.
Hi, is it possible to Restore files deleted with " rm rf " from ext4 or ext3 filesystem by mistake. Regards Ahmad
2009 May 19
2
create string of comma-separated content of vector
Hi, how do I create a string of the comma-separated content of a vector? I've got the vector i with several numeric values as content: >str(i) num 99 and want to create a SQL statement to look like the following where the part '(2, 4, 6, 7)' should be the content of the vector i: select * from [biomass_data$] where site_no in (2, 4, 6, 7) Here my approach (which doesn't
2009 Apr 07
2
xyplot - label one line
Hi All, I have a panel xyplot with 2 lines in each panel. I'd like to label one line only but don't know how to do this. The code below labels both lines. Any ideas how I could change it to show the y-values of only one of the lines? Many thanks! xyplot(apples + bananas ~ year | category, data=fruit, as.table=TRUE, par.strip.text=list(cex=1.2,font="bold"), par.settings =
2013 May 05
2
unprivileged users rebooting at console
I'm curious why any user logged in at the console can issue the 'reboot' command and reboot the system.? I've tested/verified this to work, and read some older posts about this.? If it were a bug, I suspect it would be fixed by now. Also, if a user is logged into the console, and then logs in via ssh from another system, that user can also reboot the system from that ssh
2009 May 19
3
Remove objects names like character String
Hi, how can I use rm() on objects named like: paste("site",i,"_data",sep="") while looping through i? I tried rm(paste("site",i,"_data",sep="")) but I get the error that rm() must contain names or text strings which is confusing me as I thought paste() would create something like that...? Thanks, Katharina -- Time flies
2011 Feb 18
2
xyplot formula
df=data.frame(country=c("A","A","A","B","B","B"), food=rep(c("Apples","Pears","Bananas"),2), X2000=c(4,5,6,7,6,8), X2001=c(4,5,6,7,6,8), X2002=c(4,5,6,7,6,8), X2003=c(4,5,6,7,6,8)); I have data in the above form trying to get a plot of each fruit over time year conditioned on country and
2007 Jul 04
3
working with matrix
I am new in R and I want to solve this problem; I have a matrix X (with n-rows and p-colums) my problem is to obtain the products of the vectors of rows and print out only the maximum value and identify the row that gives the maximum value. Thanks Oyeyemi, G.M --------------------------------- Don't pick lemons. [[alternative HTML version deleted]]
2017 Oct 01
2
load with alignment of 1 crashes from being unaligned
Below is attached a full IR module that can reproduce this issue, but the part to notice is this: %Foo96Bits = type <{ i24, i24, i24, i24 }> define internal fastcc i16 @main.0.1() unnamed_addr #2 !dbg !113 { Entry: %value = alloca %Foo96Bits, align 1 %b = alloca i24, align 4 %0 = bitcast %Foo96Bits* %value to i8*, !dbg !129 call void @llvm.memcpy.p0i8.p0i8.i64(i8* %0, i8* bitcast
2012 Dec 04
1
iptables port forwarding
I have a simple requirement/test I'm trying to perform, but having difficulty. I have a system with 2 interfaces, BoxA: eth0? 172.26.50.102 eth1? 192.101.77.62 My goal is to have a tcp port built on BoxA such that hosts on the 192.101.77.0/24 network can reach a port on a different box on the 172.26.0.0/16 network. The target system is 172.26.10.120?? tcp/22 The port I wish to build is
2002 Jul 30
5
Samba running as PDC and BDC
I am in the process of investigating whether it's viable to replace our NT server domain with a linux server domain using SAMBA. The key is if Samba can act as a PDC, with other Samba BDCs in remote locations. Is this possible? ---------------------------------------------- Gabriel Matthews gabriel@cinergycom.com Network Support Cinergy Communications When life hands you
2008 Mar 07
9
question about WINEPREFIX
I wanted to ask to the wine experts something about WINEPREFIX or the crossover bottles... how does the concept of "bottles" compares/differs with the concept of application virtualization (http://en.wikipedia.org/wiki/Application_Virtualization) used by VMware's Thinstall (http://www.thinstall.com/products/virtualization_suite.php) (aside for the .exe container*) and
2012 Aug 28
2
Log viewing and analysis tools
I have a requirement to allow our security officer to regularly view and analyze the logging and auditing results of one of the machines in our lab. He comes from the Microsoft Windows world and is not a *nix trained person. I know I can configure logwatch. I can also create a script containing various 'aureport' runs into a cron job. Any recommendations for a GUI-based tool that would