Thank you everyone for your reply.

Like I said in my original post, this is just a demonstrative example of my
'big' self written script.

My 'big' function take several inputs, of which the first 1 is the dataset
and returns a LIST variable 'res<<-list()' to the workspace with many
information.

The names of my actual datasets are NOT in any pattern, like 'dat1', 'dat2',
'dat3'. That's why i wonder if I can modify
the line 'res<<-' in anyway to be 'res.dat<<-' where 'dat' in the first
input. So I can CALL via 'res.dat' (or res.newdata, res.olddata,
res.tmpdata,res.hisdata) in the workspace any time I want to have a look.

-----
###################################################
PhD candidate in Statistics
School of Mathematics, Statistics and Actuarial Science, University of Kent
###################################################

--
View this message in context: 
http://r.789695.n4.nabble.com/function-input-as-variable-name-deparse-quote-paste-tp4462841p4464294.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.

Reply via email to