search for: tillinghast

Displaying 11 results from an estimated 11 matches for "tillinghast".

2009 Jan 21
2
encountering difficulty asking R to manipulate the correct columns in Expression Set class (object 4). (PR#13464)
Full_Name: Guy W. Tillinghast Version: 2.8.0 OS: Windows XP professional Submission from: (NULL) (24.248.24.3) I am encountering difficulty asking R to manipulate the correct columns in Expression Set class (object 4). I download the ALL data with: library(golubEsets) data(Golub_Merge) Note, the data has the samples not in...
2009 Nov 10
1
standardGeneric seems slow; any way to get around it?
...file, the lead item under total time is standardGeneric(). Furthermore, solve() and diag() have much greater total time than self time. ??? I assume there is some time-consuming decision going on in the usual functions; is there any way to avoid that and go straight to the calculaions? Thanks John Tillinghast [[alternative HTML version deleted]]
2006 Sep 21
3
Adding .R to source file keeps R from reading it?
Hi, I'm updating the LMGene package from Bioconductor. "Writing R Extensions" suggests that all source files (the ones in the R directory) have a .R ending, so I added it to the (one) source file. The next time I installed and ran R, R didn't understand any of the functions. I tried various things and eventually went back to the file and dropped the .R ending, installed, ran R.
2006 Oct 12
3
Rcmd not working on Windows
I changed the path to include C:\Program Files\R\R-2.3.1\bin, but Rcmd check [package] just returns an error: 'Rcmd' is not recognized as an internal or external command, operable program or batch file. Any ideas? I want to be able to compile this package on Windows. [[alternative HTML version deleted]]
2008 Apr 09
3
LSODA not accurate when RK4 is; what's going on?
I'm solving the differential equation dy/dx = xy-1 with y(0) = sqrt(pi/2). This can be used in computing the tail of the normal distribution. (The actual solution is y(x) = exp(x^2/2) * Integral_x_inf {exp(-t^2/2) dt} = Integral_0_inf {exp (-xt - t^2/2) dt}. For large x, y ~ 1/x, starting around x~2.) I'm testing both lsoda and rk4 from the package odesolve. rk4 is accurate using step
2009 Feb 15
2
Passing environments: why doesn't this work???
This is a trivial example I set up to see if I could pass an environment and use the variables in it (this is for a function that will be called many times and might need to use a lot of variables that won't be changing, so it seemed more sensible to use an environment). Here's the code: ######################### #The outer function run.internal.env <- function(x) { in.env <-
2008 Aug 22
2
Sending "..." to a C external
I'm trying to figure this out with "Writing R Extensions" but there's not a lot of detail on this issue. I want to write a (very simple really) C external that will be able to take "..." as an argument. (It's for optimizing a function that may have several parameters besides the ones being optimized.) I got the "showArgs" code (from R-exts) to compile and
2006 Sep 21
1
'help' information not modified when I modify man files
I am updating the Bioconductor package, LMGene. Thus I am modifying someone else's package, editing or writing new documentation, etc. When I modify the man files in LMGene and install the library, it doesn't change the 'help' that R gives you. The 'help' you actually get in R is the same as before. I haven't been able to find an explanation in "Writing R
2008 Dec 03
1
Taking slices with tensorA
I've set up a simple tensor with indices 'a' and 'b'. > ftable(B) b u v w x y a a1 0.001868954 0.403345197 0.030088185 0.137252368 0.142634612 a2 0.396935972 0.945219795 0.068828465 0.314180585 0.446338719 a3 0.752412200 0.748810918 0.125532631 0.471686930 0.345062348 a4 0.191103000 0.536607533 0.257740399
2009 Dec 21
1
mgcv with discrete covariates, interaction term
I'm trying to build a model with an overall smooth function for all the data, plus an additional smooth function for *some* of the data. If "ind" is my indicator variable (0 for some x, 1 for others), I imagined I could write it like this: gam.obj <- gam(y ~ s(x) + ind*s(x)) but this does not work. Does mgcv have a way of doing this? If not directly, is there a reasonable
2006 Sep 15
0
Trouble installing modified package
I am updating the CRAN package LMGene, and I'm having trouble installing the new version. I changed the working package name to WLMG so I could use the new version without removing the old version from the R directory. I set up R_LIBS to allow installation in a different directory. When I did R CMD INSTALL -l /linux-ws/tilling/Rlib WLMG it put the right files in the right place. However,