Displaying 20 results from an estimated 3000 matches similar to: "confirming behavior of "by""
2007 Jun 07
0
Unique :key not maintained after add_indexes?
Hi,
When adding an index to another one using add_indexes I get duplicates
even though I use the :key attribute. For example:
def test_add_indexes_uniqueness
index1 = Ferret::Index::Index.new(:key => :id)
index2 = Ferret::Index::Index.new(:key => :id)
# Add two items with same id
index1 << {:id => 23, :data => "This is the data..."}
2011 Apr 03
1
Help in splitting ists into sub-lists
Dear List,
Let's say I have a list whose components are 2 matrices (as exemplified in
the "mylist" object below). I'd like to create a list with components being
4 matrices based on an logical index vector. is there a way to simplify what
I'm doing to obtain the results in "mylist2"? I'd like something that would
work on an arbitrary number of elements in
2009 Jan 27
1
Problem with RMA using limma, oligo and pdInfoBuilder packages
Hi,
I am a Ph.D. student from Québec, Canada. I’m a beginner with R and
Bioconductor. Until now the only experience I have is in analyzing
microarray data using affy and limma packages. Now I am trying to analyze
Rat Gene 10 st arrays and I would like to run RMA analysis and Smyth
moderated t test on those arrays. Since no cdf official package is available
for those arrays, after reading many
2006 Nov 14
2
Problem with file size
Hi everyone,
I have 2 environments (2 different R sessions) as described below:
Session 1:
Name of the environment: "CrlmmInfo"
Objects in the environment:
index1: logical index - length 238304
index2: logical index - length 238304
priors: list of 4 - (matrix 6x6, 2 vectors of length 6, vector of
length 2) - all num
params: list of 4:
centers [238304 x 3 x
2006 Nov 14
2
Problem with file size
Hi everyone,
I have 2 environments (2 different R sessions) as described below:
Session 1:
Name of the environment: "CrlmmInfo"
Objects in the environment:
index1: logical index - length 238304
index2: logical index - length 238304
priors: list of 4 - (matrix 6x6, 2 vectors of length 6, vector of
length 2) - all num
params: list of 4:
centers [238304 x 3 x
2009 Aug 07
0
Bar plots with stacked columns marked with askterisks
Hi,
I'm trying to plot bar graphs with stacked columns marked with
askterisks for certain columns, which follow certain criteria.
I've gotten the stacked bar plots with Data set A (please refer to
code below). However, I haven't figured how to put asterisks on
columns based on some extra information (such as "used/unused") as in
Data set B i.e. asterisks at the
2010 Mar 09
0
Removing Zeros from matrix:Problem fixed
Hey,
Thanks for your great inputs. While "index = apply(mat == 0, MARGIN = 1,
any)" gives you an idea of the rows containing zero(s),
"index<-data[!apply(data==0,MARGIN=1,any),]" does the actual job of removing
the rows with zeros.
Kind regards
Ogbos
On 9 March 2010 15:12, Paul Hiemstra <p.hiemstra@geo.uu.nl> wrote:
> Dimitris Rizopoulos wrote:
>
>>
2012 Jun 28
3
Storing results in a single file after looping over all files
Hi All,
I have a whole lot of *.raw files in my working folder and I am doing the same analysis on each of those and want to save all the results in a single file. I am making some mistake here and can't figure out how to solve it.
Say, the *.raw files are ABCD.raw, EFGH.raw, IJKL.raw ...
The files are of this format
ID PHI?? aa1? aa2? aa3 ....
1??? 1???? 1.3?? 2.0?? 1.0
2??? 0????
2016 Mar 17
0
match and unique
Hi Terry,
On 03/16/2016 08:03 AM, Therneau, Terry M., Ph.D. wrote:
> Is the phrase "index <- match(x, sort(unique(x)))" reliable, in the
> sense that it will never return NA?
This is assuming that match() and unique() will never disagree on
equality between 2 floating point values. I believe they share some
code internally (same hashing routine?), so maybe it's reliable.
2010 Apr 19
2
Acceder a varias tablas
Buenas,
He creado dos andamios para dos tablas a la que accedo por index1 e
index2 respectivamente. En cada index puedo hacer las tareas de añadir,
borrar, ver lineas... pero me gustaria saber como se hace una busqueda
mas compleja...es decir si tengo una tabla Productos y otra tabla
descripciones y quiero mostrar en los productos con sus descripciones...
he intentado en el index1 acceder a la
2012 Apr 26
6
print table on plot
Hello,
I would like to be able to plot an array on a plot, something like:
|arg1 | arg2 | arg3
val1| 0.9 | 1.1 | 2.4
val2| 0.33 | 0.23 | -1.4
val3| hello| stop | test
I know Rwave is good to report but don't want to use it.
? Is there a package that allow quick and dirty plot of dataframes like this
?
Thanks a lot
--
View this message in context:
2007 Apr 18
2
[RFC, PATCH 17/24] i386 Vmi msr patch
Fairly straightforward code motion of MSR / TSC / PMC accessors
to the sub-arch level. Note that rdmsr/wrmsr_safe functions are
not moved; Linux relies on the fault behavior here in the event
that certain MSRs are not supported on hardware, and combining
this with a VMI wrapper is overly complicated. The instructions
are virtualizable with trap and emulate, not on critical code
paths, and only
2007 Apr 18
2
[RFC, PATCH 17/24] i386 Vmi msr patch
Fairly straightforward code motion of MSR / TSC / PMC accessors
to the sub-arch level. Note that rdmsr/wrmsr_safe functions are
not moved; Linux relies on the fault behavior here in the event
that certain MSRs are not supported on hardware, and combining
this with a VMI wrapper is overly complicated. The instructions
are virtualizable with trap and emulate, not on critical code
paths, and only
2011 Mar 10
1
How to use conditional statement
Dear R helpers
Suppose
val1 = c(10, 20, 35, 80, 12)
val2 = c(3, 8, 11, 7)
I want to select either val1 or val2 depending on value of third quantity val3.
val3 assumes either of the values "Monthly" or "Yearly".
If val3 = "Monthly", then val = val1 and if val3 = "Yearly", then val = val2.
I tried the ifelse statement as
ifelse(val3 =
2009 Sep 23
2
[LLVMdev] About porting llvm-gcc frontend.
I am porting llvm-gcc frontend. We have ported GCC4.2 for our target. So I move *.h *.md and *.c to llvm-gcc. I do not implement any LLVM MACRO, and use default action of llvm-gcc. I get a new llvm-gcc for our target. But I get a bug.
/******************************/
//#include <stdio.h>
union MYunion {
unsigned char uc ;
int ui;
} myunion;
void vfu1(union MYunion u) {
u.ui =
2008 Jul 01
0
[LLVMdev] vmkit on x86_64
Hi Zsombor,
Thanks for the patch! Unfortunately I can't apply it because the llvm
API has moved from BinaryOperator::create to BinaryOperator::Create. Are
you using svn head?
Now on the x86_64 part. There has been very little work on porting vmkit
on x86_64. If you're having compilation problems, I suppose it's in the
garbage collector directory (GCMmap2). If you could make the
2008 Jul 01
2
[LLVMdev] vmkit on x86_64
Hello,
I'm trying to compile vmkit on a x86_64 linux box with gcc-4.1.2, but
I'm running into troubles because of various problems with casts
between pointers and integers. Is there anybody who succeeded in this
task? Az I see, some of the problems can be fixed with an appropriate
typedef/macro declaration, but in VMCore/JavaObject.cpp some lowlevel
bitmanipulation is used, to mark
2014 Jul 28
2
[PATCH] x86, paravirt: BUG_ON on {rd,wr}msr exceptions
When CONFIG_PARAVIRT is enabled, the kernel is ignoring exceptions on
the {rd,wr}msr instructions. This makes serious issues (either on the
guest kernel, or on the host) be silently ignored, and is different from
the native MSR code (which does not ignore the exceptions).
As paravirt.h already includes linux/bug.h, I don't see what was the
original issue preventing BUG_ON from being used.
2014 Jul 28
2
[PATCH] x86, paravirt: BUG_ON on {rd,wr}msr exceptions
When CONFIG_PARAVIRT is enabled, the kernel is ignoring exceptions on
the {rd,wr}msr instructions. This makes serious issues (either on the
guest kernel, or on the host) be silently ignored, and is different from
the native MSR code (which does not ignore the exceptions).
As paravirt.h already includes linux/bug.h, I don't see what was the
original issue preventing BUG_ON from being used.
2009 Mar 03
2
preparing data for barplot()
What is the best way to produce a barplot from my data? I would like
the barplot to show each person with the values stacked
val1+val2+val3, so there is one bar for each person When I use
barplot(data.matrix(realdata)), it shows one bar for each value
instead.
To post here, I created an artificical data set, but it works fine.
fakedata <- as.data.frame(list(LETTERS[1:3]))
colnames(fakedata)