Displaying 20 results from an estimated 647 matches for "enclos".
2008 Oct 14
1
library MICE warning message
...In any(predictorMatrix[j, ]) ... : coercing argument of type 'double' to logical
11: In any(predictorMatrix[, j]) ... : coercing argument of type 'double' to logical
12: In any(predictorMatrix[j, ]) ... : coercing argument of type 'double' to logical
13: In eval(expr, envir, enclos) ... : non-integer #successes in a binomial glm!
14: In eval(expr, envir, enclos) ... : non-integer #successes in a binomial glm!
15: In eval(expr, envir, enclos) ... : non-integer #successes in a binomial glm!
16: In eval(expr, envir, enclos) ... : non-integer #successes in a binomial glm!
17: In...
2010 Sep 21
3
Error in eval(expr, envir, enclos)
...;- rlm (TotalEmployment_2004 ~ MISSISSIPPI + LOUISIANA +
TotalEmployment_2000 + PCWhitePop_2004 + UnemploymentRate_2004 +
PCUrbanPop2000 + PCPeopleWithACollegeDegree_2000 +
PCPopulation.of.or.over.65.years.of.age_2004)
summary (rfdmodel1)
But, I keep getting this error:
Error in eval(expr, envir, enclos) :
object 'TotalEmployment_2004' not found
> summary (rfdmodel1)
Error in summary(rfdmodel1) : object 'rfdmodel1' not found
I have tried using a different machine and that did not work either. Any
suggestions?
Uttara
--
View this message in context: http://r.789695.n4.nabbl...
2011 Mar 23
2
) Error in eval(expr, envir, enclos) : object '' not found
...y.sex.age.region.c.n
1 1980,F,A,N,-18.15,13.61
2 1980,F,A,N,-18.61,13.04
3 1980,F,A,N,-18.81,12.32
4 1990,F,A,N,-21.12,11.7
5 1990,F,A,N,-20.77,11.58
6 1990,F,A,N,-21.6,13.34
7 1990,F,A,N,-21.78,12.6
> model.anova<-aov(c~age*sex,data=data.sex)
Error in eval(expr, envir, enclos) : object 'age' not found
i just wanna do a anova test. but the error message is as above,,,
what should i do to shoot this problem ? Should i define the age?
--
View this message in context: http://r.789695.n4.nabble.com/Error-in-eval-expr-envir-enclos-object-not-found-tp3399503p...
From THE R BOOK -> Warning: In eval(expr, envir, enclos) : non-integer #successes in a binomial glm!
2010 Mar 30
3
From THE R BOOK -> Warning: In eval(expr, envir, enclos) : non-integer #successes in a binomial glm!
Dear friends,
I am testing glm as at page 514/515 of THE R BOOK by M.Crawley, that is
on proportion data.
I use glm(y~x1+,family=binomial)
y is a proportion in (0,1), and x is a real number.
I get the error:
In eval(expr, envir, enclos) : non-integer #successes in a binomial glm!
But that is exactly what was suggested in the book, where there is no
mention of a similar warning. Where am I going wrong?
Here is the output:
> glm(response.prepared~x,data=dddd,family=binomial)
Call: glm(formula = response.prepared ~ x, fami...
2005 Dec 21
2
Newbie - Summarize function
...the
largest "top" elements within one of the vectors (X). I would like to
process this summary statistic by groups. At this stage I have been trying
to use the "summarize" function within the Hmisc library but I am getting
the following error "Error in eval(expr, envir, enclos) : numeric 'envir'
arg not of length one In addition: Warning message: no finite arguments to
max; returning -Inf".
Any suggetsions on how I can fix this would be greatly appreciated.
Kind regards
Andrew
test <- read.table("test.csv", header=TRUE, sep=",")...
2013 Mar 19
1
source, sys.source and error line numbers
...###
> codefile <- tempfile()
> write("# some comment
+ # some good lines
+ a <- 1
+ # a bad line
+ stop('an error')
+ # another good line
+ b <- 2
+ ", file=codefile)
> # with source() the line number is displayed
> source(codefile)
Error in eval(expr, envir, enclos) : an error
> traceback()
5: stop("an error") at file46641af8754#5
4: eval(expr, envir, enclos)
3: eval(ei, envir)
2: withVisible(eval(ei, envir))
1: source(codefile)
> tryCatch(source(codefile), error= function(e){ str(e) })
List of 2
$ message: chr "an error"
$ call...
2018 Oct 05
2
Dots are not fixed by make.names()
....1"? "..13" "..."
`..1` <- 1
`..13` <- 13
`...` <- "dots"
mget(c("..1", "..13", "..."))
#> $..1
#> [1] 1
#>
#> $..13
#> [1] 13
#>
#> $...
#> [1] "dots"
`..1`
#> Error in eval(expr, envir, enclos): the ... list does not contain any
elements
`..13`
#> Error in eval(expr, envir, enclos): the ... list does not contain 13
elements
`...`
#> Error in eval(expr, envir, enclos): '...' used in an incorrect context
2012 May 15
1
Error in eval(expr, envir, enclos) : object 'Rayos' not found???
Hi R-listers,
I am trying to make a trellis boxplot with the HSuccess (y-axis) in each
Rayos (beach sections) (x-axis), for each Aeventexhumed (A, B, C) - nesting
event. I am not able to do so and keep receiving:
Error in eval(expr, envir, enclos) : object 'Rayos' not found
Please advise,
Jean
require(plyr)
resp <- read.csv("ABC Arribada R File Dec 12 Jean Jang.csv")
envir <- read.csv("Responses Environ. Arribada Dec. 12.csv")
resp <- resp[!is.na(resp$Aeventexhumed), ]
resp$QuadratEvent <...
2006 Feb 01
1
recover() (PR#8546)
...mber, or 0 to exit
1: window(test, start = c(15, 1), end = c(17, 1), extend = TRUE)
2: window.ts(test, start = c(15, 1), end = c(17, 1), extend = TRUE)
3: as.ts(window.default(x, ...))
4: window.default(x, ...)
5: function ()
6: eval(quote(browser()), envir = sys.frame(which))
7: eval(expr, envir, enclos)
Selection: recover()
Enter an item from the menu, or 0 to exit
Selection: 0
Browse[1]> recover()
Enter a frame number, or 0 to exit
1: window(test, start = c(15, 1), end = c(17, 1), extend = TRUE)
2: window.ts(test, start = c(15, 1), end = c(17, 1), extend = TRUE)
3: as.ts(window.default(x,...
2004 Aug 09
1
error when calling debugger()
...("last.dump.rda")
> debugger(last.dump)
Message: Error in split(x, f) : Group length is 0 but data length > 0
Available environments had calls:
1: try({
2: local(for (ticker in univ$ticker) {
3: eval.parent(substitute(eval(quote(expr), envir)))
4: eval(expr, p)
5: eval(expr, envir, enclos)
6: eval(quote(for (ticker in univ$ticker) {
7: eval(expr, envir, enclos)
8: local(for (i in l) {
9: eval.parent(substitute(eval(quote(expr), envir)))
10: eval(expr, p)
11: eval(expr, envir, enclos)
12: eval(quote(for (i in l) {
13: eval(expr, envir, enclos)
14: accumulate(accu, lapply(split(seq(le...
2005 Feb 17
1
Error in eval(expr, envir, enclos) : numeric envir arg not of length one
...ioF1ToF2 + rationF3ToF1 + jitter + shimmer + percentUnvoicedFrames
+ numberOfVoiceBreaks + percentOfVoiceBreaks + meanIntensity +
minimumIntensity + maximumIntensity + ratioIntensity + noSyllsIntensity
+ startSpeech + syllables)
I keep on getting this error message
Error in eval(expr, envir, enclos) : numeric envir arg not of length one
To be quite frank I am at a bit of a loss to know where to start looking
to solve the problem.
Any help most welcome.
Stephen
[[alternative HTML version deleted]]
2010 Dec 08
1
Error in eval.with.vis(expr, envir, enclos) : subscript out of bounds
...)
This file runs through without any problems, so the program completes the loop one time. However, when the loop starts a second time and it comes time to call the file "estimation.R" again, program stops and prints the following error message:
"Error in eval.with.vis(expr, envir, enclos) : subscript out of bounds"
This happens every time I try to run the program. What could cause it?
[[alternative HTML version deleted]]
2010 Oct 16
1
Error in eval(expr, envir, enclos) : object 'x' not found
...7 1.8015709
[10,] 65.43935 2.3483183
[11,] 22.44821 2.6010397
[12,] 44.45819 1.5806874
[13,] 35.95592 3.1190134
[14,] 67.51238 2.0328512
[15,] 27.31641 1.7261528
[16,] 37.01328 2.4907096
[17,] 36.14256 2.6417338
[18,] 55.04061 2.3596178
> predict(lm(x~y),IWJR.complete)
Error in eval(expr, envir, enclos) : object 'x' not found
>
I'm trying to find answers to solve my problem, but I cann't found what I
want to solve the problem.
What do I have to do to solve this problem.
Thank you very much.
Jumlong
--
Jumlong Vongprasert
Institute of Research and Development
Ubon Ratchathani...
2015 Jul 15
2
bquote/evalq behavior changed in R-3.2.1
...er reasons that he is not describing.
--
David.
> In R-3.1.3 we got
> rapply(list(quote(1+myNumber)), evalq, envir=list2env(list(myNumber=17)))
> #[1] 18
> rapply(list(quote(1+myNumber)), eval, envir=list2env(list(myNumber=17)))
> #Error in (function (expr, envir = parent.frame(), enclos = if
> (is.list(envir) || :
> object 'myNumber' not found
> lapply(list(quote(1+myNumber)), evalq, envir=list2env(list(myNumber=17)))
> #Error in eval(substitute(expr), envir, enclos) : object 'X' not found
> lapply(list(quote(1+myNumber)), eval, envir=list2env(list...
2016 Apr 20
1
locked environments
...onment
either all work or all fail? (All working would be nice, I think.)
E <- new.env()
assign("var", c(1,2,3,4), envir=E)
lockEnvironment(E, bindings=FALSE)
E$var[1] <- 101 ; E$var
#[1] 101 2 3
local(var[2] <- 102, envir=E)
#Error in eval(expr, envir, enclos) :
# cannot add bindings to a locked environment
with(E, var[3] <- 103)
#Error in eval(expr, envir, enclos) :
# cannot add bindings to a locked environment
eval(quote(var[4] <- 104), envir=E)
#Error in eval(expr, envir, enclos) :
# cannot add bindings to a locked envir...
2008 Aug 13
1
Arguments to lm() within a function - object not found
...g wrong. I have the following:
lmwrap <- function(...) {
wts <- somefunction()
print(wts) # This works, wts has the values I expect
fit <- lm(weights=wts,...)
return(fit)
}
If I call my function lmwrap, I get the the following error:
> lmwrap(a~b)
Error in eval(expr, envir, enclos) : object "wts" not found
A traceback gives me the following:
8: eval(expr, envir, enclos)
7: eval(extras, data, env)
6: model.frame.default(formula = ..1, weights = wts, drop.unused.levels =
TRUE)
5: model.frame(formula = ..1, weights = wts, drop.unused.levels = TRUE)
4: eval(expr, env...
2007 Jun 07
1
MITOOLS: Error in eval(expr, envir, enclos) : invalid 'envir' argument
R-users & helpers:
I am using Amelia, mitools and cmprsk to fit cumulative incidence curves
to multiply imputed datasets. The error message that I get
"Error in eval(expr, envir, enclos) : invalid 'envir' argument"
occurs when I try to fit models to the 50 imputed datasets using the
"with.imputationList" function of mitools. The problem seems to occur
intermittently, depending on the type of model that I try to fit to the
datasets as well as the previous c...
2009 May 04
1
ellipsis problem
...39;m confused about the use of ellipsis in function arguments. I'm trying
to write a wrapper for plot to automate the combination of plot() and
points() calls for a data.frame. Some arguments seem to get passed
through to the inner plot, while others cause an error:
Error in eval(expr, envir, enclos) :
..1 used in an incorrect context, no ... to look in
As a minimal example:
tmp <- data.frame(Y = sample(1:10, 40, replace = TRUE),
X = sample(1:10, 40, replace = TRUE))
myplot <- function(x, ...) {
plot(Y ~ X, data = x, ...)
}
myplot(tmp) ## works fine
myplot(tmp,...
2006 Jun 03
3
More on bug 7924
...1}, attrib = 0x508818,
gengc_next_node = 0x6db278, gengc_prev_node = 0x8442b8, u =
{primsxp = {
offset = 2}, symsxp = {pname = 0x2, value = 0x230002acc2,
internal = 0x21000090}, listsxp = {carval = 0x2, cdrval =
0x230002acc2,
tagval = 0x21000090}, envsxp = {frame = 0x2, enclos =
0x230002acc2,
hashtab = 0x21000090}, closxp = {formals = 0x2, body =
0x230002acc2,
env = 0x21000090}, promsxp = {value = 0x2, expr = 0x230002acc2,
env = 0x21000090}}}
#0 DEBUG_SET_NAMED (x=0x85cfd8, v=2) at ../../../r-devel/r-devel/
R/src/main/main.c:1444
#1 0x00002...
2009 Dec 06
2
Error in eval(expr, envir, enclos) : object 'N' not found
I'm running an LSODA to generate some graphs, but I need to stop at a certain
point and use those values to generate another LSODA output. This is
working fine, but when I try to run the second LSODA, I get the "Error in
eval(expr, envir, enclos) : object 'N' not found". Any ideas what can be
causing this? I have no object 'N' anywhere in the script. I made an
identical version of models states, parameters, and everything just by
adding 2 after each one, and I'm still getting this error.
Thanks,
-Hans
::CODE:...