search for: cmiller

Displaying 17 results from an estimated 17 matches for "cmiller".

Did you mean: miller
2003 Oct 07
1
.First.lib doesn't appear to be running after calling lib rary()
...works for me. > My guess is that > the problem is using a filename that starts with ".". I see > many packages > put the .First.lib in zzz.R, so I just follow that. > > HTH, > Andy > > > -----Original Message----- > > From: Crispin Miller [mailto:CMiller at PICR.man.ac.uk] > > Sent: Tuesday, October 07, 2003 10:00 AM > > To: R-help (E-mail) > > Subject: [R] .First.lib doesn't appear to be running after > > calling library() > > > > > > Hi - so I've dusted off the C bits of my brain and gotten a...
2004 Jan 22
1
File permissions and packages, openVignette
Hi, I've got a quick question about file permissions and packages... I'm creating my own package, and am having problems with its vignette not being seen when I install it into R... As I understand it, the permissions of the source tree should be as follows: o Directories - drwxrwxr-- o Files - -rw-r--r-- Everything builds and runs through 'R CMD check' fine with
2007 Feb 04
1
FreeBSD Compile Errors
Hi everyone: I'm trying to compile Asterisk on FreeBSD 6.0-RELEASE and I'm getting the following error: cc -O2 -fno-strict-aliasing -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -DMAKE_VALGRIND_HAPPY -I/usr/local/include -L/usr/local/lib -I/usr/local/include/spandsp -DZAPTEL_OPTIMIZATIONS
2008 Feb 25
0
APC Back-UPS XS 1500 LCD support (was: New supported UPS for your list)
...Linux / Unix Expert R&D - MGE Office Protection Systems - http://www.mgeops.com Network UPS Tools (NUT) Project Leader - http://www.networkupstools.org/ Debian Developer - http://people.debian.org/~aquette/ Free Software Developer - http://arnaud.quette.free.fr/ "Chad Miller" <cmiller at fishlake.us> 25/02/2008 04:23 A <arnaud.quette at mgeups.com> cc Objet New supported UPS for your list Hello, I've used your NUT software successfully with the APC Back-UPS XS 1500 LCD ( http://www.apc.com/resource/include/techspec_index.cfm?base_sku=BX1500LCD ). I...
2007 Apr 18
0
[PATCH 2/21] i386 Always relax segments
...#39;s, however, will - * respect a 64k limit, so we use that. If you want to be pedantic and - * hold your BIOS to its claims, then undefine this. - */ -#define APM_RELAX_SEGMENTS - -/* * Define to re-initialize the interrupt 0 timer to 100 Hz after a suspend. * This patched by Chad Miller <cmiller@surfsouth.com>, original code by * David Chen <chen@ctpa04.mit.edu> @@ -2294,9 +2283,20 @@ static int __init apm_init(void) set_base(bad_bios_desc, __va((unsigned long)0x40 << 4)); _set_limit((char *)&bad_bios_desc, 4095 - (0x40 << 4)); + /* + * Set up the long jum...
2007 Apr 18
0
[PATCH 2/21] i386 Always relax segments
...#39;s, however, will - * respect a 64k limit, so we use that. If you want to be pedantic and - * hold your BIOS to its claims, then undefine this. - */ -#define APM_RELAX_SEGMENTS - -/* * Define to re-initialize the interrupt 0 timer to 100 Hz after a suspend. * This patched by Chad Miller <cmiller@surfsouth.com>, original code by * David Chen <chen@ctpa04.mit.edu> @@ -2294,9 +2283,20 @@ static int __init apm_init(void) set_base(bad_bios_desc, __va((unsigned long)0x40 << 4)); _set_limit((char *)&bad_bios_desc, 4095 - (0x40 << 4)); + /* + * Set up the long jum...
2003 Oct 06
4
Apply and its friends
Hi, Forgive a very basic question... I need to take two lists-of-lists, and apply a function to each pair of elements in the lists to return a single list... For example l1 <- list(1:5,6:10,2:15) l2 <- list(1:8,4:12,1:19,4:20) I could easily do an lapply across each of them, but is there a function that does a sort-of pairwise-apply across both together? Does anybody know of a good
2003 Oct 07
1
Optimising code
Hi, Does anyone have any advice on speeding up R functions (short of re-implementing them in C :-) )? I have a function that applies a wilcoxon test to 12 sets of about a quarter of a million pairs (and takes about 3 hours). I've replaced the inner loop I had originally with a function call via mapply, and also considered different approximations of the wilcoxon, rather than that which is
2003 Oct 07
1
.First.lib doesn't appear to be running after calling library()
Hi - so I've dusted off the C bits of my brain and gotten a library written for my package... It passes R CMD check ok, and I've put a file called '.First.lib.R' in the pacakge's 'R' subdirectory. Its permissions are 644. It says: .First.lib <- function(lib,pkg) { library.dynam("foo",pkg,lib); require(affy,quietly=TRUE); } I build and INSTALL
2003 Oct 17
2
environments
Hi, I have a string representing an environment: "bob" And an environment > bob <environment: 0x3901234ac> How do write a function that takes the string and returns the environment? Crispin -------------------------------------------------------- This email is confidential and intended solely for the use o...{{dropped}}
2003 Nov 12
2
Alpha values
Hi, Does anyone know whether it is possible to construct a colour for plotting with an alpha value as well as simply specifying rgb values? Crispin -------------------------------------------------------- This email is confidential and intended solely for the use o...{{dropped}}
2007 Apr 25
1
R CMD CHECK and require() / library() methods
Hi, I have a piece of code that decides at runtime whether to load a data package (and which package to load). This is then done with a call to: library(x) (where x is a character variable containing the package name). This causes R CMD check to throw out a warning: 'library' or 'required' calls not declared from: x Does anyone have any suggestions as to a fix or
2005 Apr 28
1
Selecting font sizes graphics device
Dear all, Im' using matrix() and layout() to set up a fairly complex plot... I was wondering if anyone can point me to something that describes the appropriate incantations to determine, given a text string, the maximum font size that will allow it to fit into the current plotting area without being trunucated? best wishes, Crispin --------------------------------------------------------
2007 Sep 28
0
off topic: Job advert - computational biologist
Hi, I hope you don't mind me posting this to the list: We are seeking a postdoctoral scientist to join the Applied Computational Biology and Bioinformatics group at the Paterson Institute for Cancer Research. The role will be to develop novel approaches for the analysis of high throughput genomic data, such as those arising from Affymetrix microarray experiments. We are an
2005 Sep 01
3
Matrices with a single column
Hi, I've got a quick question about what happens when indexing into matrices with a single column. I was wondering if anyone can help ... For example: > x <- matrix(1:10) > y <- cbind(x,x) > x[4:6,] [1] 4 5 6 > y[4:6,] [,1] [,2] [1,] 4 4 [2,] 5 5 [3,] 6 6 > class(x[4:6,]) [1] "integer" > class(y[4:6,]) [1] "matrix" It seems that R
2003 Oct 31
2
Creating packages in 1.8
Hi, I decided to upgrade to 1.8 today... :-) Anyway, we are writing our own package that is dependent on a bioconductor library - 'affy'. I've checked and when I fire up R, library(affy) behaves as expected... so it all seems to be installed and OK... In the DESCRIPTION file in my package source I have the line: Depends: affy When I run R CMD check simpleaffy I get to: ... *
2003 Oct 07
3
FW: Optimising code
>> I have a function that applies a wilcoxon test to 12 sets of about a quarter of a million pairs > ... and let me guess: everything is significiant to an almost arbitrary > value of \alpha? :-) For each of quarter of a million sets, I do a wilcoxon between two pairs each containing twenty numbers... I do this 12 times... > > (and takes about 3 hours). I've replaced the