=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
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
(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
\%\% 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
);
--
-- 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
(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
(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
, 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
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
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
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
it. :-/
--
-- David Brahm ([EMAIL PROTECTED])
__
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
reading.
--
-- David Brahm ([EMAIL PROTECTED])
__
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
(?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
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
(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
, 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
) 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
.
--
-- David Brahm ([EMAIL PROTECTED])
__
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
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
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
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
22 matches
Mail list logo