search for: whiles

Displaying 15 results from an estimated 15 matches for "whiles".

Did you mean: while
2004 Jul 01
2
how to drop rows from a data.frame
...ile maintaining the row names (1,2,3, ...10). The idea here is that a row of zeros is an indication that the row must be dropped. There will never be the case where there is a row(of n columns) with less than 5 zeros in this case(n zeros I am unsure how to manipulate the data frame to drop rows whiles keeping row names. Peter the data (imagine separated by tabs): SEKH0001 SEKH0002 SEKH0003 SEKH0004 SEKH0005 [1,] 256.1139 256.1139 256.1139 256.1139 256.1139 [2,] 283.0741 695.1000 614.5117 453.0342 500.1436 [3,] 257.3578 305.0818 257.3578 257.3578 257.3578 [4,] 0.0000 0...
2010 Sep 16
3
If statements for multiple arrays
Hello, I wrote this code which works fine on a single observation: x<-100 y<-200 z<-125 aa<-150 if(x<z && y>z) {aa-z} result: 25 I am trying to apply this logic where x,y,z,and aa are arrays but with very little success. I have tried using loops and whiles but I always get errors of various types. I have consulted a few manuals but with limited success. My hopeful outcome would be: data: X Y Z AA 1 100 200 125 150 2 125 110 105 140 3 110 150 130 200 4 90 200 75 65 Here row 1 would return 25, ro...
2013 Feb 22
1
[LLVMdev] Does LLVM optimize variable to constant value in the compiling time?
By optimization, do you mean enable the optimization whiling building llvm or use optimization flag while using clang command to get the bitcode file? In my case, I disable the optimization when I built llvm, and I use the following command to get the bitcode: clang -O0 -emit-llvm hello.c -c -o hello.bc To run the pass: opt -load ../../../Debug+Asserts/lib/Hello.so -hello < hello.bc >
2004 Apr 14
2
Spoofing CallerID on Demain
I have an outgoing line that allows me to set my caller id. I want to be able to change the caller id when ever I place a call using this line. I would like my user to press 7, then be prompted for their 10 digit caller id number, then be prompted for the number they would like to call in the form 1NXXNXXXXXX. How can I accomplish this??? Right now I am using this script that users have to
2015 Nov 10
4
función par dentro de bucles, representar gráficas en bucle
...e y la segunda, y hacer gráfica, coger la primera variable y la tercera, y hacer gráfica, y así hasta acabar con la primera variable, y coger la segunda, y lo mismo. Coger la segunda variable y la tercera, y gráfica, coger la segunda variable y la cuarta, y gráfica. Quiero hacer una función con dos whiles, para automatizar el proceso. El problema radica en el comando par( mfrow =c(3,3)). Tal y como lo conozco, se escribirlo, y después colocar dos gráficas, por ejemplo par( mfrow =c(2,1)). indexplot bla bla bla indexplot bla bla bla. Pero ahora con el while, no puedo poner "dos" gráficas...
2011 Dec 07
2
reading partial data set
Hi all, I'm trying to read a data set into R, but the file is messy, so I have to do it partially. The whole data is in a .txt file, and the values are separated by a space. So far ok. The problem is that in this file, not all the lines have the same number of elements, and the reading stops. And I loose the reading of the previous lines. ex. of data set: 11 12 13 21 22 23 31 32
2013 Feb 22
0
[LLVMdev] Does LLVM optimize variable to constant value in the compiling time?
> From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu] > On Behalf Of Robert Sandra > Subject: [LLVMdev] Does LLVM optimize variable to constant value in the compiling time? > Considering the following codes: > int x = 21;  > if(x > 20) {  >    p = &C;  > } else {  >    p = &E;  > } > I looked into the bitcode that LLVM
2006 May 30
3
Current process for tickets
This afternoon I was looking at the tickets posted in Trac, and I saw that there we quite a few stale tickets and patches. A lot of these are filed against very old versions of Rails, I think it''s fair for the people posting these tickets that they get resolved. Either by just removing them all or by weeding them out. I understand that closing tickets is not very glamorous work
2005 May 13
4
Big matrix memory problem
Hi All, I want to read 256 1000x1000 matrices into R. I understand that it is unlikely that I can do this but In the hope that somebody can help me I am mailing this list. I have tried increasing my memory size (I understand that it is the minimum of 1024 or the computers RAM in my case 512) Does anyone think this is possible in R, could it be tried in Splus for example. Any help is
2013 Feb 22
4
[LLVMdev] Does LLVM optimize variable to constant value in the compiling time?
Considering the following codes: int x = 21; if(x > 20) { p = &C; } else { p = &E; } I looked into the bitcode that LLVM generates, it still considers the 'else' branch, which will be never reached during the runtime. Thanks, Robert -------------- next part -------------- An HTML attachment was scrubbed... URL:
2003 May 08
5
MD4 bug-fix for protocol version 27
...h for todays CVS version is attached. Someone should also review the clean_fname() function in utils.c. I think it will not produce the intended result for constructs like "./////foo" or "bar/././". The former case might pose a security risk. I think the first two ifs should be whiles. Regards, Christoph PS: Just let me say that having to run clean_flist() on both client and server _after_ the file list has been transmitted is a real PITA. -- Christoph Bartelmus mailto:bartelmus@eyeled.de Eyeled GmbH, Science Park Saar http://w...
2002 Jan 22
7
AIX reading /etc/environment out of step.
I was discussing with Don about a private topic..and while skimming the code I noticed that during a 'ssh mouring at site ls' the /etc/environment is *ONLY* read if the remote machine is an AIX box. This is undocumented and I'm wondering if someone using AIX could explain WHY it exists in the session.c:do_child()? No other OS has this. I don't see why AIX should require it.
2012 Mar 28
52
[REQUEST] Request for Xen Users to Attempt Jean David Techer's Xen 4.2-unstable VGA Passthrough Documentation
Dear Xen Users, I have _partial_ (that is, less than 100%) success following Jean David Techer''s Xen 4.2-unstable VGA Passthrough Documentation. In both Windows 8 Consumer Preview HVM and Windows XP Home Edition HVM, I get yellow exclamation mark besides NVIDIA Geforce 8400 GS in Device Manager. NVIDIA Geforce 8400 GS in Device Manager reports: 1) Windows has stopped this device
2012 Mar 28
52
[REQUEST] Request for Xen Users to Attempt Jean David Techer's Xen 4.2-unstable VGA Passthrough Documentation
Dear Xen Users, I have _partial_ (that is, less than 100%) success following Jean David Techer''s Xen 4.2-unstable VGA Passthrough Documentation. In both Windows 8 Consumer Preview HVM and Windows XP Home Edition HVM, I get yellow exclamation mark besides NVIDIA Geforce 8400 GS in Device Manager. NVIDIA Geforce 8400 GS in Device Manager reports: 1) Windows has stopped this device
2007 Nov 16
8
[PATCH 0/6] Add online resize for ocfs2-tools,take 1
Add online resize in tunefs.ocfs2 so that user can increase the volume when it is mounted.