Displaying 1 result from an estimated 1 matches for "lce_fixpoint_cc".
2018 Feb 02
1
R-gui sessions end when executing C-code
...s\R\R-3.3.3\bin\x64\Rgui.exe
Faulting module path: C:\Program Files\R\R-3.3.3\bin\x64\R.dll
Report Id: c78d7c52-72c5-40f3-a3cc-927323d2af07
Faulting package full name:
Faulting package-relative application ID:
####### How I call the C-function in R
dyn.load("C://users//jeshyb//desktop//myC//lce_fixpoint_cc.dll")
N = 10
H = 3
v <- rnorm(N*H)
mu <- 0.1
psi <- matrix(c(1,0,0.5,0.5,0,1),nrow=2)
K <- dim(psi)[1]
p <- rep(1/H,N*H)
error <- 1e-10
f<-function(p,v,mu,psi,N,H,K)
{
.Call("lce_fixp...