search for: abc

Displaying 20 results from an estimated 1613 matches for "abc".

2013 Apr 29
2
Adding elements in data.frame subsets and also subtracting an element from the rest elements in data.frame
Dear R forum I have a data.frame as cashflow_df = data.frame(instrument = c("ABC","ABC","ABC","ABC","ABC","ABC","ABC","ABC","ABC","ABC","ABC","ABC","ABC","ABC", "ABC", "PQR", "PQR", "PQR","PQR",&...
2009 Sep 17
2
What is the best way to get a subset of a data.frame?
...onstruct a data.frame 'y' by using x$x and x$y. I think that there might be better ways to do it (because, for example, we can use a_matrix[3:5,] to extract certain rows, where 'a_matrix' is a matrix). Can somebody let know what the best way is? > a=data.frame(x=1:10,y=rep("abc",10),z=rep("xyz",10)) > a x y z 1 1 abc xyz 2 2 abc xyz 3 3 abc xyz 4 4 abc xyz 5 5 abc xyz 6 6 abc xyz 7 7 abc xyz 8 8 abc xyz 9 9 abc xyz 10 10 abc xyz > b=data.frame(x=a$x, y=a$y) > b x y 1 1 abc 2 2 abc 3 3 abc 4 4 abc 5 5 abc 6...
2017 Aug 23
2
rsync got stuck
...imes, prealloc rsync comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute it under certain conditions. See the GNU General Public Licence for details. Both destination and source are Ubuntu 14.04 SOURCE MACHINE ============== $ sudo ps -fe | grep rsync abc 3794 3793 0 01:12 ? 00:00:00 /bin/sh -c flock -xn /tmp/LOCKFILE -c "/usr/bin/rsync --compress --compress-level=9 --bwlimit=512k --recursive --delay-updates --quiet --update --exclude=\"/.*\" /SRC_PATH/ DEST_____IP:/DEST_PATH/" abc 3795 3794 0 01:12 ?...
2020 Feb 04
0
Always Be Conferencing v16e - pure AEL-based dial plan solution
/**************************************************************************** * * * Always Be Conferencing (ABC) * * * * Creator: chris @ Penguin PBX Solutions * * Version: 16e "Elevation Gain Edition" * * Release: 2020...
1999 May 11
1
model.matrix crashes (PR#189)
With 0.64.1 on Intel RH5.2, abc <- list() abc$abc$abc <- matrix(1:20) mt <- terms(~(abc$abc$abc[,1]==64)|(abc$abc$abc[,1]==65)|(abc$abc$abc[,1]==75) |(abc$abc$abc[,1]==84)|(abc$abc$abc[,1]==85)) model.matrix(mt,model.frame(mt)) crashes. With ab$ab$ab, it does not. Apparently, the bug I reported for 0.64.0 has just been...
2012 Jul 18
2
How to have original (name) order after melt and cast command
...3/26/12","3/23/12","3/22/12","3/21/12","3/20/12"), format="%m/%d/%y"), name = as.character(c("xyz","xyz","xyz","xyz","xyz","xyz","xyz","xyz", "xyz","abc", "abc","abc","abc","abc","abc", "abc","abc","abc","lmn","lmn", "lmn","lmn",  "lmn","lmn", "lmn","lmn","lmn")), rate = c(c(...
2018 Jul 19
1
Stopping login via "nologin" parameter
...args = /etc/dovecot/passwd } passdb { driver = passwd-file args = /etc/dovecot/passwd } } In the passwd file, I want to have user account names for SMTP SASL AUTH and IMAP that are NOT e-mail addresses. For example, employee one of ABC corp would have a SMTP SASL AUTH/IMAP account name in the form: abc_company_employeeid (for example: abc_company_03284). The idea behind that is that I do not want someone outside of the company to be able to know the first half of the username and password pair just because they have an employee&...
2019 Apr 25
2
Questions/suggestions about new staged installation
...ce packages in action. In one terminal I'm monitoring the create/delete/move events of the installation library with: ? inotifywait -m --timefmt '%F %T' --format '%T -- %w %e %f' -e create -e delete -e move path/to/R/library/ While in another terminal I install CRAN package abc with: ? R CMD INSTALL abc_2.1.tar.gz All deps are already installed. ## With R 3.5 When installing abc the first time with R 3.5 inotifywait reports the following events: 2019-04-24 16:57:42 -- /home/hpages/R/R-3.5.r75051/library/ CREATE,ISDIR 00LOCK-abc 2019-04-24 16:57:42 -- /home/hpages/...
2000 Mar 08
2
possible BUG with as.data.frame() and/or [.data.frame
Here is a possible BUG with as.data.frame() and/or [.data.frame which broke Michael Lapsleys RODBC-Code. Can anyone confirm it is a bug or a 'feature' of the prototype? tablename <- "abc" a <- as.data.frame(cbind("abc", 1:3)) b <- as.data.frame(cbind(tablename, 1:3)) # ok > a V1 V2 1 abc 1 2 abc 2 3 abc 3 # missing column name > b tablename 1 abc 1 2 abc 2 3 abc 3 # subsetting ok > b[1,1] [1] abc Levels: abc # subsetting...
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 var1 var2 1    XYZ   20 1001 2    XYZ   14  250 3    XYZ   89  456 4    XYZ   81  740 5 ...
2008 Mar 20
3
Break up a data frame
Hi R users, I have a dataframe in the below format xyz 01/03/2007 15.25 USD xyz 01/04/2007 15.32 USD xyz 01/02/2008 23.22 USD abc 01/03/2007 45.2 EUR abc 01/04/2007 45.00 EUR abc 01/02/2008 68.33 EUR I want to change the above data into the below format xyz 01/03/2007 15.25...
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] t...
2004 Jan 31
3
Naming difference in cbind between S-Plus (PR#6515)
Naming difference in cbind between S-Plus and R. I think R is wrong. abc <- data.frame(y=1:4, x=rnorm(4)) abc.lm <- lm(y ~ x, data=abc) predict.lm(abc.lm, type="terms") ## this is where R got the name "x" abc <- cbind(abc, d=abc$y - predict.lm(abc.lm, type="terms")) abc R gives > abc y x x 1 1 -1.33925477 1...
2008 Feb 25
7
kernel: martian
Hi, I have a setup problem with Shorewall 4.0.6, which I can''t figure out why it is not working: I want to install a fireall with 2 extra interfaces : - My serv ("dmz") zone is a /28 subnet behind eth1, with a small number of SUN servers (IPs between ABC.DEF.75.1 and .13), one of which is a DHCP server for the 75 subnet. - The loc zone are PCs in the 75 subnet behind eth2 with IPs between ABC.DEF.75.17 and .253 - The fw zone is the firewall itself (SuSE 10.2) (eth0) The setup of the network cards is: eth0 eth1 (for zone...
2008 Mar 10
2
source() behavior I don't understand
temp.ttt <- "ttt <- 1\nttt" conn.ttt <- textConnection(temp.ttt) source(conn.ttt, echo=TRUE) ## name of variable is echoed close(conn.ttt) cat(file="c:/temp/temp.R", temp.ttt) ## name of variable not echoed source("c:/temp/temp.R", echo=TRUE) temp.abc <- "abc <- 1\nabc" conn.abc <- textConnection(temp.abc) source(conn.abc, echo=TRUE) ## name of variable is echoed close(conn.abc) cat(file="c:/temp/temp.R", temp.abc) ## name of variable is echoed source("c:/temp/temp.R", echo=TRUE) The behavior I don'...
2019 Apr 25
1
Questions/suggestions about new staged installation
...oring the create/delete/move events of the installation library >> with: >> >> ? ? inotifywait -m --timefmt '%F %T' --format '%T -- %w %e %f' -e create >> -e delete -e move path/to/R/library/ >> >> While in another terminal I install CRAN package abc with: >> >> ? ? R CMD INSTALL abc_2.1.tar.gz >> >> All deps are already installed. >> >> ## With R 3.5 >> >> When installing abc the first time with R 3.5 inotifywait reports the >> following events: >> >> 2019-04-24 16:57:42 -- /hom...
2009 May 29
1
frequence of patterns in a vector
Dear R users, Suppose I have a vector that consists of characters like ABC, A02, RCA, etc., and there are about 700 of possible characters. For example, x <- c("ABC", "ABC", "ABC", "A02", "ABC", "RCA", "ABC", "ABC") I'd like to get a frequency matrix that looks something like this: ABC...
2012 Apr 10
7
How to remove $ (Dollar sign) from string
How do I remove a "$" character from a string sub() and gsub() with "$" or "\$" as pattern do not work. > sub("$","","ABC$DEF") [1] "ABC$DEF" > sub("\$","","ABC$DEF") Error: '\$' is an unrecognized escape in character string starting "\$" > sub(\$,"","ABC$DEF") Error: unexpected input in "sub(\" Thanks -- Nevil Amos Mo...
2012 May 30
3
Separate Array Variable Content
Hi, I am new in R, i have a matrix like this MyMatrix <- *ABC PQR XYZ* 10 20 30 40 50 60 70 80 90 And, i have an array containing some conditions like this, MyArray <- c("*ABC*>50","*PQR*<50","*ABC*<30 &* XYZ*<40") "ABC>50" "PQR<50" &quot...
2005 Aug 29
2
how to mirror only selected directories?
Hi, I've tried various combinations of --exclude and --include, but I can't quite get it. What I'd like to do is only mirror certain directories in a tree. For example, say a directory tree starting at /x contained under it several directories named "abc". I want to mirror only the "abc" directories and what's under them and nothing else. /x/abcdef/456 /x/y/z /x/y/abc/123 /x/z/123 /x/z/abc/456 If the above represents the 5 files under /x, then I'd like to rsync to only mirror the files under "abc" folders, namely...