Re: [R] reshaping a large dataframe in R

2016-11-29 Thread PIKAL Petr
From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of David L > Carlson > Sent: Monday, November 28, 2016 8:27 PM > To: jean-philippe <jeanphilippe.fonta...@gssi.infn.it>; r-help@r-project.org > Subject: Re: [R] reshaping a large dataframe in R > > There may be a simpl

Re: [R] reshaping a large dataframe in R

2016-11-28 Thread Daniel Nordlund
On 11/28/2016 1:06 AM, jean-philippe wrote: dear all, I have a dataframe of 500 rows and 4004 columns that I would like to reshape to a dataframe of 500500 rows and 4 columns. That is from this dataframe: V1 V2 V3 V4 ... V4001 V4002 V4003 V4004 1 2 3 4 ... 4001 4002 4003 4004 1 2 3 4 ...

Re: [R] reshaping a large dataframe in R

2016-11-28 Thread David L Carlson
David L Carlson Department of Anthropology Texas A University College Station, TX 77840-4352 -Original Message- From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of jean-philippe Sent: Monday, November 28, 2016 3:07 AM To: r-help@r-project.org Subject: [R] reshaping a

[R] reshaping a large dataframe in R

2016-11-28 Thread jean-philippe
dear all, I have a dataframe of 500 rows and 4004 columns that I would like to reshape to a dataframe of 500500 rows and 4 columns. That is from this dataframe: V1 V2 V3 V4 ... V4001 V4002 V4003 V4004 1 2 3 4 ... 4001 4002 4003 4004 1 2 3 4 ... 4001 4002 4003 4004 1 2 3 4 ... 4001 4002