similar to: HTML help index generation problem with R under Windows

Displaying 20 results from an estimated 7000 matches similar to: "HTML help index generation problem with R under Windows"

2004 Sep 29
2
defining a template for functions via do.call and substit ute.
Here's one not-so-straightforward way: > f <- function(a, b) a + b > flist <- as.list(f) > names(flist)[1:2] <- c("x", "y") > flist[[3]] <- do.call("substitute", list(body(f), list(a=as.name("x"), b=as.name("y")))) > g <- as.function(flist) > g function (x, y) x + y HTH, Andy > From: john.gavin at ubs.com
2004 Sep 29
2
defining a template for functions via do.call and substitute.
Hi, Given a function fun <- function(a, b) a + b how do I generate the function 'function(x, y) x + y'? Working from the help files and Bill Venables' R-news article (June 2002), I have tried various permutations with substitute without success. e.g. do.call("substitute", list(fun, list(a = as.name("x"), b = as.name("y")))) Regards, John.
2007 Jul 31
0
R Programmer - finance - London based
Hi, UBS Investment Bank are looking for a skilled R programmer, seeking a career that combines computer science, applied statistics and finance. This position requires a person with a strong background in - R programming and R package maintenance. - Software development. - Design and implementation of efficient algorithms. especially for handling large datasets. - Data visualisation and
2004 Oct 06
3
lapply with argument "X"
Hi, I am probably making a simple mistake but I can't see it > X Error: Object "X" not found > exists("X") [1] FALSE > lapply("X", exists) [[1]] [1] TRUE Why is lapply producing true? Is it something to do with the first argument of lapply also being called 'X'? > version _ platform i386-pc-mingw32 arch i386
2005 Apr 24
0
utils::setRepositories bug when adding a local repository? (PR#7810)
Full_Name: John Gavin Version: 2.1.0 patched 18-04-05 OS: windows XP SP2 Submission from: (NULL) (139.149.1.203) Hi, I suspect that there may be a bug in utils::setRepositories(). Starting with > getOption("repos") CRAN CRANextra "@CRAN@"
2003 Oct 21
0
summary - controling x-labels in xyplot (lattice) when x is POSIX object
Hi, The solution to my problem is to use lattice:::calculateAxisComponents to calculate appropriate labels for the time axis in trellis plots. # For example, given x <- seq.POSIXt(strptime("2003/01/01", format = "%Y/%m/%d"), strptime("2003/10/01", format = "%Y/%m/%d"), by = "month") y <- rnorm(length(x)) dat <-
2007 Feb 05
2
Rconsole - setting the size and location of Windows help files (Rgui)
Hi, Using the Rconsole file I can specify the size and location of the Rgui windows on NT. e.g. # Dimensions (in characters) of the console. rows = 51 columns = 100 How can I specify the size of the help windows that popups when I ask for help? e.g. '?help' I would like the popup window to have say rows = 51 and columns = 100, just like the main window but a different location on the
2003 Oct 20
1
controling x-labels in xyplot (lattice) when x is POSIX object
Hi, V1.8.0 seems to allow DateTimeClasses as the x argument in xyplots (lattice). For example: x <- seq.POSIXt(strptime("2003/01/01", format = "%Y/%m/%d"), strptime("2003/10/01", format = "%Y/%m/%d"), by = "month") y <- rnorm(length(x)) dat <- data.frame(x= x, y = y) xyplot(y ~ x, data = dat, type = "b")
2004 Jul 15
1
formatting tables with long column names via package:xtable within Sweave
Hi, I use the excellent Sweave tools for writing documents but was wondering how to neatly print a data.frame with long column headings. I cant manage to do this via package:xtable. Typically the labels that I would like use for each column consist of more than one word, but even with just one word, the heading is often wider than the contents of the column. So the number of columns that fits
2006 Jun 19
1
lattice xyplot - aligning date labels so that they align with the grid lines in panel.grid
Hi, I have a basic question about aligning date labels for the x-axis in an xyplot so that they align with the grid lines from the panel.grid argument. For example, with x <- data.frame( date = seq(as.Date("2005/01/01"), as.Date("2006/06/01"), length.out = 20), value = runif(20)) xyplot(value ~ date, data = x, panel = function(x, y, subscripts, ...) {
2003 Jan 06
1
segments within a lattice graph
Hi, I would like to use the segments command within a lattice graph. Is this allowed in R in the same way as in SPlus? If not, what is the alternative? For example, the following produces vertical line segments between points in SPlus but in R the line segments are not shown. (I want to replicate in R what I see in SPlus.) What is my mistake? library(lattice) set.seed(123) dat <-
2007 Feb 12
0
job advertisement - finance - London based
Hi, The following job advert was already incorrectly sent to r-help so I am reposting here. We are looking for a skilled statistician/programmer seeking a career at the intersection of finance, applied statistics and computer science. This position requires a person with a strong background in - data analysis, - design and implementation of algorithms, - software development - statistical
2006 Apr 11
0
compiling a package on a pc - process is stalling
Hi, On a new pc, I am trying to 'CHECK' an R package containing only R code but the process is hanging and I cant see why. The 00check.log file shows * using log directory 'c:/temp/opRisk.Rcheck' * using R version 2.2.1, 2005-12-20 * checking for file 'opRisk/DESCRIPTION' ... OK * this is package 'opRisk' version '0.2' * checking if this is a source
2007 Feb 12
0
job advertisement - finance - London based
Hi, We are looking for a skilled statistician/programmer seeking a career at the intersection of finance, applied statistics and computer science. This position requires a person with a strong background in - data analysis, - design and implementation of algorithms, - software development - statistical methodology. The primary responsibilities are to develop software, using the R
2003 Jan 06
1
Re - segments within a lattice graph
Hi, The solution to my problem is to use 'lsegments' instead of 'segments' within lattice commands. (Although I wont forget again, a comment in the segments help file referring to 'lsegments' might help others not to make the same mistake in the future.) My thanks to Renaud Lancelot. Regards, John. John Gavin <john.gavin at ubsw.com>, Quantitative Risk Models
2002 Nov 05
0
summary: Sweave - documenting a long function
Hi, Here is a summary of the replies to my question yesterday about documenting a long function with Sweave. My thanks to those who replied. Friedrich Leisch suggested a work around which was copied to the mailing list so I wont repeat it here. This worked well. (I made a minor addition by adding braces around each chunk of code to make the output in the pdf file look a bit prettier. This seems
2006 Sep 28
2
calling R from within Java, using jri
Hi, I want to call R from within Java, using jri as per http://www.rosuda.org/software/jri/ So I am following the instructions in the README file for JRI 0.2-4. I have run 'sh configure.win' and 'make' and they seemed to be successful. (See below for the output from make, for example.) But when I try 'run.bat rtest' (with and without R command line arguments) the output
2002 Nov 04
2
Sweave - documenting a long function
Hi, I would like to use Sweave to document a long function. Is it possible to split the function's code into chunks such that Sweave will accept each chunk without complaining. I have tried various approaches without sucess but I feel sure that someone has done this already. Here is one attempt ============== % First, define the funciton header <<defFunHdr, eval=FALSE>>= x <-
2002 Oct 10
1
problem with Sweave on 1.6 on NT4
Hi, I recently compiled 1.6 on NT4 but I am having a problem with Sweave. Using the inbuilt 'Sweave-test-1.Rnw' file as an example: ------- > library(tools) > testfile <- file.path(.path.package("tools"), "Sweave", "Sweave-test-1.Rnw") ## create a LaTeX file Sweave(testfile) testfile <-
2007 Nov 08
1
Bug (?) in read.fwf
Hi, I'm trying to use read.fwf temp = read.fwf ("Raw data.txt", widths = c (11, 21, 10, rep (16, 6)) ,skip = 2, n = 2, stringsAsFactors = FALSE, strip.white = TRUE) but no matter what I do the strings are turned into factors. I believe it's the "n=2" parameter that causes the problem as it seems to work without this. Am I missing something? Thanks in advance,