Thanks Berend, your Idea is great, that,s what I was looking.
Thanks again
On Wed, Dec 5, 2012 at 2:06 PM, Berend Hasselman wrote:
> do.call(cbind,lapply(mydf, function(df) df[,1:2]))
[[alternative HTML version deleted]]
__
R-help@r-project.
On 05-12-2012, at 03:37, Gyanendra Pokharel wrote:
> Hi group,
>
> I imported 16 data frames using the function "list.files"
>
> temp <- list.files(path="...")
> myfiles = lapply(temp, read.table,sep = "")
>
> Now I have 16 data set imported in R window.
>
> I want to combine them by
On Dec 5, 2012, at 10:36 AM, Gyanendra Pokharel wrote:
> I am sorry David, I don't mean to give the answer of the impossible
> questions. Just you can say impossible. If there is no way to do
> what I explained, that's fine, we do have other alternatives what I
> wrote in the beginning.
>
I am sorry David, I don't mean to give the answer of the impossible
questions. Just you can say impossible. If there is no way to do what I
explained, that's fine, we do have other alternatives what I wrote in the
beginning.
Thank you so much.
On Wed, Dec 5, 2012 at 1:12 PM, David Winsemius wro
On Dec 4, 2012, at 8:56 PM, Gyanendra Pokharel wrote:
Thanks Dennis,
Your code also produces same as Jim's but I am not looking that one,
I need
to use "cbind" so that finally I will get the data frame of size
200X320
(i,e, 200 X(16X20)).
Thanks
Here we are a day later and your question
Thanks Dennis,
Your code also produces same as Jim's but I am not looking that one, I need
to use "cbind" so that finally I will get the data frame of size 200X320
(i,e, 200 X(16X20)).
Thanks
On Tue, Dec 4, 2012 at 10:46 PM, Dennis Murphy wrote:
> In addition to Jim's reply, had you used the pl
Thanks Jim but I need to use "cbind" otherwise I will not get the correct
information from the data. Also each data set has the dimension 200X365 but
I only need 200X20 each.
Thanks
On Tue, Dec 4, 2012 at 10:22 PM, jim holtman wrote:
> try::
>
> do.call(rbind, myfiles)
>
> On Tue, Dec 4, 2012 a
try::
do.call(rbind, myfiles)
On Tue, Dec 4, 2012 at 9:37 PM, Gyanendra Pokharel
wrote:
> Hi group,
>
> I imported 16 data frames using the function "list.files"
>
> temp <- list.files(path="...")
> myfiles = lapply(temp, read.table,sep = "")
>
> Now I have 16 data set imported in R win
Hi group,
I imported 16 data frames using the function "list.files"
temp <- list.files(path="...")
myfiles = lapply(temp, read.table,sep = "")
Now I have 16 data set imported in R window.
I want to combine them by row and tried some thing like (Here I am
considering only 20 columns)
f
9 matches
Mail list logo