A second patch for R-0.50-a1 is available from
ftp://stat.auckland.ac.nz/pub/R
The patch produces the following changes
o cpoly problem with pow_di fixed.
o legend had a call to "text" with an incorrect argument tag.
Changed "text" to "labels".
o The variable "dup" was uninitialised in the function
"naoktrim" in
src/main/dotcode.c.
o There have been some fixes to the color support code and there
is now a function palette which allows a user to specify the
palette to be used when the value of col= is numeric.
o Problems pointed out in "unlist" are fixed.
o A parsing problem for "if" statements in argument lists is fixed.
Enjoy
Ross
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To:
r-devel-request@stat.math.ethz.ch
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Thank you for these patches, especially the new color scheme! ``As always'' (;-) some remarks: 1) cut(rep(1,5),4)>>>> Error: character variables must be duplicated in .C/.FortranWhich seems the old '*dup =0' problem, but is NOT (identical at least) [Yes, I made sure that the above was applied dotcode.c] This seems only for cut(...), not for approx(.), spline(.) or lowess(.) which also use .C(...). Further note that cut(.) had no problems in 0.50-Alpha-2 2) I think that given the definition in src/include/Fortran.h , src/appl/cpoly.c should rather use POW_DI(.) instead of pow_di(.). It probably won't matter for most (all?) installations, since it only becomes important when #ifdef NONSTANDARD_F77LIBS is true 3) Important(IMHO) bugs [besides '1)' above] remaining: i. browser() ## -> seg.fault ii. options(digits ..) still ``fails'' when used in non-global environments (see my earlier posts) -------- Martin =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-devel-request@stat.math.ethz.ch =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
[[ R-0.50 Alpha-3 --- i.e. both patches applied to 0.50-a1 ]]
There are less problems, but I think two remain
1) Peter Dalgaard's example {which "includes" Kurt's
unlist(lm(..))}
> unlist(list(1,2,x~y))
[[1]]
[1] 1
[[2]]
NULL
[[3]]
NULL
2) [unreported yet:]
l.ex <- list(a = list(1:5, LETTERS[1:5]), b = "Z", c = NA)
unlist(l.ex) #-- now 'okay' in 0.50-a3 !!
unlist(l.ex, recursive=FALSE) #-- --- recursive has no effect!
##-------------
which returns the same as the default recursive = TRUE
whereas S gives
S> unlist(list(a = list(1:5, LETTERS[1:5]), b = "Z", c = NA), rec =
FALSE)
$a1:
[1] 1 2 3 4 5
$a2:
[1] "A" "B" "C" "D" "E"
$b:
[1] "Z"
$c:
[1] NA
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To:
r-devel-request@stat.math.ethz.ch
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
>>>>> Ross Ihaka writes:> A second patch for R-0.50-a1 is available from > ftp://stat.auckland.ac.nz/pub/R > The patch produces the following changes> ...scale() is still missing ... -k =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-devel-request@stat.math.ethz.ch =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
It would be nice for the save file name .RData to be a variable in config.site (unless the machine-independent files are coming very soon). We are currently running R on a cluster with both sparc-solaris and intel-linux machines, which don't like each other's .RData files. At the moment I edit the source files by hand to change the name to .RData-linux. On a related topic, has anyone given any more thought to installing multiple binaries in the same directory tree (as suggested some time ago by Greg Warnes)? This could save quite a lot of space as well as making it easier to keep different operating systems synchronised. Thomas Lumley ------------------------------------------------------+------ Biostatistics : "Never attribute to malice what : Uni of Washington : can be adequately explained by : Box 357232 : incompetence" - Hanlon's Razor : Seattle WA 98195-7232 : : ------------------------------------------------------------ =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-devel-request@stat.math.ethz.ch =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-