Skip to content
Prev 4935 / 10988 Next

[Rcpp-devel] How to increase the coding efficiency

And actually, i got three different types of errors:

1)Error in betahat(ker, inv[l], cbind(inv[1:ll], inv[(ll + 1):(2 * ll)]),  :
  unused argument(s) (n = 1)
Calls: system.time ... apply -> FUN -> betahat -> .External -> cpp_exception
Execution halted

2)Error in betahat(ker, inv[l], cbind(inv[1:ll], inv[(ll + 1):(2 * ll)]),  :
  promise already under evaluation: recursive default argument reference or
ear\
lier problems?
Calls: system.time ... apply -> FUN -> betahat -> .External -> cpp_exception
Execution halted

3)*** caught segfault ***
address 0x1, cause 'memory not mapped'
Error in betahat(ker, inv[l], cbind(inv[1:ll], inv[(ll + 1):(2 * ll)]),  :
  badly formed function expression
Calls: system.time ... apply -> FUN -> betahat -> .External -> cpp_exception
Execution halted

And I really have no idea what is the problem.

Best wishes!

Honglang Wang

Office C402 Wells Hall
Department of Statistics and Probability
Michigan State University
1579 I Spartan Village, East Lansing, MI 48823
wangho16 at msu.edu



On Tue, Dec 11, 2012 at 10:16 AM, Honglang Wang
<wanghonglang2008 at gmail.com>wrote:

            
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/rcpp-devel/attachments/20121212/7a047615/attachment.html>