[R] Assign Name of Data Frame

2010-02-12 Thread mah
Hello R Experts, How can I assign the name of a data frame with the argument of a function? Specifically I am using RODBC to build local dataframes from SAS datasets on a remote server. I would like the local dataframe have the same name as the source SAS dataset, and the function below is what

Re: [R] Assign Name of Data Frame

2010-02-12 Thread Marc Schwartz
On Feb 12, 2010, at 8:19 AM, mah wrote: Hello R Experts, How can I assign the name of a data frame with the argument of a function? Specifically I am using RODBC to build local dataframes from SAS datasets on a remote server. I would like the local dataframe have the same name as the

Re: [R] Assign Name of Data Frame

2010-02-12 Thread Mike Harwood
Marc, Thank you for your help. I had tried assign, but I did not enclose the table name in quotes in my function call. I needed to see what someone else had written before I ever would have noticed it! On Fri, Feb 12, 2010 at 10:00 AM, Marc Schwartz marc_schwa...@me.comwrote: On Feb 12,