Displaying 2 results from an estimated 2 matches for "tariqkhan".
2004 Aug 26
1
EM norm package (NA/NaN/Inf in foreign function call (arg 2))
...d
before I hit the 200th scenario:
Iterations of EM:
1...2...3........348...349...Error: NA/NaN/Inf in foreign function call
(arg 2)
The following code should replicate the error by downloading the dataset
from the internet (it is not too big):
library(norm)
df<-download.file("http://www.tariqkhan.org/R/DataFromExcel.csv",
"C:/Program Files/R/d.csv")
mat<-as.matrix(read.table("C:/Program Files/R/d.csv", sep = ","))
s<-prelim.norm(mat)
rngseed(1234567)
thetahat<-em.norm(s, maxits = 1000, criterion = 0.0035)
Iterations of EM:
1...2...3........348......
2005 May 11
0
RODBC Oracle and VB automation with R(D)COM
I haven't been able to find any help on this and am really struggling.
I've been using RODBC 1.1-3 and R(D)COM v1.35 for a little over a year
successfully with my Access Database, and now im switching to Oracle 9i.
I use R 2.0.1 on a Windows XP platform, 1GB ram, 2GHz Intel Processor)
When I connect through the Rgui R console, the connection is successful
(but through VB the attempt