Skip to content
Prev 358209 / 398498 Next

Create macro_var in R

One more question (see below). I cannot use macro-var, mvar, for creating new name, as shown below. Any?advice is highly appreciated!
?[1]? 698 1214 1003 1167 2549? 824? 944 1937? 935? 570??? 0
Error in new.tab[[mvar]] <- d$pop : object 'new.tab' not found
On Thursday, February 4, 2016 11:02 AM, Amoy Yang <amoy_y at yahoo.com> wrote:
This works although it looks rare by using min(",key,"). Don't know why but just have to remember it. This is a tough part in R.
Thanks for helps!
Amoy
On Wednesday, February 3, 2016 5:25 PM, Gabor Grothendieck <ggrothendieck at gmail.com> wrote:
See

? Example 5.? Insert Variables

on the sqldf home page.

? https://github.com/ggrothendieck/sqldf


On Wed, Feb 3, 2016 at 2:16 PM, Amoy Yang via R-help
<r-help at r-project.org> wrote: