我在通过人人网运行R时遇到以下错误,是否有人可以帮助我 我正在使用以下包
库(dplyr) 库(下载)
当我通过R工作室时它工作得很好,但不是通过人人网。我可以提供有关我正在使用的版本的更多详细信息
INFO: Using "C:\Users\ukhan\AppData\Local\Temp\vfs_cache" as temporary files store.
Exception in thread "main" org.renjin.eval.EvalException: Could not resolve native method 'dplyr_combine_vars' in package 'dplyr'
at org.renjin.primitives.Native.findMethodByName(Native.java:574)
at org.renjin.primitives.Native.findMethod(Native.java:547)
at org.renjin.primitives.Native.redotCall(Native.java:363)
at org.renjin.primitives.R$primitive$$Call.apply(R$primitive$$Call.java:62)
at org.renjin.eval.Context.evaluateCall(Context.java:407)
at org.renjin.eval.Context.evaluate(Context.java:282)
at org.renjin.eval.Context.evaluate(Context.java:264)
at org.renjin.primitives.special.BeginFunction.apply(BeginFunction.java:38)
at org.renjin.eval.Context.evaluateCall(Context.java:407)
at org.renjin.eval.Context.evaluate(Context.java:282)
at org.renjin.eval.Context.evaluate(Context.java:264)
at org.renjin.eval.Context.evaluate(Context.java:198)
at org.renjin.sexp.Closure.doApply(Closure.java:98)
at org.renjin.eval.ClosureDispatcher.apply(ClosureDispatcher.java:80)
at org.renjin.eval.ClosureDispatcher.applyClosure(ClosureDispatcher.java:51)
at org.renjin.sexp.Closure.apply(Closure.java:83)
at org.renjin.eval.Context.evaluateCall(Context.java:407)
at org.renjin.eval.Context.evaluate(Context.java:282)
at org.renjin.eval.Context.evaluate(Context.java:264)
at org.renjin.primitives.special.AssignLeftFunction.assignLeft(AssignLeftFunction.java:57)
at org.renjin.primitives.special.AssignLeftFunction.apply(AssignLeftFunction.java:41)
at org.renjin.eval.Context.evaluateCall(Context.java:407)
at org.renjin.eval.Context.evaluate(Context.java:282)
at org.renjin.eval.Context.evaluate(Context.java:264)
at org.renjin.primitives.special.BeginFunction.apply(BeginFunction.java:38)
at org.renjin.eval.Context.evaluateCall(Context.java:407)
at org.renjin.eval.Context.evaluate(Context.java:282)
at org.renjin.eval.Context.evaluate(Context.java:264)
at org.renjin.eval.Context.evaluate(Context.java:198)
at org.renjin.sexp.Closure.doApply(Closure.java:98)
at org.renjin.eval.ClosureDispatcher.apply(ClosureDispatcher.java:80)
at
答案 0 :(得分:0)
由于您的代码尚未提交,因此我基于两个假设编写:1)您正在使用Maven作为依赖管理工具,并且2)您仅将Renjin作为项目依赖项
在这种情况下,我想您的POM文件缺少以下链接中的行:http://packages.renjin.org/package/org.renjin.cran/dplyr/0.7.4
但是,如果已经设置了依赖关系,则我认为发生上述错误是因为该软件包的Renjin实现(如上面的链接中所述)仍未完全起作用。从我已经看到的情况来看,大多数高度依赖C / C ++代码的软件包要比纯R软件包花费更多的时间才能完全发挥功能-一个例子是Forecast软件包,它花了大约两年时间才可以使用。 >