请解释此错误-使用sqldf时

时间:2018-12-19 14:19:23

标签: r traceback

我发现了类似的问题和错误,但似乎都没有回答我...

我正在使用以下代码:

returns2017 <- sqldf('select c.*, s.cell_no from cis10_2 c inner join selpar17 s on c.regx = s.lower_region2 and c.lower_size between s.lower_size and s.upper_size and c.SIC2007 between s.lower_class2 and s.upper_class2')

我从工作代码中改编而来的调整很少

它返回错误:

 Error in get(as.character(FUN), mode = "function", envir = envir) : 
  object 'as.labelled' of mode 'function' was not found 

当我使用traceback()时,我得到:

5: get(as.character(FUN), mode = "function", envir = envir)
4: match.fun(asfn)
3: FUN(X[[i]], ...)
2: lapply(seq_along(rs), auto)
1: sqldf("select c.*, s.cell_no from cis10_2 c inner join selpar17 s on c.regx = s.lower_region2 and c.lower_size between s.lower_size and s.upper_size and c.SIC2007 between s.lower_class2 and s.upper_class2") 

有人可以解释这个错误信息是什么意思,以便我找出我的陈述有什么问题吗?

0 个答案:

没有答案