Re: [R] inserting a dataframe into the table

2012-02-23 Thread Uwe Ligges



On 23.02.2012 04:17, arunkumar wrote:

Yes the table already exist and it contains data
ant to insert two data frame into that separately



I 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@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.


__
R-help@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.


[R] inserting a dataframe into the table

2012-02-22 Thread arunkumar1111
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.

__
R-help@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.


Re: [R] inserting a dataframe into the table

2012-02-22 Thread Sarah Goslee
Hi,

On Wed, Feb 22, 2012 at 4:47 AM, arunkumar akpbond...@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 columns

A 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

__
R-help@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.


Re: [R] inserting a dataframe into the table

2012-02-22 Thread arunkumar1111
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.

__
R-help@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.