Displaying 20 results from an estimated 4000 matches similar to: "Sort out number on value"
2012 May 14
3
Add column from other columns data.
Hi everyone,
I am having some problems with making a new colomn wit data in it.
I have this one column named: Fulfilled
Fulfilled
1
1
0
1
1
1
1
0
0
1
And now I would like to add another colum to my .csv file ("Finished")
In this "Finished" column I would like to have "Yes" or "No".
Where in colomn "Fullfilled" is a 1, "Finished"
2012 Apr 22
4
How to take ID of number > 7.
I figured out something new that I would like to see if I can do this more
easy with R then Excel.
I have these huge files with data.
For example:
DataFile.csv
ID Name log2
1 Fantasy 5.651
2 New 7.60518
3 Finding 8.9532
4 Looeka -0.248652
5 Vani 0.3548
With like header1: ID, header 2: Name, header 3: log2
Now I need to get the $ID out who have a &log2 value higher then 7.
I
2006 Apr 21
4
[Xen-ia64-devel] flush_tlb_mask and grant_table on ia64
Hi,
on IA64 flushing the whole TLB is very expensive: this is a cpu tlb flush and
clearing 16MB of memory (virtual tlb).
However, flushing an address range is rather cheap. Flushing an address range
on every processors is also cheap (no IPI).
Unfortunatly Xen common code flushes the whole TLB after unmapping grant
reference.
Currently, this is not done on IA64 because domain_dirty_cpumask
2012 Apr 27
1
[LLVMdev] RE : RE : RE : Detect if a basicblock is part of a loop
It try to put all basicblock in a switch in a loop, like that for example:
int main() {
if(something)
somethingelse:
else
another;
}
become:
int main() {
while(true) {
switch(var) {
case 0:
if(something)
var+=1;
else:
var+=2;
break;
case1:
2009 Apr 03
3
Conversions From standard to metric units
I am starting to use R for almost any sort of calculation that I need.
I am a biologist that works in the states, and there is often a need
to convert from standard units to metric units. Is there a package in
R for this already? If not I believe that I am going to write some of
the most often used in function form. My question is should I include
this in my StreamMetabolism package. It is
2012 Apr 27
4
[LLVMdev] RE : Detect if a basicblock is part of a loop
Thx all for the quick answers...
> De : llvmdev-bounces at cs.uiuc.edu [llvmdev-bounces at cs.uiuc.edu] de la part de Arnaud ALLARD DE GRANDMAISON [arnaud.allarddegrandmaison at parrot.com]
>
> Hi,
>
> Depending on what have run before your pass, the loop may have been unrolled or simplified if the computation inside the loop is too simple.
>
> Cheers,
> --
> Arnaud de
2012 Apr 27
2
[LLVMdev] RE : RE : Detect if a basicblock is part of a loop
This is my main.c (just a crappy test file):
#include <stdlib.h>
void foo() {
foo();
}
int main(int argc,char** argv) {
int a = 1;
int b = 3;
int c = a+b;
int k;
for(k=0;k<10;++k) { // The loop I'm trying to detect
int sdf = 123123;
c++;
}
if(c - atoi(argv[1])
2006 Apr 21
2
error in abld build wins udeb
I am trying to compile speex.1.1.12 for Symbian OS but I get lots of
errors:
C:\Programmi\Symbian\7.0s\Series60_v21\Series60Ex\speex-1.1.12\symbian>abld
buil
d wins udeb
make -r -f
"\Programmi\Symbian\7.0s\Series60_v21\EPOC32\BUILD\PROGRAMMI\SYMBI
AN\7.0S\SERIES60_V21\SERIES60EX\SPEEX- 1.1.12\SYMBIAN\EXPORT.make" EXPORT
VERBOSE
=-s
Nothing to do
make -r -f
2006 Apr 21
1
RE: [PATCH]Check the values of MAX_VIRT_CPUS and NR_CPUSfor SMP
>From: Tristan Gingold [mailto:Tristan.Gingold@bull.net]
>Sent: 2006年4月21日 15:26
>> >
>> >See how we solve this on x86 near the top of do_boot_cpu() in
>> >arch/x86/smpboot.c. Essentially we allocate extra idle domains on
>> >demand to give us enough idle vcpus for one per physical cpu.
>> >
>> > -- Keir
>>
>> Yes,
2006 Apr 21
1
RE: [PATCH]Check the values of MAX_VIRT_CPUS and NR_CPUSfor SMP
>From: Keir Fraser
>Sent: 2006年4月21日 14:41
>
>
>On 21 Apr 2006, at 02:31, Atsushi SAKAI wrote:
>
>> But the logical limit of the IA64 Max CPU is larger than 64.
>> If someone change these values, some possibility make this error
>again.
>>
>> To avoid this problem, I believe this check code should be exists.
>
>See how we solve this on x86 near
2012 Apr 27
0
[LLVMdev] RE : Detect if a basicblock is part of a loop
> I'm running opt with my lib on a ir code emmitted by clang: $ clang -emit-llvm -S -o main.ll main.c
> and opt: $ ../build/Release/bin/opt -load ../build/Release/lib/LLVMobfuscationTest.so -flattening -S main.ll -o main.opt.ll
What's the clang default opt level? Maybe you should use "-O0" explicitly.
Regards,
chenwj
--
Wei-Ren Chen (陳韋任)
Computer Systems Lab,
2012 Apr 27
0
[LLVMdev] RE : RE : Detect if a basicblock is part of a loop
> Yes it's my own lib... It contains some obfuscation's passes. The one I'm trying to make now is making code flattening!
^^^^^^^^^^^^^^^^^^^^^^
What's the flattening effect? Maybe try NOT to flat it first?
Regards,
chenwj
--
Wei-Ren Chen (陳韋任)
Computer Systems Lab, Institute
2005 Apr 01
2
Speex for the Intel XScale with WMMX.
I work with the Microsoft Embedded Visual C++, and i don't have a linux
machine with me. I need to have the best performance in order to run my
application for the Intel XSCale with MMX. I don't know if i can compile
for this processor with the best performance using the Microsoft
compiler. I would like a help regarding how to get or build this .obj.
Thank you.
Cesar Bremer Pinheiro
2009 Apr 03
1
Discriminant Analysis - Obtaining Classification Functions
Hello!
I need some help with the linear discriminant analysis in R.
I have some plant samples (divided into several groups) on which I
measured a few quantitative characteristics. Now, I need to infer some
classification rules usable for identifying new samples.
I have used the function lda from the MASS library in a usual fashion:
lda.1 <- lda(groups~char1+char2+char3, data=xxx)
I'd
2012 Apr 13
2
getting the value from previous row
Hi
I've a dataset with record A = 100,200,300,400...
There will be a parameter n. say n=10 means i have add 10% of previous
value to the current row
current_Val New_value
100 100
200 210 (200+10)
300 330( 300 +20+10)
400 460 (400+30+20+10)
I'm using a loop
But i want takes a long time. Please help
-----
2006 Apr 07
3
Howto set a global parameter
Hi,
In my login_controller I get the usename of the person logging in.
@username = @user.name
puts " DEBUG: #{@username} just logged in\n" # This works
But @username seems empty when accessed from numbers_controller.rb ,
how to I set it to be accessible global?
Or at least move the content of that variable over to another
controller.
Best regards,
Martin
2009 Apr 03
2
Basic doubts on the use of several script files in R batch mode
I already searched for information regarding the batch file operations
within R. But I could not locate the information I need.
Basically I have a doubt regarding the procedures on the batch use of
several script files (*.R).
How can I do this?
How can I define the order of files?
My intention is to programme openings, math operations and savings of
*.Rdata sessions, but in a sequential
2005 Apr 08
1
Multicast routing between two subnets
Hello.
I''m new to this list.
I''m trying to set up multicast routing between two networks:
Internet
^
|
Windows box
|
|
UserModeLinux A <-----> Colinux Router <-----> UserModeLinux B
2012 Apr 27
0
[LLVMdev] RE : Detect if a basicblock is part of a loop
> Just as I said to Hal, nothing else than:
> $ clang -emit-llvm -S -o main.ll main.c
> $ ../build/Release/bin/opt -load ../build/Release/lib/LLVMobfuscationTest.so -flattening -S main.ll -o main.opt.ll
Then you might need to past your main.c. Besides, is LLVMobfuscationTest.so
your own pass? What does it do?
Regards,
chenwj
--
Wei-Ren Chen (陳韋任)
Computer Systems Lab, Institute of
2009 Apr 24
1
Multiple Imputation in mice/norm
I'm trying to use either mice or norm to perform multiple imputation to fill
in some missing values in my data. The data has some missing values because
of a chemical detection limit (so they are left censored). I'd like to use
MI because I have several variables that are highly correlated. In SAS's
proc MI, there is an option with which you can limit the imputed values that
are