[R] help installing Rmpi

2009-06-11 Thread ALAN SMITH
have included the processes I attempted below. Thank you, Alan Smith # what I have attempted so far #I have tried two different ways to install openMPI in fedora in the linux shell #in the linux shell cd Download wget http://www.open-mpi.org/software/ompi/v1.3

[R] understanding how R determines numbers and characters when creating a data frame

2009-02-18 Thread Alan Smith
t;-data.frame(cbind(species=as.character(paste(s)),obsnum)) # number converted to character results<-rbind(out1,results) } results #fix(results) # can now convert obsnum to numeric using fix ## Thank you, Alan Smith [[alternative HTML version deleted]]

[R] help understanding why #function(x, y) (if((x-y)>=0) {2^(x-y)} else{-(2^abs(x-y))})# doesn't work like I think it should

2008-06-03 Thread ALAN SMITH
Hello R users and developers, I am trying to write several functions (fairly new at this) in order to avoid using loops on large data frames (because they are slow). I wrote the function below and it seems to get hung on the first part of the if statement and then applies that condition to rest of

[R] reshape a wide data frame from wide to a long format with metadata columns

2008-05-19 Thread ALAN SMITH
Hello R users and developers, I have a general question about reshaping a wide data frame using the "reshape" command. I have a data frame consisting of 108 columns that I would like to convert to a long table and remove the metadata (embedded in the column names of the wide table) to new metadata