Re: [R] library sets: A & EMPTY does not work; gset_intersection(A,EMPTY) works

2010-04-12 Thread Czerminski, Ryszard
be unlawful. -Original Message- From: David Meyer [mailto:david.me...@wu.ac.at] Sent: Sunday, April 11, 2010 5:12 PM To: Czerminski, Ryszard Cc: Peter Ehlers; R-help@R-project.org Subject: Re: [R] library sets: A & EMPTY does not work; gset_intersection(A,EMPTY) works Peter, Ryszard

Re: [R] library sets: A & EMPTY does not work; gset_intersection(A,EMPTY) works

2010-04-11 Thread Peter Ehlers
ot;Ops.gset", "Ops.set") for "&" gset_intersection(A,E) {} -- Confidentiality Notice: This message is private and may contain confidential and proprietary information. If you have received th

Re: [R] library sets: A & EMPTY does not work; gset_intersection(A,EMPTY) works

2010-04-11 Thread David Meyer
eliance on it. Any unauthorized use or disclosure of the contents of this message is not permitted and may be unlawful. -Original Message- From: Peter Ehlers [mailto:ehl...@ucalgary.ca] Sent: Wednesday, March 31, 2010 2:03 PM To: Czerminski, Ryszard Cc: R-help@r-project.org; David Meyer Subject: R

Re: [R] library sets: A & EMPTY does not work; gset_intersection(A,EMPTY) works

2010-04-07 Thread Czerminski, Ryszard
inal Message- From: David Winsemius [mailto:dwinsem...@comcast.net] Sent: Wednesday, April 07, 2010 9:17 AM To: Czerminski, Ryszard Cc: David Meyer; R forum; Peter Ehlers Subject: Re: [R] library sets: A & EMPTY does not work; gset_intersection(A,EMPTY) works On Apr 7, 2010, at 8:5

Re: [R] library sets: A & EMPTY does not work; gset_intersection(A,EMPTY) works

2010-04-07 Thread David Meyer
Czerminski, Ryszard Cc: Peter Ehlers; R-help@R-project.org; David Meyer Subject: Re: [R] library sets: A & EMPTY does not work; gset_intersection(A,EMPTY) works This is rather by chance due to numeric instabilities, I think: It looks like something else is going on in addition to potent

Re: [R] library sets: A & EMPTY does not work; gset_intersection(A,EMPTY) works

2010-04-07 Thread David Meyer
of this message is not permitted and may be unlawful. -Original Message- From: David Meyer [mailto:david.me...@wu.ac.at] Sent: Tuesday, April 06, 2010 6:03 PM To: Czerminski, Ryszard Cc: Peter Ehlers; R-help@R-project.org; David Meyer Subject: Re: [R] library sets: A & EMPTY does not w

Re: [R] library sets: A & EMPTY does not work; gset_intersection(A,EMPTY) works

2010-04-07 Thread David Winsemius
s message in error, please notify us and remove it from your system and note that you must not copy, distribute or take any action in reliance on it. Any unauthorized use or disclosure of the contents of this message is not permitted and may be unlawful. -Original Message- From: Peter Eh

Re: [R] library sets: A & EMPTY does not work; gset_intersection(A,EMPTY) works

2010-04-07 Thread Peter Ehlers
e is not permitted and may be unlawful. -Original Message- From: David Meyer [mailto:david.me...@wu.ac.at] Sent: Wednesday, April 07, 2010 8:25 AM To: Czerminski, Ryszard Cc: Peter Ehlers; R-help@R-project.org; David Meyer Subject: Re: [R] library sets: A& EMPTY does not work; gset_int

Re: [R] library sets: A & EMPTY does not work; gset_intersection(A,EMPTY) works

2010-04-07 Thread Czerminski, Ryszard
david.me...@wu.ac.at] Sent: Wednesday, April 07, 2010 8:25 AM To: Czerminski, Ryszard Cc: Peter Ehlers; R-help@R-project.org; David Meyer Subject: Re: [R] library sets: A & EMPTY does not work; gset_intersection(A,EMPTY) works >> This is rather by chance due to numeric instabilities, I think:

Re: [R] library sets: A & EMPTY does not work; gset_intersection(A,EMPTY) works

2010-04-07 Thread Czerminski, Ryszard
essage is not permitted and may be unlawful. -Original Message- From: David Meyer [mailto:david.me...@wu.ac.at] Sent: Tuesday, April 06, 2010 6:03 PM To: Czerminski, Ryszard Cc: Peter Ehlers; R-help@R-project.org; David Meyer Subject: Re: [R] library sets: A & EMPTY does not work; gset

Re: [R] library sets: A & EMPTY does not work; gset_intersection(A,EMPTY) works

2010-04-06 Thread David Meyer
or take any action in reliance on it. Any unauthorized use or disclosure of the contents of this message is not permitted and may be unlawful. -Original Message----- From: Peter Ehlers [mailto:ehl...@ucalgary.ca] Sent: Wednesday, March 31, 2010 2:03 PM To: Czerminski, Ryszard Cc: R-help@r

Re: [R] library sets: A & EMPTY does not work; gset_intersection(A,EMPTY) works

2010-04-06 Thread Czerminski, Ryszard
nlawful. -Original Message- From: Peter Ehlers [mailto:ehl...@ucalgary.ca] Sent: Wednesday, March 31, 2010 2:03 PM To: Czerminski, Ryszard Cc: R-help@r-project.org; David Meyer Subject: Re: [R] library sets: A & EMPTY does not work; gset_intersection(A,EMPTY) works Ryszard, You'

Re: [R] library sets: A & EMPTY does not work; gset_intersection(A,EMPTY) works

2010-03-31 Thread Peter Ehlers
-- Confidentiality Notice: This message is private and may contain confidential and proprietary information. If you have received this message in error, please notify us and remove it from your system and note that you must not copy, distribute or

Re: [R] library sets: A & EMPTY does not work; gset_intersection(A,EMPTY) works

2010-03-31 Thread Czerminski, Ryszard
nfidential and proprietary information. If you have received this message in error, please notify us and remove it from your system and note that you must not copy, distribute or take any action in reliance on it. Any unauthorized use or disclosure of the contents of this message is not permitted and may

Re: [R] library sets: A & EMPTY does not work; gset_intersection(A,EMPTY) works

2010-03-31 Thread Peter Ehlers
On 2010-03-31 9:30, Peter Ehlers wrote: Unless I'm missing something, I don't see any method in pkg:sets for intersection other than gset_intersection. Whoops, a bit quick on the draw. There are of course also set_intersection and cset_intersection, but not AFAICS any method for `&`. -Peter E

Re: [R] library sets: A & EMPTY does not work; gset_intersection(A,EMPTY) works

2010-03-31 Thread Peter Ehlers
Unless I'm missing something, I don't see any method in pkg:sets for intersection other than gset_intersection. So you're using the base R function `&` whose help page tells you that its arguments should be vectors. Yours aren't. -Peter Ehlers On 2010-03-31 8:50, Czerminski, Ryszard wrote: Whe

[R] library sets: A & EMPTY does not work; gset_intersection(A,EMPTY) works

2010-03-31 Thread Czerminski, Ryszard
When using generalized sets from "sets" library A & EMPTY does not work, but gset_intersection(A,EMPTY) works: example code below Is it a bug? Best regards, Ryszard library(sets) support <- universe <- c('a','b','c','d') A <- gset(support=support, memberships=c(0.2, 0.2, 0.9, 0), universe=unive