Hi, I have a dataset X Y A= 10 15 20 30 40 50 B = X Z 10 30 20 50 I have a table containing X Y Z columns How to insert a data frame into the table without using for loop ? now currently i'm using the for loop with using the insert command? ----- Thanks in Advance Arun -- View this message in context: http://r.789695.n4.nabble.com/inserting-a-dataframe-into-the-table-tp4409756p4409756.html Sent from the R help mailing list archive at Nabble.com.
Hi, On Wed, Feb 22, 2012 at 4:47 AM, arunkumar1111 <akpbond007 at gmail.com> wrote:> Hi, > > I have a dataset > > ? ? ? ?X ? ? ? ? Y > A= ? 10 ? ? ?15 > ? ? ? ?20 ? ? ?30 > ? ? ? ?40 ? ? ?50 > > B = ? X ? ? Z > ? ? ? ?10 ? 30 > ? ? ? ?20 ? ? 50 > > I have a table ? containing X Y Z columnsA table, or is this another data frame?> How to insert a data frame into the table without using for loop ?What do you want the data frame to look like? Does it contain data already? Might merge() be of use?> now currently i'm using the for loop with using the insert command?I'm entirely unfamiliar with an insert command. Please be more explicit about what you are doing, and what you expect the result to be. A small reproducible example is most helpful. Sarah -- Sarah Goslee http://www.functionaldiversity.org
Yes the table already exist and it contains data ant to insert two data frame into that separately ----- Thanks in Advance Arun -- View this message in context: http://r.789695.n4.nabble.com/inserting-a-dataframe-into-the-table-tp4409756p4412667.html Sent from the R help mailing list archive at Nabble.com.
On 23.02.2012 04:17, arunkumar1111 wrote:> Yes the table already exist and it contains data > ant to insert two data frame into that separatelyI still wonder why people write message completely out of context. Uwe Ligges> ----- > Thanks in Advance > Arun > -- > View this message in context: http://r.789695.n4.nabble.com/inserting-a-dataframe-into-the-table-tp4409756p4412667.html > Sent from the R help mailing list archive at Nabble.com. > > ______________________________________________ > R-help at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code.