Displaying 2 results from an estimated 2 matches for "dfstring".
Did you mean:
fstring
2007 Aug 19
2
How to parse a string into the symbol for a data frame object
...urrent representation of 'df1' or 'df2'
without some additional book keeping.
In addition, I really want to use 'paste' within the loop to create a
new string value that will have the symbol name of a data frame to be
"dereferenced," e.g.:
> for(n in c(1, 2)){ dfString <- paste('df', n, sep=""); print(eval(dfString)) }
[1] "df1"
[1] "df2"
This is not what I want. I have read through the documentation on
eval and similar commands like substitute and quote. I program
regularly, but I do not understand these constructs in...
2007 Aug 21
2
Partial comparison in string vector
...urrent representation of 'df1' or 'df2'
without some additional book keeping.
In addition, I really want to use 'paste' within the loop to create a
new string value that will have the symbol name of a data frame to be
"dereferenced," e.g.:
> for(n in c(1, 2)){ dfString <- paste('df', n, sep="");
print(eval(dfString)) }
[1] "df1"
[1] "df2"
This is not what I want. I have read through the documentation on
eval and similar commands like substitute and quote. I program
regularly, but I do not understand these constructs in...