Got it working with a package called 'xlsReadWritePro' (which requires a
license after 30 day's...) This is my code:
setwd("J:/Stage/Datasets2/Datasets/outData")
masterTable<-read.table("AR1000900A_N_241110_(Mapping250K_Nsp)_2,Mapping250K_Nsp,CNprobes.tab
_SNP_IDs.xls",sep="\t", dec=",", fill=T, h
I can't reproduce your work, but I think you just need
> regionMatchABCDE[,i] <- cbind(regionMatch[,10:18])
instead of
regionMatchABCDE <- cbind(regionMatch[,10:18])
within the for loop
Scott
On Monday, March 21, 2011 at 7:36 AM, Who Am I? wrote:
Hoi All,
>
> I am trying to append collums
I don't think I understand. Can you work up a dummy example that will
run independent of your actual data, and produce the problem? This
will help everyone diagnose the problem. Naively this sounds like an
indexing problem.
Stephen
On Mon, Mar 21, 2011 at 7:56 AM, Who Am I? wrote:
> I forgot
I forgot to say I need it to work in a for loop because it will be used for
over 35 files. I previously programmed it in the most unorthodox way
possible:
setwd("J:/Stage/Datasets2/Datasets/outData")
data1<-read.table("AR1000900A_N_241110_(Mapping250K_Nsp)_2,Mapping250K_Nsp,CNprobes.tab
_SNP_IDs.x
Hoi All,
I am trying to append collums to a data frame in a for loop. I read in
tables, do some processing and then write the result to a data.frame. But,
the thing I want is, that the results are appended to the data frame in
stead of overwriting the results of the prevous table.
It has to look s
Hoi All,
I am trying to append collums to a data frame in a for loop. I read in
tables, do some processing and then write the result to a data.frame. But,
the thing I want is, that the results are appended to the data frame in
stead of overwriting the results of the prevous table.
It has to look s
6 matches
Mail list logo