search for: khabie

Displaying 15 results from an estimated 15 matches for "khabie".

Did you mean: habit
2005 Apr 22
2
How to tell if R is running in batch mode
Hi Is there a way to programmatically tell whether R is running in batch or GUI mode? Thanks Dave _______________________________________________ David Khabie-Zeitoune Quantitative Arbitrage Brevan Howard Asset Management direct: +44 (0)20 7022 6167 mobile: +44 (0)7799 411 797 email: david.khabie-zeitoune@brevanhoward.com Almack House 28 King Street London SW1Y 6XA ________________________________________________ [[a...
2003 Jul 29
5
Sending emails from R under Windows
Hi Does anyone know of any R routines to send emails from R, under Windows? I thought about writing such a facility using the R(D)COM package to drive e.g. MS Outlook, but I don't want to reinvent the wheel. I have found a function Sys.mail in the library syskern, but this only works under Unix by shelling out a mail command. Thanks, David
2003 Jul 29
5
Sending emails from R under Windows
Hi Does anyone know of any R routines to send emails from R, under Windows? I thought about writing such a facility using the R(D)COM package to drive e.g. MS Outlook, but I don't want to reinvent the wheel. I have found a function Sys.mail in the library syskern, but this only works under Unix by shelling out a mail command. Thanks, David
2003 Jul 23
1
Passing references to data objects into R functions
...extract2 = function(object.name, index) { eval(parse(text = "temp = ", object.name, "[index, , drop=FALSE]", sep="")) # do some further manipulations here .... return(temp) } But this seems very messy. Is there a better way? Thanks for your help David Khabie-Zeitoune
2003 Sep 08
2
R video
Hi Does anybody know of any R packages under Windows to produce video files from a sequence of R graphs -- e.g. in .wmv or avi format? Thanks David
2003 Jun 13
1
RDCOM Client: processes not terminating
Hello I am using Duncan Lang's RDCOM Client package (available on omegahat.org) under R 1.7.0 and Windows XP Pro. Is this the right forum for questions about this package? In case it is, here is my question: Instances of COM objects do not seem to terminate as expected, but leave residual processes running. For example, if I try the simple example: E <-
2003 Jun 25
2
rw1062
hi I need 'rw1062.zip' since i can't get excel, R1070 or R1071 to work with the R (D)COM Server everything worked fine in the god rw1062 days the lapack routines can't be loaded 'unable to load shared library c:\r/moduleslapack.dll, the specified library could not be found' don't know if it's the forward slashes that anoys windows btw, the libraries are in the
2003 Jun 02
1
Help with factorized argument in solve.QP
Hi I'm having problems getting the "factorized" argument in solve.QP (part of the quadprog library) to work as expected. The helpfile states that when the factorized argument is set to TRUE, then the function requires the inverse of a square-root factor of the Hessian instead of the Hessian itself. That is, when factorized=TRUE, the Dmat argument should be a matrix R^(-1), such
2003 Jul 21
1
RODBC: problem saving a new table in an "Excel database"
Hi I am using package RODBC version 1.0-1 under R version 1.7.1 on Windows XP Pro. I am having problems writing a new table to an (Excel) database using sqlSave. I connect to an empty Excel spreadsheet using odbcConnectExcel (which, I believe, uses the Microsoft Excel Driver DSN). Then I try and save a new table to the database(spreadsheet) using SqlSave, but obtain an error message. Below is
2003 Aug 13
1
Mapping function dependencies
Hi Does anyone know of any automatic way of mapping out the dependencies of a function -- i.e. automatically listing which other functions that function calls? I tried using all.names or all.vars, but I can't get it to work on a function: e.g. > test = function(x, y) return(sin(x + y)*cos(x + y)) > all.names(expression(test)) [1] "test" I guess the problem is that all.names
2003 Jun 13
2
Layout of windows devices
Hi Is there a way to specify the location on the screen where a new graphics device opens, for example with a call to win.graph()? I'm using R 1.7.0 on Windows XP. Thank you. Regards, David
2003 Sep 11
3
Flipping a heatmap
Hi I am using the heatmap function in package mva to look at large correlation matrices visually. Is there any way to "flip" the output of heatmap plot left-right so that, if presented with a correlation matrix, it plots the unity elements in the correlation matrix along a diagonal from top left to bottom right? For example: library(mva) x = matrix(rnorm(1000), ncol=10) z = cor(x)
2003 May 29
3
Odd behavior of strptime
The example from the help page for strptime has the following oddity: > dates <- c("02/27/92", "02/27/92", "01/14/92", + "02/28/92", "02/01/92") > times <- c("23:03:20", "22:29:56", "01:03:30", + "18:21:03", "16:56:26") > x <-
2003 Jun 16
3
Constrained optimization
Greetings, R-Wizards: I'm trying to find an extremum subject to a nonlinear constraint. (Yes, I have perused the archives but have found nothing positive.) The details of the problem are these: In a paper published some years ago in Technometrics, ("Confidence bands for cumulative distribution functions of continuous random variables" Technometrics, 25, 77-86. 1983), Cheng and
2003 Sep 10
0
Multivariate Kalman filter with time-varying coefficients
Hi Does anyone know of any R code for estimating a *multivariate* state space model using a Kalman filter where the output matrix H(t) is time-varying but predictable (i.e. measurable w.r.t information at time t-1) in the observation equation y(t) = H(t) z(t) + R w(t)? [Here y(t) are the observations, z(t) is the state variable, w(t) the observation error and R R' the observation error