Displaying 2 results from an estimated 2 matches for "attempt2".
Did you mean:
attempt
2008 Dec 10
1
First call to constructor fails (R.oo)
...-11) successfully loaded. See ?R.oo for help.
[1] "Attempt1"
[1] 1
Error in print(param) : argument "param" is missing, with no default
===
Yet a second attempt, within the same session, calling the same constructor
with the same parameters works!
=== Code: ===
print ("Attempt2");
obj = MyClass(1);
print(obj);
=== Output: ===
[1] "Attempt2"
[1] 1
[1] "MyClass: 0x140154948"
====
What I am doing wrong? Seems that the constructor definition does not come
fully into effect before I call if for the first time (apparently too late)
thanks in advanc...
2006 Dec 09
1
WinBUGS14 and R
...rnorm(J), b=rnorm(J), b.hat=rnorm(1), sigma.y=runif(1),
sigma.b=runif(1))}
ineq.parameters <- c("a", "b", "b.hat", "sigma.y", "sigma.b")
ineq1 <- bugs (ineq.bugs, ineq.inits, ineq.parameters, "C:/Documents and
Settings/Chris/Desktop/4330/attempt2.bug", n.chains=3, n.iter=10,
debug=TRUE)
After I run the R code, R will crash and WinBUGS14 will post this in the
log:
display(log)
check(C:/Documents and Settings/Chris/Desktop/4330/attempt2.txt)
expected left pointing arrow <- or twiddles ~
data(C:/Documents and Settings/Chris/data.tx...