[R] "renaming" dataframe1 using "column" names from dataframe2?

r user ruser2006 at yahoo.com
Fri Mar 17 16:25:41 CET 2006


I have a dataframe named “temp”, and another dataframe
named “descriptions”.

I wish to “rename” temp, and to “call” it the names of
a certain column in the dataframe “descriptions”.

Is there a good way to do this?

A similar question:

I am using a “for loop” to create several new
dataframes.
e.g.
for(j in 1:9){
..

I’d like each dataframe to be named d1, d2, d3, with
the number being tied to the j (the iteration).

Is this possible




More information about the R-help mailing list