Displaying 20 results from an estimated 3000 matches similar to: "Mix font families in a single label?"
2009 Aug 17
1
FYI conflict between statnet, igraph
Dear R users:
There appears to be a conflict between the statnet package and the
igraph package.
With igraph loaded into memory, the network() function of statnet
failed, returning the error to the effect that the matrix being
converted was "not a graph object." Removing igraph from memory restored
statnet to proper function.
Apologies if this is redundant. I could not find this
2009 Nov 23
2
how to change the class of a group of objects
Dear R users,
I would like to change the class of a group of objects in R memory from
"numeric" to "dist". I can manipulate the class using
class(foo) <- bar
but I cannot get the same command to work on groups of variables. When I
use for() loops and lists of names, inevitably I have to specify
class(get("foo")) <- bar
which causes class() to return an
2009 Aug 17
0
multiple values for a factor using nodematch in ergm()
Greetings, and many thanks for any insight you can offer.
I have a network object on which I'd like to simulate an ergm() using
{statnet}. Since the network object is large, I have not copied it here.
Each vertex has an attribute "language" which can take on integer values
greater than or equal to 1.
Is there a way to use the nodematch argument of ergm(), such that it
searches for
2006 Nov 09
2
Single precision data behaviour with readBin()
Hi all,
I am running R version 2.4.0 (2006-10-03) on an i686 pc with Mandrake
10.2 Linux. I was given a binary data file containing single precision
numbers that I would like to read into R. In a previous posting,
someone suggested reading in such data as double(), which is what I've
tried:
> zz <- file(file, "rb")
> h1 <- readBin(con = zz, what = double(), n = 1, size
2003 May 13
2
Voicemail2 and MWI
We've been testing (aim:frziegler and aim:end1r) the Voicemail2 app for a
few days now, based on a CVS build from Monday, 5/12/03-23:15. Works
good! Thanks Mark!
We seem to have found a bug in the MWI (Message Waiting Indicator) logic.
By simply creating msg0000.txt files in both structures, e.g.:
for extension 4000:
voicemail1: /var/spool/asterisk/vm/4000/INBOX/msg0000.txt
2003 Jul 07
0
Problems with Hangup Detection in VoiceMail2.
Hi.
Has anyone experienced hangup detection problems with the VoiceMail2 app?
I have a console phone on the FXS port. When I call a SIP phone, and get
its voicemail greeting, I can enter the VoiceMail2 app, leave a message,
and then hit # to stop message recording.
Recording does stop, but the channel stays up inside the VoiceMail2 app
(as shown by a "show channels" command) for about
2003 Jul 09
0
SUMMARY: Problems with Hangup Detection in VoiceMail2.
Many thanks to Martin Pycko and Mark Spencer.
Mark's suggestion below was correct:
"Maybe it's stuck trying to send the e-mail notification. If you take
the e-mail address out of /etc/asterisk/voicemail.conf does that speed
it up?"
Indeed it did!
The problem turned out to be a 60second delay while invoking mail,
caused by a mis-configuration of my hostname and
2009 Nov 22
1
"Over-coloring" facets on persp() plot
Dear R Community:
Recently, I have managed to plot some really useful graphs of my
research data using persp(). I have even figured out how to overplot
rectangular regions (corresponding to submatrices) with a different
color. This is accomplished by using par(new=T). I am now searching
for a way to "highlight" a set of (possibly non-contiguous) facets with
a specific color,
2009 Oct 14
1
using mapply to avoid loops
Hello, I would like to use mapply to avoid using a loop but for some reason, I can't seem to get it to work. I've included copies of my code below. The first set of code uses a loop (and it works fine), and the second set of code attempts to use mapply but I get a "subscript out of bounds" error. Any guidance would be greatly appreciated. Xj, Yj, and Wj are also lists, and s2,
2009 Oct 29
3
Weird error: Error in xj[i] : invalid subscript type 'list'
I got the error. I haven't been able to get a stand along case so that
I can show it here. But could somebody give some clue on what could
cause this error? Since I never defined xj[i], I don't understand
where this error come from.
Error in xj[i] : invalid subscript type 'list'
2008 Jul 01
1
[.data.frame speedup
Below is a version of [.data.frame that is faster
for subscripting rows of large data frames; it avoids calling
duplicated(rows)
if there is no need to check for duplicate row names, when:
i is logical
attr(x, "dup.row.names") is not NULL (S+ compatibility)
i is numeric and negative
i is strictly increasing
"[.data.frame" <-
function (x, i, j,
2004 May 24
1
as.matrix.data.frame() in R 1.9.0 converts to character when it should (?) convert to numeric
Conversion of a data frame to a matrix using as.matrix() when a
column of the data frame is POSIXt and all other columns are numeric
has changed in R 1.9.0 from R 1.8.1. The new behavior issues a
warning message and converts to a character matrix. In R 1.8.1, such
an object was converted to a numeric matrix.
Here is an example.
#### R 1.9.0 ####
> foo <- data.frame(
2006 Jul 07
6
parametric proportional hazard regression
Dear all,
I am trying to find a suitable R-function for
parametric proportional hazard regressions. The
package survival contains the coxph() function which
performs a Cox regression which leaves the base hazard
unspecified, i.e. it is a semi-parametric method. The
package Design contains the function pphsm() which is
good for parametric proportional hazard regressions
when the underlying base
2017 Dec 01
1
Bug is as.matrix.data.frame with nested data.frame
Converting a data.frame with a nested data.frame to a matrix fails:
x <- structure(list(a = data.frame(letters)),
class = "data.frame",
row.names = .set_row_names(26))
as.matrix(x)
#> Error in ncol(xj) : object 'xj' not found
The offending code is here, in the definition of as.matrix.data.frame
(source/base/all.R):
for (j in pseq) {
2023 Aug 04
0
Welcome To McAfee Family #QSCW-9016071
Hey User,
Thank You for Your interest in shopping at McAfeedSolutions. Your
purchase of $271.60 USD was successful. The charge will be reflected on
your account within 24 hours.
**
*Customer Helpline:**833-978-2091*
*Order ID*: QSCW-9016071
**
*Date of Purchase:*Aug 04, 2023
_*
Customer Details:
*_*
Name: Philip Barone
*
*Address:*103 Ash Street Phoenix,Or, Medford, OR, 97504
*
2009 Nov 04
4
unexpected results in comparison (x == y)
Dear readers of the list,
I have a problem a comparison of two data from a vector. The comparison
yields FALSE but should be TRUE. I have checked for mode(), length() and
attributes(). See the following code (R2.10.0):
-----------------------------------------------
# data vector of 66 double data
X =
2008 Mar 03
7
help for the first poster- a simple question
Hi, there,
I cannot get accurate value for calculation.
for example:
ld<-sqrt(1*0.05*0.95*0.05*0.95)
0.05*0.95-ld=-6.938894e-18
0.05*0.95-ld==0 is False.
I met this problem in my program, how can I handle it. Thanks.
xj.
2003 Oct 02
3
Query: weighting cells in histogram
I have the 'breaks' for the histogram ('hist') but I want weight the cells instead of using actual observations. I thought that using freq=FALSE implied that the numbers in 'x' were weights but this turned out to be wrong.
Any help and/or comment is very much appreciated.
Regards,
M?rten
M?rten Bjellerup
Doctoral Student in Economics
School of Management and Economics
2003 Jun 18
1
suggestion for make.names
I would like to suggest a modification to the make.names() function.
The current implementation has two problems:
1. It doesn't check if a name matches an R keyword (like "function").
2. The uniqueness algorithm is not invariant to concatenation.
In other words,
make.names(c("a","a","a"),unique=T) !=
2003 Jun 18
1
suggestion for make.names
I would like to suggest a modification to the make.names() function.
The current implementation has two problems:
1. It doesn't check if a name matches an R keyword (like "function").
2. The uniqueness algorithm is not invariant to concatenation.
In other words,
make.names(c("a","a","a"),unique=T) !=