Displaying 20 results from an estimated 1000 matches similar to: "Error: NA/NaN/Inf in foreign function call (arg 1)"
2009 Mar 25
1
Requesting help with lattice again
Hello, this is a request for assistance that I submitted earlier, this time
with the dataset. My mistake for taking up bandwidth. I've also rephrased
the question to address an additional concern.
I'm working on a windows XP machine with R 2.8.1
1). I'd like a barchart (or other lattice type display) HSI ~ of the three
factors (Region, Scenario and HydroState).
However
2005 Oct 24
0
In da.norm Error: NA/NaN/Inf in foreign function call (arg 2)
I am conducting a simulation study generating multivariate normal data,
deleting observations to create a
data set with missing values and then using multiple imputation via
da.norm in Schafer's norm package.
>From da.norm, I get the following error message: "Error: NA/NaN/Inf in
foreign function call (arg 2)"
The frequency of the error message seems to depend on the ratio of n
2003 May 16
0
glmmPQL, NA/NaN/Inf in foreign function call (arg 3)
Dear all,
I try to fit a glmmPQL on a huge data with 384189 individuals id=1:384189:
working in 1520 establishments est:1:1516. The minimum number of individuals
in every establishment is 30.
This works for a subsample excluding establishemnet cells smaller than 100,
but fail when we include smaller cells:
R> summary(glmmPQL(count ~
+ I( age-ave(age,est) )* ave(age,est) +
+ I(
2013 Feb 12
0
NA/NaN/Inf in foreign function call (arg 6) error from coxph
Dear R-helpers:
I am trying to fit a multivariate Cox proportional hazards model,
modelling survival outcome as a function of treatment and receptor
status. The data look like below:
# structure of the data
str(sample.data)
List of 4
$ survobj : Surv [1:129, 1:2] 0.8925+ 1.8836+ 2.1191+ 5.3744+
1.6099+ 5.2567 0.2081+ 0.2108+ 0.2683+ 0.4873+ ...
..- attr(*, "dimnames")=List of 2
2005 Jul 06
1
Error message NA/NaN/Inf in foreign function call (arg 6) when using knn()
I am trying to use knn to do a nearest neighbor classification. I tried using my dataset and got an error message so I used a simple example to try and understand what I was doing wrong and got the same message. Here is what I typed into R:
try
[,1] [,2] [,3] [,4]
r "A" "A" "T" "G"
r "A" "A" "T" "G"
f
2006 Jul 06
0
pvclust Error:NA/NaN/Inf in foreign function call (arg 11)
Hi all,
I'm new to R and I'm struggling to decipher an error message. Briefly, I am trying to use the pvclust package to do hierarchical clustering of some CGH data. The data is from the Progenetix CGH database. It is arranged as a table where each column is a single case and each row is a single chromosome band. The value in each cell is either 0, 1, 2, or -1. Corresponding to no change,
2004 Aug 26
1
EM norm package (NA/NaN/Inf in foreign function call (arg 2))
Greetings!
I am bootstrapping and I am using EM in the norm package to fill in missing
data for a financial time series with each step of the loop. For the most
part EM works fine for me, but the following error message is guaranteed
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
2013 Feb 13
2
NA/NaN/Inf in foreign function call (arg 6) error from coxph function
Dear R-helpers:
I am trying to fit a multivariate Cox proportional hazards model,
modelling survival outcome as a function of treatment and receptor
status. The data look like below:
# structure of the data
str(sample.data)
List of 4
$ survobj : Surv [1:129, 1:2] 0.8925+ 1.8836+ 2.1191+ 5.3744+
1.6099+ 5.2567 0.2081+ 0.2108+ 0.2683+ 0.4873+ ...
..- attr(*, "dimnames")=List of 2
2009 May 18
2
Superscripts and subscripts in trellis graphics
I'd like to annotate an xyplot with an R^2 value, but can not find the
syntax to define the superscript format for the text.
I'd appreciate suggestions,
xyplot(SharkSloughEggs.df$Sharkeggs.rel +
SharkSloughEggs.df$SharkHatched.rel + SharkSloughEggs.df$SharkFlooded.rel +
HSI.shark$MEAN ~ Year,
pch=c(1,9,5,4), lty=c(1,6,3,4), lwd = c(2), col = c("black",
2011 Dec 13
1
NA/NaN/Inf in foreign function call question
Dear all,
I have a datafile where I run haplo.GLM analyses using several variables (a
matrix). However, when I include a certain binary variable (0,1) I get this
message
Error: NA/NaN/Inf in foreign function call (arg 4)
I don't get an error when I include another binary variable, again with only
0,1.
Both variables don't have missing values, they only have 0 and 1.
Why do I get an
2006 Jan 13
1
glmmPQL: Na/NaN/Inf in foreign function call
I'm using glmmPQL, and I still have a few problems with it.
In addition to the issue reported earlier, I'm getting the following
error and I was wondering if there's something I can do about it.
Error in logLik.reStruct(object, conLin) : Na/NaN/Inf in foreign
function call (arg 3)
... Warnings:
1: Singular precistion matrix in level -1, block 4
(...)
4: ""
The
2009 Mar 24
1
Help with lattice
Hello.
I'm working on a windows XP machine with R 2.8.1
I'm working with lattice and I don't understand how to set the size of the
text for the labels. Can anyone suggest a solution?
I'm establishing a melted dataframe first and then setting a key and
calling the plot as follows;
> key.variable <- list(space = "right", text =
list(levels(wbirdm$variable)),
2012 Jul 31
2
phantom NA/NaN/Inf in foreign function call (or something altogether different?)
Dear experts,
Please forgive the puzzled title and the length of this message - I
thought it would be best to be as complete as possible and to show the
avenues I have explored.
I'm trying to fit a linear model to data with a binary dependent
variable (i.e. Target.ACC: accuracy of response) using lrm, and
thought I would start from the most complex model (of which
"sample1.lrm1" is
2009 May 05
1
setting trellis auto.key color values
I'm working with Lattice graphics and I would like very much to color code
the auto.key fill color with the same corresponding colors that I use in
the panels. I've looked on the web for clues, and on the CRAN-R help sites
searching on "trellis auto.key color" and variations, unfortunately the
responses there are not very specific.
Would someone please explain I have the
2005 Apr 26
3
Error using e1071 svm: NA/NaN/Inf in foreign function call
Hello,
As far I saw in archive mailing list, I am not the first person with this problem. Anyway I was not able to pass this error once the information I got from the archive it is not very conclusive for this case. I have used linear, radial and sigmoid kernels for the same data in the same conditions and everything is ok. This problem just happens with the polynomial kernel. I send the
2004 Jan 12
7
3.3v PCI board - TE410P photo
Hi-
I have posted a photo of the TE410P Digium card on my site,
so that those wishing to purchase a compatible motherboard
can see physically what the PCI slot requirement is:
http://www.evtmedia.com/TE410P.htm
I believe the required slot is a 64-bit, 3.3 Volt PCI, most
commonly found on Xeon-based motherboards. A 64-bit slot is
longer than the TE410P board requires, but the PCI connector
1998 Jul 22
0
R-beta: NaN & Inf: Thanks for your quick help
Thanks to Ted and Guido for your quick help, I think I know what
happened.
ernesto
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or
2008 Jul 25
0
fit.dist gnlm question, NaN and Inf results
I am attempting to fit discrete data (daily counts of arrivals of
recreational vessels at locks on a river) using the fit.dist package.
Some distributions return values of NaN and Inf for certain
situations, an example with Inf values is shown below.
# of vessels: 1 2 3 4 5
6 7 8 9 10 11
# of days with # of vessels: 35 20 10 5 6
2001 Feb 05
0
ov_time_tell returns NAN (-INF) after ov_time_seek to 0 s
Hello,
If you call ov_time_tell(vf) after a ov_time_seek(vf, 0), it returns Not A Number (Negative Infinity). I tested this
only using Win32 MSVC++ 6 Dynamic, Release. Does it also occur on other platforms?
Is this the right behaviour? Seems wrong to me. Anyway, it caused a range check error in my code, and a
divide by zero when I disable range checking (I'm using Borland Delphi 5). I
1998 Jul 22
1
R-beta: NaN & Inf
Can someone explain what this words (NaN and Inf) mean ? I get then as a
result of some matrix operations, in the end I have a matrix without any
figures just this words.
regards
ernesto
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing