similar to: how to access values from functions

Displaying 20 results from an estimated 300 matches similar to: "how to access values from functions"

2011 Jun 26
2
Ordering a matrix based on cluster no
Hi All I have a symmetric matrix of genes ( 100x100 matrix). I also have a matrix (100x2) of two columns where column 1 has the gene names and column 2 has the cluster it belongs to (they are sorted and grouped based on the cluster no). I would like to order the rows and columns of the 100x 100 matrix such that the first n genes correspond to cluster 1 and next n genes correspond to cluster 2
2012 Mar 15
1
substituting own test statistics in a built-in function
Hi All I would like to compute the raw p-value from permutation tests and I found mt.sample.rawp() from the package multtest almost similar to what I want to do. But in the function definition: mt.sample.rawp(V,classlabel,test="t",side="abs",fixed.seed.sampling="y",B=10000,na=.mt.naNUM,nonpara="n") I would like to choose my own t-test which is designed
2011 Jun 13
3
How to create a numeric data.frame
Hi All I am new to R and I am not sure of how this should be done. I have a matrix of 985x100 values and the class is data.frame. A sample of my dataset looks like this (Since its a huge dataset and it would make the screen look more complex, I am pasting only the first few rows and columns. V2 V3 V4 V5 V6 2 0.009953966 -0.01586103 -0.016227028
2005 Jun 16
2
User directories in /home are missing
Hi, I use Redhat Enterprise Edition 2.4.21 kernel version. In my system all the user directories in /home disappeared. No one deleted it. But I don't know how it is missing. I had one or two open sessions where I already logged in as root and cd'ed to one particular home directory. >From there I am able to access files in that home directory. But not from a new session. In new session
2005 Aug 11
2
URGENT: How to recover ext3 files?
Hi, After panic boot, I have executed fsck for the mount point and we couldn't find a single file. We have lot of directories under lost+found like this #3194985. Can anyone tell me how to recover the data from this folder? This is urgent. Thanks in advance for your help. Regards Kapil Sampath "Many of life's failures are people who did not realize how close they
2011 Jul 06
1
Create simulated data's using mvrnorm
Hi All This might be something very trivial but I seem to miss something in the syntax or logic which makes me keep wandering around the problem without arriving at a solution. What I want to do is to simulate a sample data for performing cluster analysis. I tried to use x1= mvrnorm(10,rep(0.8,3),diag(3)) x2= mvrnorm(10,rep(0,3),diag(3)) x3= mvrnorm(10,rep(-0.5,3),diag(3)) x=rbind(x1,x2,x3)
2005 Apr 24
3
Help needed to recover data from ext3 file system where mkfs was issued accidentally
Hi, I connected my harddisk which had ext3 filesystem and some files archived in it as slave device and issued "mkfs /dev/hdb2" accidentally. Immediately I issued Ctrl C and stopped the process. But before that it had deleted some 100 Blocks. After that I am unable to boot that hard disk as primary device. The system is asking me "please insert a valid boot device and press
2005 Jun 02
1
passwd : Module is unknown (Redhat 9 Enterprise Edition)
Hi All, Can anyone help me in resolving this problem. I use Redhat 9 Enterprise edition. I have a session in which I logged in as a root. When I issue the command "su" from any other user it is throwing error "su : Incorrect password", If I try to change the password from the root session, it is throwing error "passwd : module unknown". [root at TESTING
2009 Apr 20
7
Fitting linear models
I am not sure if this is an R-users question, but since most of you here are statisticians, I decided to give it a shot. I am using the lm() function in R to fit a dependent variable to a set of 3 to 5 independent variables. For this, I used the following commands: >model1<-lm(function=PBW~SO4+NO3+NH4) Coefficients: (Intercept) SO4 NO3 NH4 0.01323 0.01968
2009 Feb 03
2
[LLVMdev] multithreaded applications
I am using pthreads. I was also wondering what will the llvm IR be for pthreads ? On Tue, Feb 3, 2009 at 3:51 PM, Bill Wendling <isanbard at gmail.com> wrote: > On Tue, Feb 3, 2009 at 12:33 PM, aparna kotha <kotha.aparna at gmail.com> > wrote: > > Hi all: > > > > I am working on a project using llvm and we need to deal with > multithreaded > >
2009 Mar 18
4
[LLVMdev] decimal to floating point conversion
Hi all: I need an instruction that can convert decimal values into floating point numbers. i.e. say I have a decimal number 1110794174 (== 42355FBE in hex ) and (== 45.3435 as a float) essentially the mantissa and exponent representation needs to be used. Is there any way of doing this in llvm? Thanks and Regards -- -- Aparna Kotha Graduate Student Electrical and Computer Engineering
2009 Feb 03
3
[LLVMdev] multithreaded applications
Hi all: I am working on a project using llvm and we need to deal with multithreaded applications. I wanted to know if there was a C front end for llvm that could parse multithreaded applications? I tried llvm-gcc (4.2) and could not get it to work. Is there an extra parameter that I need to pass or something ? Thanks a lot for your help. Regards -- -- Aparna Graduate Student Department
2009 Apr 13
2
[LLVMdev] generation of shared libraries.
Thanks a lot. A see the shared library in linux version. I initially tried doing this in cygwin where I dont see the shared library being built. Do u think it could have been cygwin that is the problem? Aparna On Mon, Apr 13, 2009 at 5:16 PM, Milos Puzovic <milos.puzovic at gmail.com>wrote: > In order to generate shared libraries you need to have SHARED_LIBRARY > and
2009 Apr 13
2
[LLVMdev] generation of shared libraries.
I am trying to run the LLVM hello world pass. I observe that in the OUPUT_DIR/lib the LLVMHello.a and LLVMHello.la libraries are generated. But I am confused as to how to generate the .so library file from here. I am kinda new to compilers and hence the question I know is basic , but couldnt figure the answer out myself. Thanks a lot for your help. Regards -- -- Aparna Kotha Research
2009 Feb 03
0
[LLVMdev] multithreaded applications
On Tue, Feb 3, 2009 at 12:55 PM, aparna kotha <kotha.aparna at gmail.com> wrote: > I am using pthreads. > > I was also wondering what will the llvm IR be for pthreads ? > Okay. Luke gave hints on how to get pthreads to work. LLVM doesn't do anything special for pthreads calls. So they should look like regular calls into a library. -bw
2010 Aug 13
2
[LLVMdev] Pass Ordering
All, I have a ModulePass (A) calling a FunctionPass that inturn calls TargetData (a ModulePass). For reasons of code correctness and modularity I cannot reorganize my passes in any other way . When I use opt to load and run A , it gives the following error. LLVM ERROR: Bad TargetData ctor used. Tool did not specify a TargetData to use? I gather from some previous emails that this was not
2013 Mar 03
3
[LLVMdev] AESOP autoparallelizing compiler
Hi Sebastian, Sure! The bulk of LMDA was written by Aparna Kotha (CCd). It computes dependences between all instructions, computes the resulting direction vectors in the function, then associates them all with loops. At a high level, the dependence analysis consults with AliasAnalysis, and ScalarEvolution before resorting to attempting to understand the effective affine expressions and
2009 Apr 14
2
Controlling widths in write.fwf()
Is there a way to handle the widths of values being written to a file using wrtite.fwf() ? For example, I used read.fwf(file, width.vector) to read a file. After making the necessary data manipulation, I want to write the data to a new file in the same width.vector format. Is there a way to specify this? Thanks in Advance Aparna [[alternative HTML version deleted]]
2010 Aug 13
1
[LLVMdev] Pass Ordering
I am using opt , so i cm confused if i need to do this. On the other hand I modified my functionPass not to call TargetData , and I still get this error. My functionPass still calls Alias Analysis though. Aparna On Fri, Aug 13, 2010 at 2:15 PM, John Criswell <criswell at illinois.edu>wrote: > aparna kotha wrote: > >> All, >> I have a ModulePass (A) calling a
2009 Apr 13
0
[LLVMdev] generation of shared libraries.
I believe because cygwin behaves like windows (it is just a posix layer over window) it doesn't have dynamic linking hence only static libraries have been built. On 13 Apr 2009, at 23:16, aparna kotha wrote: > Thanks a lot. > > A see the shared library in linux version. I initially tried doing > this in cygwin where I dont see the shared library being built. Do > u