Displaying 20 results from an estimated 2000 matches similar to: "Potential Error/Bug?: addition of NULL during arithmetic"
2008 May 22
1
tests/ok-errors.R ## bad infinite recursion
I've come across a handful of tests that
fail at our site. I consider this one the
worst because the process does not return.
The patch below simply bypasss the test,
but the errors in the out file are included
as well. I suspect this is due to more or
tighter ulimits on this system.
But I'm not sure if this is result of
different expectations (kernel/userland) of
what should be done in
2009 Mar 19
1
Overriding Queue Wrapup Time
Is there a way to override the queue wrapup time on the fly?
I would like to allow a longer wrapup time for my agents, but if they
are already done with closing up the call ticket, I would like them to
be able to dial an extension or something to override the wrapup.
Is there a way to do that?
--
Regards,
Robert Broyles
2010 May 24
1
Error during wrapup: cannot open the connection
I am trying to use a new (to me) package (samr) and even when I try to run a
very simple example, I get this "cannot open the connection" error.
The reason I am writing to r-help rather than to the authors of samr is I
think this may be a more general R problem rather than a samr-specific
problem. Perhaps something with my installation and write access to some
particular place ? I am
2012 Mar 26
2
Error during wrapup: incorrect number of dimensions
when subsetting a matrix results in a single row, it is converted to a
vector, not a matrix.
how do I avoid this?
1. __GOOD__
> edges <- get.edges(g,E(g))
> edges
[,1] [,2]
[1,] 0 2
[2,] 0 3
[3,] 0 4
[4,] 0 5
[5,] 1 1
[6,] 0 4
[7,] 0 6
[8,] 0 7
[9,] 0 8
[10,] 0 9
[11,] 0 5
[12,] 0 10
[13,] 0 11
2007 Jan 30
2
R crashes when used from within rpy (PR#9481)
Full_Name: Jose Gaetan Pierre
Version: 2.4.1
OS: Fedora Core 6
Submission from: (NULL) (196.27.87.14)
I have been using R from within rpy for a while because I am more familiar with
Python syntax. I first noticed this bug with R-2.4.0.
Screendump: ------------------------------
>>> from rpy import *
>>> beer = r.scan()
1: 3 4 1 1 3 4 3 3 1 3 2 1 2 1 2 3 2 3 1 1 1 1 4 3 1
26:
2005 Feb 15
3
using poly in a linear regression in the presence of NA f ails (despite subsetting them out)
This smells like a bug to me. The error is triggered by the line:
variables <- eval(predvars, data, env)
inside model.frame.default(). At that point, na.action has not been
applied, so poly() ended being called on data that still contains missing
values. The qr() that issued the error is for generating the orthogonal
basis when evaluating poly(), not for fitting the linear model itself.
2005 Feb 15
3
using poly in a linear regression in the presence of NA f ails (despite subsetting them out)
This smells like a bug to me. The error is triggered by the line:
variables <- eval(predvars, data, env)
inside model.frame.default(). At that point, na.action has not been
applied, so poly() ended being called on data that still contains missing
values. The qr() that issued the error is for generating the orthogonal
basis when evaluating poly(), not for fitting the linear model itself.
2017 Nov 29
2
SAMseq errors
Hi, I am trying to using SAMseq() to analyze my RNA-seq experiment (20000 genes x 550 samples) with survival endpoint. It quickly give the following error:
> library(samr)Loading required package: imputeLoading required package: matrixStats
Attaching package: ?matrixStats?
The following objects are masked from ?package:Biobase?:
? ? anyMissing, rowMedians
Warning messages:1: package ?samr? was
2009 Jan 08
1
NAs are not allowed in subscripted assignments
Browse[1]> j <- c(1,2,NA)
Browse[1]> j[j==1][-1]
[1] NA
Browse[1]> j[j==1][-2]
[1] 1
Browse[1]> j[j==1][-2] <- 2
Error during wrapup: NAs are not allowed in subscripted assignments
As far as I can see, I have no NA in the lhs (not after the second
subscript anyway).
Besides, I have a single value on the rhs, so it should be allowed to
have NAs in the lhs, according to
2012 Jul 10
1
Negative years with strptime?
Is there a way to make as.Date() and strptime() process strings with
negative years? It appears that Date objects can contain negative years and
you can convert them to strings, but you can't convert them back to Date
objects.
x <- as.Date(c("0001-01-24", "0500-01-24"))
as.character(x)
# "0001-01-24" "0500-02-02"
as.Date(as.character(x))
#
2009 Dec 13
1
debug an error that incapacitates R?
Dear all
How should I attempt debugging this error?
> sosInit()
Error: invalid connection
When this happens R refuses to run anything:
> 2+2
Error: invalid connection
> sessionInfo ()
Error in stdout() : invalid connection
Debugging it seems impossible.
> options(error=recover)
> sosInit()
Error: invalid connection
Error during wrapup: invalid connection
The error also
2008 May 16
1
var/sd and NAs in R2.7.0
Hello all,
I just upgraded to R 2.7.0 and found that the behavior of 'var' and 'sd'
have changed in the presence NAs (this wasn't explicit in the NEWS file,
though I see it probably has to do with the change for cor/cov). Anyway,
I just want to make sure that it was intentional to produce an error
when there was all NAs and na.rm=TRUE, rather than returning an NA (like
R
2011 Jul 14
1
recursive function - finding connections
Dear all,
I'm having some problems getting my recursive function to work. At first I though that maybe my data was too big and I increase option(expressions=50000). Then I thought that I would try it on some smaller data. Still not working. :(
I would have thought there should be a function for this already, so any suggestions are welcomed for other methods. I did try igraph but couldn't
2017 Nov 29
0
SAMseq errors
Sorry forgot to use plain text format, hope this time it works:
Hi, I am trying to using SAMseq() to analyze my RNA-seq experiment (20000 genes x 550 samples) with survival endpoint. It quickly give the following error:
> library(samr)
Loading required package: impute
Loading required package: matrixStats
Attaching package: ?matrixStats?
The following objects are masked from
2023 Nov 21
1
[External] Re: Error in setwd(dir) when initializing R
Dear Ana
When you installed R it gave you an option to put a shortcut on the
desktop. If you did that then you can start the R GUI by clicking on it.
You may need to customise it for your preferences. Specifically it
starts R with an option cd-user-docs which I delete and I then alter the
starting option to start in the directory I want. You may have different
preferences of course.
Try
2007 Jul 05
1
Missing TRANSFER event in queue log when using Local Channels
Has anyone observed a problem where using Local channels with AddQueueMember
results in missing TRANSFER events?
Right now I'm using straight SIP channels when I call AddQueueMember(). I'm
contemplating moving to Local channels because the non-state-based
wrapuptime blows when you have a channel in multiple queues (they can hang
up and get a call immediately so long as it's from a
2003 Sep 28
1
infinite recursion during package installation with methods, setAs
I ran into a problem recently trying to update a package which uses S4
methods using a recent beta of R. I think I can reproduce it with a
simple example. I have package called `testpkg' in directory testpkg/.
In the R/ subdirectory of testpkg/ I have a file called testpkg.R which
contains the following two lines:
setClass("testpkg", representation(pts = "list"))
2005 Sep 13
3
Call Wrapup time for agents.
Hi all,
I was wondering if there was a way to deal with "wrap up" time for
agents slightly better than we do it at the moment.
At the moment, we set a wrap up time of 20 seconds for each of our call
queues. The problem with this is that sometimes it's either too long or
two short.
I would essentially like to have all agents put into wrap up straight
after a call, and have to
2012 May 15
1
vector w/o arithmetic addition for boxplot
Hello,
I am having trouble asking R to read individual numeric vectors for a box
plot of the residuals of a linear regression. It is performing arithmetic
addition on the 16 individual variables that I want individual box plots
for.
I have 16 race*treatment variables that were created from cleaned
data.frames for race and treatment independently: t1W, t1B.....t4W, t4B,
t4H, t4O.
class(t1W)
2013 May 01
1
Call "stuck" in queue
Asterisk 11.1.0
One queue with strategy=leastrecent. (Full queues.conf below.)
Occasionally (several times today), a caller will get "stuck" in the
queue - there are operators available to take the call, but the caller
stays in the queue for a long time. Any idea what might cause this, or
where I can start looking to debug it? I'm going to start digging
through the queue log