Re: [R] Adding 3D points

2004-08-26 Thread David Brahm
=blue) All hail to Ben Bolker, who kindly taught me this in March 2002. -- -- David Brahm ([EMAIL PROTECTED]) __ [EMAIL PROTECTED] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide

Re: [R] how to set the number format to pure numeric?

2004-08-24 Thread David Brahm
options(scipen=99) which sets a very high SCIentific notation PENalty. -- -- David Brahm ([EMAIL PROTECTED]) __ [EMAIL PROTECTED] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http

[R] Re: R equivalent of Splus rowVars function

2004-06-09 Thread David Brahm
(it's slower but more accurate). In real life I set the twopass default to FALSE, because in finance noise is always bigger than signal. I am cc'ing to R-help, as this is really an R question. -- -- David Brahm ([EMAIL PROTECTED]) colVars - function(x, na.rm=FALSE

Re: [R] unusual name in .Rd file: documenting an infix function

2004-03-08 Thread David Brahm
\%\% RAJA} \keyword{character} -- -- David Brahm ([EMAIL PROTECTED]) __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting

Re: [R] calling R from a shell script and have it display graphics

2004-02-13 Thread David Brahm
); -- -- David Brahm ([EMAIL PROTECTED]) __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Re: [R] force fixed format

2004-01-02 Thread David Brahm
(scipen=10), you are imposing an addition 10-character SCIentific notation PENalty whenever this comparison is made. Negative values would favor scientific notation. -- -- David Brahm ([EMAIL PROTECTED]) __ [EMAIL PROTECTED

Re: [R] Plot a sphere

2003-12-26 Thread David Brahm
(phi) z - rep(1, length(theta)) %o% cos(phi) for (j in seq(phi)[-1]) for (i in seq(theta)[-1]) { idx - rbind(c(i-1,j-1), c(i,j-1), c(i,j), c(i-1,j)) polygon(trans3d(x[idx], y[idx], z[idx], pmat)) } -- -- David Brahm ([EMAIL PROTECTED

Re: [R] R function help arranged in categorical order ?

2003-11-05 Thread David Brahm
, choose, ...) ?Startup ?Syntax ?build (PkgUtils page: R CMD build, R cmd check) ?connections (file, pipe, ...) ?pi (Constants page: LETTERS, letters, month.abb, month.name, pi) -- -- David Brahm ([EMAIL PROTECTED

Re: [R] R - S compatibility table

2003-10-21 Thread David Brahm
right=F). - Last argument of a replacement function must be named value in R. - tapply(1:3, c(a,b,a), sum) is a 1D-array in R, a vector in S. - probability distribution fcn's have arg log.x in R (ref: Spencer Graves) -- -- David Brahm ([EMAIL PROTECTED

RE: [R] How to upgrade R

2003-10-21 Thread David Brahm
ready. Just to add another layer of complication, actually we have another symbolic link /res/R/Rdb, which I (db) use, because I like to upgrade faster. So Rdb currently points to R-1.8.0. Symbolic links are your friend. -- -- David Brahm ([EMAIL PROTECTED

[R] [R-pkgs] Updated package: g.data v1.4

2003-10-17 Thread David Brahm
DDP that doesn't already have one. -- -- David Brahm ([EMAIL PROTECTED]) ___ R-packages mailing list [EMAIL PROTECTED] https://www.stat.math.ethz.ch/mailman/listinfo/r-packages

Re: [R] How to avoid automatic coercion to factor?

2003-09-03 Thread David Brahm
it. :-/ -- -- David Brahm ([EMAIL PROTECTED]) __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help

[R] General help pages

2003-08-18 Thread David Brahm
reading. -- -- David Brahm ([EMAIL PROTECTED]) __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help

Re: [R] General help pages

2003-08-18 Thread David Brahm
(?RdUtils, etc). I'd also suggest two additional general pages (which do not currently exist): ?System (system, .Platform, Sys.info, Sys.getenv, Sys.putenv, getwd, setwd) ?Graphics (covering plot, lines, points, segments, par, Devices) -- -- David Brahm ([EMAIL

Re: [R] 'format' problem

2003-08-04 Thread David Brahm
you feel like compiling a development version or waiting until 1.8.0, Andrew C. Ward's [EMAIL PROTECTED] suggestion is probably the simpler way to go: Ward sprintf(%.1e, 1234567) -- -- David Brahm ([EMAIL PROTECTED

[R] dev.copy()

2003-06-30 Thread David Brahm
(which=2)# Copy to png file R dev.off(3) # Close pdf R dev.off(2) # Close png The PDF comes out fine, but the PNG appears blank. Any ideas what I'm doing wrong? TIA. -- -- David Brahm ([EMAIL PROTECTED

Re: [R] breaks

2003-06-13 Thread David Brahm
, right=FALSE) - 1 [1] 1 3 1 1 3 4 1 2 2 2 -- -- David Brahm ([EMAIL PROTECTED]) __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help

Re: [R] R CMD BATCH --vanilla --slave produces unwanted lines

2003-05-31 Thread David Brahm
) line is unnecessary. Note an explicit q() at the end of the script eliminates a single blank line that occurs otherwise. So the test.R script is just: write(rnorm(4),) q() -- -- David Brahm ([EMAIL PROTECTED

Re: [R] network connection

2003-03-19 Thread David Brahm
. -- -- David Brahm ([EMAIL PROTECTED]) __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help

Re: [R] functions different in R and S

2003-02-19 Thread David Brahm
argument of a replacement function must be named value in R. - tapply(1:3, c(a,b,a), sum) is a 1D-array in R, a vector in S. -- -- David Brahm ([EMAIL PROTECTED]) __ [EMAIL PROTECTED] mailing list http

Re: [R] Pretty onscreen plots?

2003-02-19 Thread David Brahm
on Windows. I learned that png format works reasonably well, but the default resolution from png() was inadequate. I ended up using: bitmap(myfile.png, type=png16m, height=8.5, width=11, res=300) and you might try even higher resolutions (res=600). -- -- David Brahm

Re: [R] download CRAN packages and proxy config.

2003-02-18 Thread David Brahm
browser knows the machine that serves Proxy Auto-Configuration files, but I needed to get the name of an actual proxy server from our local guru. Hope that helps! -- -- David Brahm ([EMAIL PROTECTED]) __ [EMAIL PROTECTED