similar to: how to change the class of a group of objects

Displaying 20 results from an estimated 10000 matches similar to: "how to change the class of a group of objects"

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 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
2009 Aug 16
2
Mix font families in a single label?
Dear R-help community: I have been searching for an elegant solution to the question posed in my subject. I would like to be able to use any of the R functions like text() or mtext() to display some text with mixed font families. For example, a label like "huge-class background load", where the word "huge" is in Courier and the rest is in the default family (or any other
2009 Jul 20
2
data frame from list of lists with unequal lengths
Hello, I have a dataset with multiple entries in one field separated by "/" characters. (The true dataset has long names, 20-odd variables, and hundreds of observations.) v1 v2 1 A L 2 A/B M 3 C N 4 D/E/F O 5 A P 6 C L What I would like is to have a dataset that looks like this instead: > my.df v1 v2 1 A L 2 A M 3 B M 4 C N 5 D O 6 E O
2003 May 19
2
Illegal instruction on a new asterisk build.
Hi. I have asterisk (cvs build from tonight) running fine on a RedHat9 box, with zaptel hardware. On a second RedHat9 box (with no zaptel hardware) I've built the same version, apparently with no errors, but immediately upon invoking asterisk I get: Illegal instruction. running under gdb, it shows that its failing in ast_ulaw_init as shown below: [New Thread 16384 (LWP 1097)] Program
2005 Dec 07
4
Maintaining factors when copying from one data frame to another
Greetings all: OK, this is bugging the @#@%* out of me. I know the answer is simple and straightforward but for the life of me I cannot find it in the documentation, in the archives, or in my notes (because I know I've encountered this in the past). My problem is: I have a data frame with columns A, B, C, D, and E. A, B, and E are factors and C and D are numeric. I need a new data frame with
2000 Dec 29
1
[kdo@cosmos.phy.tufts.edu: protocol incompatibility between OpenSSH and SSH secure shell?]
Hello all! I didn't see anyone else reply to this, but I also didn't see anything show up on the OpenSSH development list (Cc'ed here). There is a patch call out right now for the pending release of 2.4.0. I'm wondering if anyone is aware of this and if it's already been covered in 2.4.0? Please reply to list and original poster... ----- Forwarded message
2005 Jan 06
1
Calculating a table of symbol frequencies
Hello all: I have a protein sequence alignment in a data frame (align1, 72 x 236), where each row is a protein and each column a site in the alignment. AA is vector of amino acid symbols plus "-" (gap). I can calculate amino acid frequencies at each site by: >align1.F <- matrix(0,nrow=22,ncol=236,dimnames=list(AA,seq(1:236))) >for(i in 1:236) >
2005 Mar 01
1
Two problems building a package
Hello all: I have written a few R scripts and am trying to turn them into a package for submission to CRAN. All of these scripts are R code only, no C or C++ or anything else. I'm working with R 2.0.1 running on a Windows XP machine. So far running ">rcmd install --build --docs=normal mypkge" seems to work (i.e., the library "mypkge" is installed in R\rw2001\library and
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
2020 Jan 15
2
[EXTERNAL] Re: Tripp Lite SMART1500LCD will not stay shut down when power is disconnected
Thanks Ken. I'll plan to sit down and look up the protocol information over the next week or so and follow up. ________________________________ From: Ken Olum <kdo at cosmos.phy.tufts.edu> Sent: Tuesday, January 14, 2020 1:35:10 PM To: David Zomaya Cc: kdo at cosmos.phy.tufts.edu; layne.fowler at gmail.com; nut-upsuser at alioth-lists.debian.net Subject: [EXTERNAL] Re: [Nut-upsuser]
2005 Dec 29
1
Help with Kriging
R Experts, I'm looking for some help with the geoR package. I'm trying to krig some data without using a global neighborhood. I would like to set my moving neighborhood to a distance, say 100 meters, where I know my data is spatially correlated. I have tried the ksline function, but that only allows my moving neighborhood to be set to a number of data points. But, since my data
2005 Jan 03
1
Calculating symbol (letter) frequencies
Hello: I am attempting to use R to analyze amino acid frequencies in aligned protein sequences and need some help. So far, I have imported my sequence alignment into a data frame (lets call it "alignment") with each site in one column, so that I have a data frame consisting of columns of letters (the 21 amino acid symbols plus "-") with row names being the corresponding
2011 Sep 27
0
[LLVMdev] Greedy Register Allocation in LLVM 3.0
Hi Jakob, Yes. I have references. For example, from the top of my head I would name the following papers: 1)  A Generalized Algorithm for Graph-Coloring Register Allocation by Michael D. Smith, Norman Ramsey and Glenn Holloway      http://www.cs.tufts.edu/~nr/pubs/gcra-abstract.html 2) Register allocation by puzzle solving by Fernando Magno Quintão Pereira, Jens Palsberg    
2010 Jan 25
2
[LLVMdev] question on instruction selection
Hi, I was wondering how exactly instruction selection works in LLVM. As I'm not aware of any document describing it, I'll ask here :) So, the tablegen files that each backend implements describe the mapping between selection DAG nodes and assembly instructions (and optionally? their binary encoding). The selection DAG (one per basic block) is produced "by hand" directly
2013 Nov 16
2
[LLVMdev] struct with signed bitfield (PR17827)
On 2013 Nov 15, at 19:41, Mark Lacey <mark.lacey at apple.com> wrote: > I don’t have the C/C++ standards in front of me but IIRC whether a char/short/int/long/long long bitfield is signed or unsigned is implementation defined. You need to explicitly specify signed or unsigned in order to have any guarantee of the signedness, e.g. signed int. Section 3.9.1 of the C++11 standard [1]
2011 May 19
5
identical function names from 2 packages
Hi, If I load 2 packages that have a function with the same name, how do I tell R to run one or the other? (Instead of having R automatically use the first- or last-loaded one, whichever it is. (Which is it, by the way.)) Cheers! Nick -- ==================================================== Nicholas J. Matzke Ph.D. Candidate, Graduate Student Researcher Huelsenbeck Lab Center for