Displaying 20 results from an estimated 226 matches for "j2".
2010 Mar 05
3
How to match vector with a list ?
Dear list,
I have a vector of characters and a list of two named elements :
i <- c("a","a","b","b","b","c","c","d")
j <- list(j1 = c("a","c"), j2 = c("b","d"))
I'm looking for a fast way to obtain a vector with names, as follows :
[1] "j1" "j1" "j2" "j2" "j2" "j1" "j1" "j2"
I used :
match <- lapply(j, function (x) {which(i %in% x)})...
2014 Apr 03
0
CentOS-announce Digest, Vol 110, Issue 2
...uest at centos.org
You can reach the person managing the list at
centos-announce-owner at centos.org
When replying, please edit your Subject line so it is more specific
than "Re: Contents of CentOS-announce digest..."
Today's Topics:
1. CESA-2014:0348 Important CentOS 5 xalan-j2 Update (Johnny Hughes)
2. CESA-2014:0348 Important CentOS 6 xalan-j2 Update (Johnny Hughes)
----------------------------------------------------------------------
Message: 1
Date: Wed, 2 Apr 2014 12:17:13 +0000
From: Johnny Hughes <johnny at centos.org>
Subject: [CentOS-announce] CESA-2...
2014 Sep 30
0
CESA-2014:1319 Moderate CentOS 6 xerces-j2 Security Update
...ity Advisory 2014:1319 Moderate
Upstream details at : https://rhn.redhat.com/errata/RHSA-2014-1319.html
The following updated files have been uploaded and are currently
syncing to the mirrors: ( sha256sum Filename )
i386:
2c2635bab62b2ffa381649ce2643ba6a0e0edba62c5dcf07481f9de71eebdd68 xerces-j2-2.7.1-12.7.el6_5.i686.rpm
9939e9f3ae7cdc5e0079a32c81daacc5dff937b41d3c4b1fe80f8ccd08e6ea86 xerces-j2-demo-2.7.1-12.7.el6_5.i686.rpm
17da19efcaa5d9545335145fed40416c8c12f4cb1ef98c43334bd1cf2b5a8808 xerces-j2-javadoc-apis-2.7.1-12.7.el6_5.i686.rpm
417143647c45a3f1932c9421ed148e2203cae87560d6e9a9321...
2014 Apr 02
0
CESA-2014:0348 Important CentOS 5 xalan-j2 Update
...ity Advisory 2014:0348 Important
Upstream details at : https://rhn.redhat.com/errata/RHSA-2014-0348.html
The following updated files have been uploaded and are currently
syncing to the mirrors: ( sha256sum Filename )
i386:
0a93cd521aa9197ef5e08abbc130eddae7b0d7d7bdc8de2e3e417e0ceb72789b xalan-j2-2.7.0-6jpp.2.i386.rpm
99f6ad2ccf7ca1ff180360510279a1a274c3af0bbe8f46f51d453f1b5636bfff xalan-j2-demo-2.7.0-6jpp.2.i386.rpm
e1abce5dcc6bb72fca6c482e48fd7aa8ddfaacec946ce538ead8044057621003 xalan-j2-javadoc-2.7.0-6jpp.2.i386.rpm
d6d235e7331ed50701061db86eb5636435f791d951fd2ca0f5da40ab19fc114b xala...
2014 Apr 02
0
CESA-2014:0348 Important CentOS 6 xalan-j2 Update
...ity Advisory 2014:0348 Important
Upstream details at : https://rhn.redhat.com/errata/RHSA-2014-0348.html
The following updated files have been uploaded and are currently
syncing to the mirrors: ( sha256sum Filename )
i386:
4791c5a062d2fafdbc3281552de6770ffcfb2e678913af78a76e8160e7398343 xalan-j2-2.7.0-9.9.el6_5.noarch.rpm
315a5642f01614a5ea9ad520bab9969169c35a5d07622f99003d97aa00c455ee xalan-j2-demo-2.7.0-9.9.el6_5.noarch.rpm
876b3aa82be8b979368b06121e038e01bbb768e91dbf65e4cbd84475b17fb94f xalan-j2-javadoc-2.7.0-9.9.el6_5.noarch.rpm
5c87ed68e12853a34ebb9cfbe4910e1ac5b42092a467fab7980e97a...
2006 Mar 09
1
HCLUST subroutine question -- FORTRAN DO loops
...of NNs
DMIN=INF
DO 600 I=1,N-1
IF (.NOT.FLAG(I)) GOTO 600
IF (DISNN(I).GE.DMIN) GOTO 600
DMIN=DISNN(I)
IM=I
JM=NN(I)
600 CONTINUE
NCL=NCL-1
C
C This allows an agglomeration to be carried out.
C
I2=MIN0(IM,JM)
J2=MAX0(IM,JM)
IA(N-NCL)=I2
IB(N-NCL)=J2
CRIT(N-NCL)=DMIN
FLAG(J2)=.FALSE.
C
C Update dissimilarities from new cluster.
C
DMIN=INF
DO 50 K=1,N
IF (.NOT.FLAG(K)) GOTO 50
IF (K.EQ.I2) GOTO 50
IF (I2.LT.K) THEN
IND...
2003 May 06
3
FW: Sum by categorical variable
Another easy(/stupid) question:
with the following command
j2<-xf1[1:10,"V4"]
I have
> j2
[1] CHROMOLI LINEAGERMAI RINALDI GIUNTIMA
AUTOSTELLA
[6] CAIZZONE CENTRO B PEL E C SNC CONSORZI MAN NORD
PDM
1304 Levels: MACHIAVELLI Snc MENARINI MANUFACTURERS LO...
2004 Oct 15
2
combine many .csv files into a single file/data frame
Dear R users,
I have a few hundred .csv files which I need to put
together (full outer joins on a common variable) to do a
factor analysis. Each file may contain anywhere from a few
hundred to a few thousand rows. What would be the most
efficient way to do this in R? Please include some sample
code if applicable.
Thank you,
b.
2004 Nov 04
3
keep dimension of a sub matrix
Hi,
is there any way to keep a sub matrix dimension?
exemple :
i1<-1; i2<-1
j1<-2; j2<-3;
ret <-matrix(1,4,4)[i1:i2,j1:j2] ;
dim(ret) is NULL because the submatrix single col or single row is coerce to a vector automaticaly.
How can i bypass this cast : submatrix->vector ???????
Thank you.
---------------------------------
[[alternative HTML version de...
2014 Sep 30
0
CESA-2014:1319 Moderate CentOS 7 xerces-j2 Security Update
...y Advisory 2014:1319 Moderate
Upstream details at : https://rhn.redhat.com/errata/RHSA-2014-1319.html
The following updated files have been uploaded and are currently
syncing to the mirrors: ( sha256sum Filename )
x86_64:
505cdc5b9ec209c00923a4ce86738f063ff7a94a3b1a0a5ff682c36b45adb073 xerces-j2-2.11.0-17.el7_0.noarch.rpm
bb05caaa1407ef3a20d4d1224de4e6650872ae775bc119559ef35dfe549aa42c xerces-j2-demo-2.11.0-17.el7_0.noarch.rpm
c3c04d81040aeec72ee0bcd8155cd3a9d81608fbf157233af91c6a3b6263d2df xerces-j2-javadoc-2.11.0-17.el7_0.noarch.rpm
Source:
8efbdd997215b7bef73be6113b016ff39c081985e846...
2016 Sep 06
10
Recommended computer resources to build llvm
I've got a i7 with 12 logical cores and 16GB of RAM I successfully
built RELEASE_390/final but for the last 100 or so files I'd to use
"ninja -j2" so as not to keep from swapping in the best case and and
in the worst case the build kills itself without completing because
apparently its run out of memory.
For the first 3200 files or so it was doing just fine with "ninja"
which is probably "ninja -j12" but as I said f...
2009 Dec 17
0
CentOS-announce Digest, Vol 58, Issue 4
...ingh)
4. CESA-2009:1620 Moderate CentOS 5 x86_64 bind Update
(Karanbir Singh)
5. CESA-2009:1619 Moderate CentOS 5 i386 dstat Update
(Karanbir Singh)
6. CESA-2009:1619 Moderate CentOS 5 x86_64 dstat Update
(Karanbir Singh)
7. CESA-2009:1615 Moderate CentOS 5 i386 xerces-j2 Update
(Karanbir Singh)
8. CESA-2009:1615 Moderate CentOS 5 x86_64 xerces-j2 Update
(Karanbir Singh)
9. CEBA-2009:1621 CentOS 5 i386 screen Update (Karanbir Singh)
10. CEBA-2009:1621 CentOS 5 x86_64 screen Update (Karanbir Singh)
11. CEBA-2009:1634 CentOS 5 i386 glibc Updat...
2004 Feb 12
4
Segfaults in Debian?
...c8eb8]
#13 /usr/sbin/smbd(main+0x4bc) [0x8228cfc]
#14 /lib/libc.so.6(__libc_start_main+0xc6) [0x401c7da6]
#15 /usr/sbin/smbd(ldap_msgfree+0x8d) [0x8077121]
[2004/02/12 20:46:33, 1] smbd/service.c:make_connection_snum(705)
fozzie (192.168.0.120) connect to service silo-2 initially as user j2
(uid=1000, gid=1000) (pid 12283)
[2004/02/12 20:46:42, 1] smbd/service.c:make_connection_snum(705)
fozzie (192.168.0.120) connect to service j2 initially as user j2
(uid=1000, gid=1000) (pid 12283)
[2004/02/12 20:46:43, 1] smbd/service.c:make_connection_snum(705)
fozzie (192.168.0.120) connect...
2016 Sep 17
7
Benchmark LNT weird thread behaviour
...Chris,
You guys have done this before, so I'm guessing you can help me
understand what's going on.
If my buildbot config is:
jobs=2,
nt_flags=['--cflag', '-mcpu=cortex-a15', '--use-perf', '--threads=1',
'--build-threads=4']
It uses -j4 for build, -j2 for running the tests:
http://buildmaster.tcwglab.linaro.org/builders/clang-native-arm-lnt-perf/builds/35/steps/test-suite/logs/stdio
If my buildbot config is:
jobs=4,
nt_flags=['--cflag', '-mcpu=cortex-a15', '--use-perf', '--threads=1',
'--build-threads=4'...
2006 Nov 22
1
how to merge these dataframes
Hi,
Having 3 dataframes with different row numbers, but equal column names
(see below) I want to merge them by Var1 so I've tried:
merge(j1,j2,j3,by="Var1")
merge(j,j1,j2,by=names("Var1"))
But always got the same message:
Erro en fix.by(by.x, x) : 'by' must specify column(s) as numbers, names
or logical
What I'm doing wrong?
Thanks,
Antonio
j1
Var1 Freq
1 1988-01-13 1
2 1988-01-16...
2005 Mar 09
9
Print-to-Fax client
Hi,
Does anyone know of a Print-to-Fax client that works with asterisk &
spandsp? Astfax is a partial solution but that only lets us email the fax
in, we'ld like to set it up so the user can hit the print button and send
the fax (even if all it does is email - transparently to the user - the
fax to astfax).
-------------- next part --------------
An HTML attachment was scrubbed...
2003 May 07
1
levels
Hello,
Thanks to all for the previus answer. I want to be more detailed:
I have a dataset called gm20011231 with 1304 observations (or records).
I want to create a subset with the followin command
j2<-gm20011231[1:10,"V4"]
the levels of "V4" is 1304 and the and the length(j2) is 10.
Do you know how to obtain a j2 with level 10?
Thank you
Fabrizio
---------------------------------------------------------------
Fabrizio De Amicis
IT Department
Generali Information...
2002 Feb 22
3
Cent. Mov. Ave
...hink)
Suppose I want to calculate Centered Moving Averages; i.e.
x[1] <- ( sum(y[1:12]) )/12
x[2] <- ( sum(y[2:13]) )/12
and so on.
Of course, this is easily done through loops. However, I have
been trying to do this more elegantly, but have failed. I have
tried things like
j1 <- 1:109
j2 <- 12:120
x[1:109] <- ( sum( y[j1:j2]) )/12
but it doesn't work. (Surprise!)
R 1.4.0 on windows.
Any ideas would be much appreciated!
Thanks!
Sincerely,
Erin Hodgess
Associate Professor
Department of Computer and Mathematical Sciences
University of Houston - Downtown
1 Main Stree...
2007 Mar 09
1
Applying some equations over all unique combinations of 4 variables
...;- c("h1","h2"))
names(alphahill) <- fnams
betahill <- list(am <- c("b1","b2","b3"), pm<-
c("e1","e2","e3"),
cm <- c("g1","g2"), mm <- c("j1", "j2"))
names(betahill) <- mnams
hilltop <- list(af <- data.frame(a1 <- 1:4 , a2 <-
2:5, a3 <- 3:6),
pf <- data.frame(d1 <- 4:1, d2 <- 5:2,
d3 <- 6:3),
cf <- data.frame(f1 <- 1:4, f2 <-
3:6),
mf <- data.frame...
2006 Oct 03
2
strverscmp, scandir, alphasort and versionsort
...long shift10(unsigned long v, int n)
{
while (n--)
v *= 10;
return v;
}
/* strverscmp */
int strverscmp(const char *s1, const char *s2)
{
int i;
unsigned long v1, v2; /* numerical value */
int l1, l2, /* length of digit strings */
z1, z2, /* length of leading zeroes string */
j1, j2, /* pointers to the beginning of the digit strings */
k1, k2; /* pointers to after the digit strings */
for (i = 0; s1[i] && s1[i] == s2[i]; i++);
if (s1[i] == s2[i])
return 0;
/* s1[i] != s2[i] */
/* s1[i] or s2[i] not in a digit string, normal cmp */
if ((!isdigit(s1[i])...