Displaying 20 results from an estimated 6000 matches similar to: "OpenOffice.org with Java Enabled"
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))
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
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,
2017 Dec 14
0
match and new columns
Use the stringsAsFactors=FALSE argument to read.table when
making your data.frame - factors are getting in your 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
2017 Dec 13
0
match and new columns
Hello,
Here is one way.
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)
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
2005 Aug 12
8
Java Problems
Hi. This post follows on from:
http://lists.xensource.com/archives/html/xen-devel/2005-04/msg00185.html
And is possibly related to the bug referenced here:
http://bugs.sun.com/bugdatabase/view_bug.do;:YfiG?bug_id=4335360
In summary: Java processes are doing odd things.
1) It appears that number values are mysteriously changing. e.g. if you
look at the Hashtable error there is no way the
2004 Aug 30
2
problem with SJava
hello,
I am trying to install SJava on Windows XP as
described on
http://www.omegahat.org/RSJava/:
at the level configure.win:
$rhome/sjava/configure.win returned "argument 'c:/...'
ignored"
When i tried to install like the readme file, it
returned in R
> library(SJava)
using JAVA_HOME = C:\Program Files\Java\j2re1.4.2_04
> .JavaInit()
Error in .JavaInit() :
2004 Apr 16
0
Updated openoffice package fixes security vulnerability in Neon.
There is an update to openoffice for CentOS-3.1
https://rhn.redhat.com/errata/RHSA-2004-160.html refers.
Updated files are :-
updates/i386/RPMS/openoffice.org-1.1.0-15.EL.i386.rpm
updates/i386/RPMS/openoffice.org-i18n-1.1.0-15.EL.i386.rpm
updates/i386/RPMS/openoffice.org-libs-1.1.0-15.EL.i386.rpm
updates/i386/SRPMS/openoffice.org-1.1.0-15.EL.src.rpm
These are available at
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;
};
2017 Jan 03
2
shadow_copy and glusterfs not working
Hello,
we are trying to configure a CTDB-Cluster with Glusterfs. We are using
Samba 4.5 together with gluster 3.9. We set up a lvm2 thin-provisioned
volume to use gluster-snapshots.
Then we configured the first share without using shadow_copy2 and
everything was working fine.
Then we added the shadow_copy2 parameters, when we did a "smbclient" we
got the following message:
root at
2004 Mar 24
2
Updated httpd fixes dos in mod_ssl and some bugfixes
There is an update to httpd and mod_ssl for CentOS-3.1
https://rhn.redhat.com/errata/RHSA-2004-084.html refers.
Updated files are :-
updates/i386/RPMS/httpd-2.0.46-32.ent.centos.1.i386.rpm
updates/i386/RPMS/httpd-devel-2.0.46-32.ent.centos.1.i386.rpm
updates/i386/RPMS/mod_ssl-2.0.46-32.ent.centos.1.i386.rpm
updates/i386/SRPMS/httpd-2.0.46-32.ent.centos.1.src.rpm
These are available at
2005 Sep 12
1
One day left to vote for CentOS
CentOS has been nominated for an award in the Linux User awards.
Please vote for CentOS !!
Voting finishes tomorrow - 13th September.
Please vote at :-
http://www.linuxawards.co.uk/index.php
You will need to vote for all categories otherwise the vote wont count.
Thanks
Lance
--
uklinux.net -
The ISP of choice for the discerning Linux user.
2008 Jan 06
1
tomcat still sees jvm version 1.4.2 in Cent OS 5
i chose to install tomcat during the OS install as well as java....however, since I needed to use a different jvm, i used the method described in http://wiki.centos.org/HowTos/JavaOnCentOS for Sun jdk 1.5.0_13 and it worked fine as I can tell, as using the alternatives --config java command, i see both 1.4.2 and 1.5.0 versions and choosing the 1.5.0 version yields the right version when doing a
2004 May 20
2
CentOS 3.1 update2 packages released
The CentOS 3.1 update2 packages have now been released.
They are available on mirror.centos.org and should be on all mirrors
within a few hours.
To update just run 'yum update'
Please bugzilla any problems.
There was a problem with the pam build in testing not being linked
against the laus library, so the released version is a .c0 so that anyone
who has installed the testing version
2004 Mar 19
1
CentOS 3.1 has now been released
Thanks to all who have tested - CentOS 3.1 has now been released.
....
The release includes all security updates for rhel released by 18th
March.
For now further security announcements will be posted to both the
centos at caosity.org and centos-devel at caosity.org mailing lists.
....
CentOS-3 also now includes the rhel documentation, both on the cds (cd3
/docs) and also on the mirrors in
2004 May 20
1
CentOS-3.1 update2
Unless anyone shouts I intend to push all the update2/testing stuff into
updates for 3.1 later on today - say about 22:00 UTC All the security
related updates have already been released.
I am not convinced that lack of feedback means that there are no problems,
more likely it means that not many people have tested the stuff, but I
have had no serious problems and cant do any more testing.
2012 May 21
2
Tomcat5 with Oracle/Sun jdk on CentOS 5.8
I know this question could be asked on tomcat or possibly other mailing
lists, but I'm hoping I can get some help here instead of joining yet
another 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
2008 Mar 07
2
Problem getting Java Runtime Environment installed into OpenOffice
Hi,
I'm having trouble getting my new install of OpenOffice 2.31 to find my newly installed Java Runtime Environment version jre1.6.0_04 (downloaded from Sun). I tried installing it via Tools>Options>Java (am using OpenOffice Calc to try to set it up). The options dialog box is finding the Free Software Foundation version 1.4.2, but it won't find the new JRE file.
I tried
2005 Oct 17
1
Tomcat 4 on Centos 4.1
I use OpenNMS and this is how I install it. So far it's worked every time
(6 installs). Make sure you open up your IPTables as needed. Let me know
how it goes.
--Todd
--------------
Installing DAG RPM Repository
nano -w /etc/yum.repos.d/dag.repo
[dag]
name=Dag RPM Repository for RHEL
baseURL=http://apt.sw.be/redhat/el$releasever/en/$basearch/dag
gpgcheck=1
enabled=1
rpm --import
2004 Dec 18
3
httpd trademark issue -- here it is!
Hey,
A "powered by RedHat" gif recently appeared on the
bottom of the mirror monitor (mirmon) page:
http://www.advanced-app.com.hk/caosity/
This appeared in place of the "powered by CentOS" gif
that used to be there.
The mirmon page is getting it from the icons directory
under the default html directory.
An Apache update in November put the new gif there in
place of the