Displaying 20 results from an estimated 24 matches for "b05".
Did you mean:
05
2017 Dec 13
3
match and new columns
Hi all,
I have a data frame
tdat <- read.table(textConnection("A B C Y
A12 B03 C04 0.70
A23 B05 C06 0.05
A14 B06 C07 1.20
A25 A23 A12 3.51
A16 A25 A14 2,16"),header = TRUE)
I want match tdat$B with tdat$A and populate the column values of tdat$A
( col A and Col B) in the newly created columns (col D and col E). please
find my attempt and the desired output below
Desired output
A B...
2017 Dec 14
1
match and new columns
Hi Bill,
I put stringsAsFactors = FALSE
still did not work.
tdat <- read.table(textConnection("A B C Y
A12 B03 C04 0.70
A23 B05 C06 0.05
A14 B06 C07 1.20
A25 A23 A12 3.51
A16 A25 A14 2,16"),header = TRUE ,stringsAsFactors = FALSE)
tdat$D <- 0
tdat$E <- 0
tdat$D <- (ifelse(tdat$B %in% tdat$A, tdat$A[tdat$B], 0))
tdat$E <- (ifelse(tdat$B %in% tdat$A, tdat$A[tdat$C], 0))
tdat
I got this,
A B C Y D...
2017 Dec 13
2
match and new columns
Thank you Rui,
I did not get the desired result. Here is the output from your script
A B C Y D E
1 A12 B03 C04 0.70 0 0
2 A23 B05 C06 0.05 0 0
3 A14 B06 C07 1.20 0 0
4 A25 A23 A12 3.51 1 1
5 A16 A25 A14 2,16 4 4
On Wed, Dec 13, 2017 at 4:36 PM, Rui Barradas <ruipbarradas at sapo.pt> wrote:
> Hello,
>
> Here is one way.
>
> tdat$D <- ifelse(tdat$B %in% tdat$A, tdat$A[tdat$B], 0)
> tdat$E <- ife...
2017 Dec 14
0
match and new columns
...r way here.
Bill Dunlap
TIBCO Software
wdunlap tibco.com
On Wed, Dec 13, 2017 at 3:02 PM, Val <valkremk at gmail.com> wrote:
> Thank you Rui,
> I did not get the desired result. Here is the output from your script
>
> A B C Y D E
> 1 A12 B03 C04 0.70 0 0
> 2 A23 B05 C06 0.05 0 0
> 3 A14 B06 C07 1.20 0 0
> 4 A25 A23 A12 3.51 1 1
> 5 A16 A25 A14 2,16 4 4
>
>
> On Wed, Dec 13, 2017 at 4:36 PM, Rui Barradas <ruipbarradas at sapo.pt>
> wrote:
>
> > Hello,
> >
> > Here is one way.
> >
> > tdat$D <- ifels...
2017 Dec 13
0
match and new columns
...se(tdat$B %in% tdat$A, tdat$A[tdat$B], 0)
tdat$E <- ifelse(tdat$B %in% tdat$A, tdat$A[tdat$C], 0)
Hope this helps,
Rui Barradas
On 12/13/2017 9:36 PM, Val wrote:
> Hi all,
>
> I have a data frame
> tdat <- read.table(textConnection("A B C Y
> A12 B03 C04 0.70
> A23 B05 C06 0.05
> A14 B06 C07 1.20
> A25 A23 A12 3.51
> A16 A25 A14 2,16"),header = TRUE)
>
> I want match tdat$B with tdat$A and populate the column values of tdat$A
> ( col A and Col B) in the newly created columns (col D and col E). please
> find my attempt and the desir...
2005 Aug 12
8
Java Problems
...est.java:20)
at FillTest.main(FillTest.java:11)
iteration 1
iteration 100001
iteration 1200001
iteration 1300001
#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
# SIGSEGV (0xb) at pc=0x439437dd, pid=20786, tid=16384
#
# Java VM: Java HotSpot(TM) Client VM (1.5.0_04-b05 mixed mode, sharing)
# Problematic frame:
# J java.awt.image.ColorModel.<init>(I[ILjava/awt/color/ColorSpace;ZZII)V
#
# An error report file with more information is saved as hs_err_pid20786.log
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugre...
2017 Jan 03
2
shadow_copy and glusterfs not working
...ed rpc message (RPC XID: 0x4a Program: GlusterFS
3.3, ProgVers: 330, Proc: 18) from rpc-transpo
rt (gv1-client-1)
[2017-01-03 13:55:14.757347] D [MSGID: 0]
[client-rpc-fops.c:1095:client3_3_getxattr_cbk] 0-gv1-client-2: remote
operation failed: No data available. Path: /win-share/. (0dafa3a2-5928-4
b05-8cb2-bd90ac84d7c4). Key: security.NTACL
[2017-01-03 13:55:14.757355] D [MSGID: 0]
[client-rpc-fops.c:1095:client3_3_getxattr_cbk] 0-gv1-client-1: remote
operation failed: No data available. Path: /win-share/. (0dafa3a2-5928-4
b05-8cb2-bd90ac84d7c4). Key: security.NTACL
[2017-01-03 13:55:14.757378]...
2009 May 15
13
How to calculate java method timestamp?
Hi,
I need help in calculating Java method time-stamp in following fashion.
Consider following method example.
long method3(long stop) {
try {
Thread.sleep(1500);
} catch (Exception e) {
}
//////////////////// real CPU intensive operation ///////////////////////////
for (int i = 1; i < stop; i++) {
stop = stop * stop * i;
};
2004 May 11
1
OpenOffice.org with Java Enabled
I am currently building the latest SRPM of openoffice.org with java
enabled (using Sun Java SDK version j2dk1.4.2_04-b05). If it builds, is
anyone else interested in having the binary and source RPMS?
If there is an interest, maybe we can get it into the contrib section of
the CentOS mirrors.
After it builds, I can verify the requirements ... but I think the only
extra thing required will be the latest Sun Java Ru...
2008 Jan 06
1
tomcat still sees jvm version 1.4.2 in Cent OS 5
...7 12:16:07
Server number: 5.5.20.0
OS Name: Linux
OS Version: 2.6.18-8.1.15.el5
Architecture: i386
JVM Version: 1.4.2
JVM Vendor: Free Software Foundation, Inc.
# java -version
java version "1.5.0_13"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_13-b05)
Java HotSpot(TM) Client VM (build 1.5.0_13-b05, mixed mode)
# alternatives --config java
There are 2 programs which provide 'java'.
Selection Command
-----------------------------------------------
1 /usr/lib/jvm/jre-1.4.2-gcj/bin/java
*+ 2 /usr/lib/jvm/jre-1...
2012 May 21
2
Tomcat5 with Oracle/Sun jdk on CentOS 5.8
...er list.
I'm running tomcat5 on CentOS 5.8. I'm trying to setup Oracle/Sun java
rather than icedtea. I've installed the latest jdk 1.7 and setup
alternatives on centos for java and javac:
# java -version
java version "1.7.0_03"
Java(TM) SE Runtime Environment (build 1.7.0_03-b05)
Java HotSpot(TM) 64-Bit Server VM (build 22.1-b02, mixed mode)
I've also set /etc/tomcat5/tomcat5.conf to point JAVA_HOME to this jdk.
When I try to start tomcat5 I get:
Starting tomcat5: /usr/bin/rebuild-jar-repository: error: Could not find jdbc-stdext Java extension for this JVM
/usr/bi...
2005 Oct 17
1
Tomcat 4 on Centos 4.1
.../java/local/j2re/bin:${PATH}
fi
export JAVA_HOME=/usr/local/java/j2sdk
export
CLASSPATH=.:/usr/local/java/j2sdk/lib/tools.jar:/usr/local/java/j2re/lib/rt.
jar
-----END CUT-----
exit
su -
java -version
java version "1.4.2_09"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_09-b05)
Java HotSpot(TM) Client VM (build 1.4.2_09-b05, mixed mode)
cd /downloads
groupadd -g 220 tomcat
useradd -u 220 -g tomcat -c "Tomcat" -r -d /usr/local/tomcat -s
"/sbin/nologin" tomcat
wget
http://mirrors.isc.org/pub/apache/jakarta/tomcat-4/v4.1.31/bin/jakarta-tomca
t-4.1.31.tar...
2017 Jan 04
0
shadow_copy and glusterfs not working
...Program: GlusterFS
> 3.3, ProgVers: 330, Proc: 18) from rpc-transpo
> rt (gv1-client-1)
> [2017-01-03 13:55:14.757347] D [MSGID: 0]
> [client-rpc-fops.c:1095:client3_3_getxattr_cbk] 0-gv1-client-2: remote
> operation failed: No data available. Path: /win-share/. (0dafa3a2-5928-4
> b05-8cb2-bd90ac84d7c4). Key: security.NTACL
> [2017-01-03 13:55:14.757355] D [MSGID: 0]
> [client-rpc-fops.c:1095:client3_3_getxattr_cbk] 0-gv1-client-1: remote
> operation failed: No data available. Path: /win-share/. (0dafa3a2-5928-4
> b05-8cb2-bd90ac84d7c4). Key: security.NTACL
> [201...
2013 May 24
0
Problem After adding Bricks
...94e2
Status: Started
Number of Bricks: 11 x 2 = 22
Transport-type: tcp
Bricks:
Brick1: fs01:/bricks/b01
Brick2: fs02:/bricks/b01
Brick3: fs01:/bricks/b02
Brick4: fs02:/bricks/b02
Brick5: fs01:/bricks/b03
Brick6: fs02:/bricks/b03
Brick7: fs01:/bricks/b04
Brick8: fs02:/bricks/b04
Brick9: fs01:/bricks/b05
Brick10: fs02:/bricks/b05
Brick11: fs01:/bricks/b06
Brick12: fs02:/bricks/b06
Brick13: fs01:/bricks/b07
Brick14: fs02:/bricks/b07
Brick15: fs01:/bricks/b08
Brick16: fs02:/bricks/b08
Brick17: fs01:/bricks/b09
Brick18: fs02:/bricks/b09
Brick19: fs01:/bricks/b10
Brick20: fs02:/bricks/b10
Brick21: fs01...
2006 Mar 16
0
Re: Can dtrace agent of JDK be used in IBM Websphere?
...Seems IBM bundled JDK can not detect agent options, like below:
If use Sun JDK 1.5, no problem:
/usr/jdk/jdk1.5.0_06/bin/java *-Xrundvmti:all* -version
*Picked up JAVA_TOOL_OPTIONS: -Xrundvmti:all*
java version "1.5.0_06"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05)
Java HotSpot(TM) Client VM (build 1.5.0_06-b05, mixed mode)
If use IBM Websphere bundled JDK 1.4, can''t detect the agent options:
/opt/IBM-2/WebSphere/AppServer/java/bin/java *-Xrundvmpi:all* -version
java version "1.4.2_05"
Java(TM) 2 Runtime Environment, Standard Edition (IB...
2008 Feb 12
1
UFS snapshot weirdness
...drwxr-xr-x 2 root wheel 512 Jan 29 13:00 .ssh
-rw-r--r-- 1 root wheel 948424 Feb 11 13:14 bsd-jdk16-
patches-3.tar.bz2
-rw-r--r-- 1 root wheel 46938731 Feb 11 16:23 diablo-jdk-
freebsd6.amd64.1.5.0.07.01.tbz
-rw-r--r-- 1 root wheel 2116124 Feb 11 13:11 jdk-6u3-fcs-bin-b05-
jrl-24_sep_2007.jar
-rw-r--r-- 1 root wheel 8608204 Feb 11 13:11 jdk-6u3-fcs-
mozilla_headers-b05-unix-24_sep_2007.jar
-rw-r--r-- 1 root wheel 116791442 Feb 11 13:15 jdk-6u3-fcs-src-b05-
jrl-24_sep_2007.jar
The snapshot was made just now, long after those additional files were
plac...
2006 Aug 06
6
Official Java
What is the official method to install Java on Centos? I searched, but
could find no mention of Java on the Web site.
Ted Miller
Centos 4.3 x86_64
Indiana
2005 Mar 24
1
Books on survival analysis and R/S
I will be giving a course in survival analysis using R (of course!) for
people who know nothing about the subject (including R), but know basic
statistics. I'm looking for a suitable course book. Therneau & Grambsch
(2000) is an excellent book, but too much for this course. I need somthing
more elementary.
I have a vague memory saying that such books exist, but I cannot find any
for the
2008 Dec 28
3
Complete newby - Hardy/Wine/Smart Ideas hangs on start
...WineEngCreateFontInstance Untranslated charset 255
** At this point the start stalls and progresses no further - following control-C **
An unexpected error has been detected by HotSpot Virtual Machine:
Internal Error (0xc000013a), pid=8, tid=9
Java VM: Java HotSpot(TM) Client VM (1.5.0_13-b05 mixed mode)
Problematic frame:
C 0xb7f2640e
fixme:msvcrt:MSVCRT__sopen : pmode 0x01b6 ignored
An error report file with more information is saved as hs_err_pid8.log
If you would like to submit a bug report, please visit:
http://java.sun.com/webapps/bugreport/crash.jsp
david at playroom:~...
2005 Aug 18
1
Question on BDC secrets.tdb file
...ork in a Samba3 /LDAP
Enviornment and have one straightforward question.
Should the secrets.tdb file on the BDC contain an entry with the name of
the BDC , e.g. where BACKUP is the name of the BDC ?.
{
key = "SECRETS/SID/BACKUP"
data =
"\01\04\00\00\00\00\00\05\15\00\00\00\CE/\8B\B05\AF\A5\D4h\C0\DB\04\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00"
}
All my other domain member servers contain an entry similar to this, but
not the BDC. This is why i think winbind is failing.
Thanks,
--...