similar to: R 2.5.1 - Rscript through tee

Displaying 20 results from an estimated 1600 matches similar to: "R 2.5.1 - Rscript through tee"

2006 May 15
2
Truncated labels in hist (PR#8864)
Hi, people. Executing the following command: hist(rpois(100,5), labels=TRUE) yields a graphic in which some labels are truncated (on an X11 device). The truncated labels are those over the highest bars. The hist function should ideally manage enough room for the labels, automatically. (Specifying ylim solves my problem, but yet, hist could be frienlier.) --please do not edit the
2006 Feb 01
1
Difficulty with qqline in logarithmic context
Hi, R friends. I had some difficulty with the following code: qqnorm(freq, log='y') qqline(freq) as the line drawn was seemingly random. The exact data I used appears below. After wandering a bit within the source code for "abline", I figured out I should rather write: qqnorm(freq, log='y') par(ylog=FALSE) qqline(log10(freq)) par(ylog=TRUE)
2006 Jun 04
4
xy.coords(MATRIX) bug in code or documentation (PR#8937)
Hi, people. xy.coords() does not behave like its documentation says, when given some matrices. ?xy.coords says: If 'y' is 'NULL' and 'x' is a [...] formula [...] list [...] time series [...] matrix with two columns [...] In any other case, the 'x' argument is coerced to a vector and returned as *y* component [...] Now, consider this short
2006 Feb 23
1
Tiny documentation error for ?options (PR#8633)
Hi, people. The output produced by "?options" contains: 'expressions': sets a limit on the number of nested expressions that will be evaluated. Valid values are 25...500000 with default 1000. [...] and a bit further down: The 'factory-fresh' default settings of some of these options are [...] 'expressions'
2006 May 27
0
Correction to ?alist (PR#8904)
Hi, people. ?alist says: 'alist' is like 'list', except in the handling of tagged arguments with no value. As written, this description is misleading. For example: > list(e=3+5) $e [1] 8 > alist(e=3+5) $e 3 + 5 We are not in the situation of tagged arguments with no value, and then, clearly, 'list' and 'alist' behave
2006 Jun 03
0
Irregularity in stem() display (PR#8934)
Hi, R people. Consider the following small R session: ======================================================================> > a <- c(8.48, 9.58, 9.96) > stem(a) The decimal point is at the | 8 | 8 | 5 9 | 9 | 6 10 | 0 > stem(round(a,1)) The decimal point is at the | 8 | 5 9 | 9 | 6 10 | 0
2006 Mar 28
1
Error once having applied (PR#8718)
Hi, people. Here is a transcript of a "R --vanilla" session: ======================================================================> R : Copyright 2005, The R Foundation for Statistical Computing Version 2.2.1 (2005-12-20 r36812) ISBN 3-900051-07-0 R est un logiciel libre livr?? sans AUCUNE GARANTIE. Vous pouvez le redistribuer sous certaines conditions. Tapez 'license()'
2006 Feb 22
1
Spurious output white line in R script (PR#8631)
I noticed that R scripts produce a spurious white line after output. For example, the following shell script, #!/bin/sh R --slave --vanilla <<EOF cat("Hello\n") EOF when made executable under the name ``hello`` along the search path, behaves like this: $ hello | od -bc 0000000 110 145 154 154 157 012 012 H e l l o \n \n 0000007 The second newline is
2008 Feb 14
1
Small encoding question
Dear developeRs, Compilation of the latest version (0.9-5) of my actuar package fails with r-release MacOS_X ix86 on CRAN; see http://www.R-project.org/nosvn/R.check/r-release-macosx-ix86/actuar-00check.html All errors come from accented letters in comments in latin-1 encoded files (except hierarc.R which is in UTF-8, my bad). Encoding is declared as latin-1 in DESCRIPTION. The package
2009 Nov 24
1
Encoding problems.
Hello, I use: R version 2.9.2 (2009-08-24) Copyright (C) 2009 The R Foundation for Statistical Computing ISBN 3-900051-07-0 on Ubuntu 9.10, I usually run R from ESS (5.4 on current Unbuntu) from Emacs-22.2.1. But I also tried the following from the console and it gave the same results. I have a data file containing lots of European characters, French, German, Italian and so on. I can read it
2007 Oct 27
1
having problems re-ordering a dataframe
Dear R users, I need to reorder a dataframe using 3 variables for the determine the sorting order. When I create a simple dataframe to test the method, things work as I expected: a1 <- rep(1:10, each=8) a2 <- rep(rep(1:2, each=4), 10) a3 <- rep(c(1:4),20) (a <- data.frame(a1, a2, a3)) for each combination of a1 and a2, a3 is increasing t <- order(a$a1, a$a2, rev(a$a3)) b
2009 Jul 23
2
alternative to rbind within a loop
Hi, I often have to do this: select a folder (directory) containing a few hundred data files in csv format (up to 1000 files, in fact) open each file, transform some character variables in date-tiime format make into a dataframe (involves getting rid of a few variables I don't need concatenate to the master dataframe that will eventually contain the data from all the files in the
2009 Mar 10
4
puzzled by math on date-time objects
Hi, I don't understand the following. When I create a small artificial set of date information in class POSIXct, I can calculate the mean and the median: a = as.POSIXct(Sys.time()) a = a + 60*0:10; a [1] "2009-03-10 11:30:16 EDT" "2009-03-10 11:31:16 EDT" "2009-03-10 11:32:16 EDT" [4] "2009-03-10 11:33:16 EDT" "2009-03-10 11:34:16
2007 Jul 03
1
R 2.5.1 - ?factor examples, details
Hi, R people. In ?factor, in the "Examples:" section, we see: ## suppose you want "NA" as a level, and to allowing missing values. (x <- factor(c(1, 2, "NA"), exclude = "")) is.na(x)[2] <- TRUE x # [1] 1 <NA> NA, <NA> used because NA is a level. is.na(x) # [1] FALSE TRUE FALSE I'm a bit confused by this example, as I
2005 Apr 11
2
R_LIBS difficulty ?
Hi, R people. I'm shy reporting this, as a bug in this area sounds very unlikely. Did I make my tests wrongly? I'm still flaky at all this. Let me dare nevertheless, who knows, just in case... Please don't kill me! :-) Not so long ago, I wrote to this list: > (For now, [the library code] works only for me when I do _not_ use `-l > MY/OWN/LIBDIR' at `R CMD INSTALL'
2007 Aug 29
1
Excel (off-topic, sort of)
Except for the ability to perform circular recalculation, I believe that the closest programming analogy to a spreadsheet is a functional programming language. Check out Haskell (or LISP or Erlang) to do what you describe. -----Original Message----- From: r-help-bounces at stat.math.ethz.ch [mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of Fran?ois Pinard Sent: Wednesday, August 29, 2007
2005 Apr 09
1
R-generated animation of a polynomiograph
Hi, people. Two days ago, I sent to this list a little toy for exploring polynomiographs (yet, the mathematical formulas were not polynomials anymore, so the name is not really appropriate). After studying R calls, expressions and functions a bit more, I gave myself the homework of producing an animation out of my recent toy. The resulting animation, and also the sources, are available at:
2006 Jul 16
2
Matrices given to pt? [was: [R] for loops and counters]
Hi, people. I was a bit intrigued by the message quoted below. Indeed, if pt() is given a matrix, it returns a matrix. Should this feature be documented? ?pt speaks about "a vector of quantiles", and says nothing about the type of what it returns. The same might presumably apply to other distribution-related functions. ----- Forwarded message from Martyn Plummer <plummer at
2006 Jan 05
2
Suggestion for big files [was: Re: A comment about R:]
[ronggui] >R's week when handling large data file. I has a data file : 807 vars, >118519 obs.and its CVS format. Stata can read it in in 2 minus,but In >my PC,R almost can not handle. my pc's cpu 1.7G ;RAM 512M. Just (another) thought. I used to use SPSS, many, many years ago, on CDC machines, where the CPU had limited memory and no kind of paging architecture. Files did
2006 May 14
1
Suggestion for system.time()
Hi, people. A tiny suggestion for the system.time function. Could the returned vector have names? These could be like: c("User", "System", "Elapsed", "Sub.User", "Sub.System") That would then produce self-documenting output. -- Fran?ois Pinard http://pinard.progiciels-bpi.ca