Thanks a ton Berend. That worked like a charm......
R comes with thousands of Sweet Surprises everyday....


Bhupendrasinh Thakre




On Sep 28, 2012, at 12:00 PM, Berend Hasselman <bhh@xs4all.nl> wrote:

> 
> On 28-09-2012, at 18:40, Bhupendrasinh Thakre <vickythakre@gmail.com> wrote:
> 
>> Hi Everyone,
>> 
>> Sorry for coming back again with a new problem.
>> Editing question, session info and data so you don't have to scroll till
>> the end of page.
>> 
>> *Situation :*
>> 
>> I have a data frame and it's name is df. Now I want to add Time Stamp to
>> the end of *"name" of "data Frame" i.e. "df_system_time"*. Previously it
>> was running great and thanks to Dr. Winsemius , Kimmo and Pascal and I
>> believe as the function which i used was scalar.
>> 
>> *Data :*
>> 
>> dput(df)structure(list(x = 1:10, y = 1:10), .Names = c("x", "y"),
>> row.names = c(NA,
>> -10L), class = "data.frame")
>> 
> 
> You have been given the answer.
> It only needs a minor variation:
> 
> newname.df <- paste0("df_", format(Sys.time(), "%Y_%m_%d_%H_%M_%S") )
> assign(newname.df,df)
> 
> and if you wish
> 
> rm(list=c('df','newname.df'))
> 
> Or install package memisc (found by doing findFn("rename") from package sos) and use function rename(0; I have not tried this.
> 
> Berend


	[[alternative HTML version deleted]]


