Re: [Rd] bug in modulus operator %% (PR#7852)

2005-05-12 Thread Kjetil Brinchmann Halvorsen
tion(x, y) (x %% y) + y * ( x %/% y ) # should be x > test(1, 0.001) [1] 1.001 > test(1, 0.1) [1] 1.1 > test(1, 1) [1] 1 > test(1, 0.01) [1] 1.01 and this differences (well, not the third one) cannot be said to be rounding error. Kjetil On Thu, 12 May 2005 [EMAIL PROTECTED] wrote: O

[Rd] bug in modulus operator %% (PR#7852)

2005-05-11 Thread kjetil
The following can't be right, first rw2010: > 1 %% 0.001 [1] 0.001 Then rw2001: > 1 %% 0.001 [1] -2.081668e-17 > and the last seems about right. -- Kjetil Halvorsen. Peace is the most effective weapon of mass construction. -- Mahdi Elmandjra -- No

[Rd] docu of isoreg

2005-05-08 Thread Kjetil Brinchmann Halvorsen
s seem superfluous. Additionally, the help p;age could need \concept{monotonic} or \concept{monotonic regression} Kjetil Halvorsen. Peace is the most effective weapon of mass construction. -- Mahdi Elmandjra -- No virus found in this outgoing message. Checked by AVG Anti

[Rd] Re: [R] Warning from Rcmd check - data could not find data set

2005-04-30 Thread Kjetil Brinchmann Halvorsen
Prof Brian Ripley wrote: On Fri, 29 Apr 2005, Kjetil Brinchmann Halvorsen wrote: This is rw2010 from CRAN. When running Rcmd check on a package I get: Warning in utils::data(list = al, envir = data_env) : data set 'vowel.test' not found Warning in utils::data(list = al, envir

[Rd] docu buglet

2005-04-11 Thread Kjetil Brinchmann Halvorsen
generalizes the commonly known 2-sample Welch test to the case of arbitrarily many samples. I guess preformed should read performed Kjetil -- Kjetil Halvorsen. Peace is the most effective weapon of mass construction. -- Mahdi Elmandjra -- No virus found in this outgoing message

[Rd] cancor bug

2005-04-11 Thread Kjetil Brinchmann Halvorsen
106.75843.7576 > Look at xcoef: The coefficient for pop75 is mising. (I encountered this programming reduced rank regression). Kjetil -- Kjetil Halvorsen. Peace is the most effective weapon of mass construction. -- Mahdi Elmandjra -- No virus found in this outgoi

Re: [Rd] strange error with rw2010dev

2005-04-10 Thread Kjetil Brinchmann Halvorsen
The error reported below still occurs in todays (2005-04-08) rw2010beta, should I file a formal bug report? Kjetil. Kjetil Brinchmann Halvorsen wrote: With rw2010dev I get a strange protect(): protection stack overflow error with a small data frame which otherwise is usable: If anybody wants to

[Rd] intentional changes in rw2010alpha?

2005-04-04 Thread Kjetil Brinchmann Halvorsen
Is this changes intentional? Now Rcmd INSTALL --build --clean myPkg builds the tar.gz, and only then cleans. Also, files left by xemacs like myfile~ are now included in the tar.gz. I think this were excluded before? Intentional? -- Kjetil Halvorsen. Peace is the most effective weapon of mass

[Rd] strange error with rw2010dev

2005-03-28 Thread Kjetil Brinchmann Halvorsen
estmat: int [1:20, 1:4] 1 2 3 4 5 6 7 8 9 10 ... ..- attr(*, "class")= chr "AsIs" $ x : num 0.768 -0.462 0.450 0.476 -1.077 ... $ y : num 0.453 1.227 -1.514 -0.904 -0.129 ... $ z : int 10 4 15 19 14 3 9 17 18 5 ... > summary(testframe) Error: protect()

[Rd] docu buglet

2005-02-13 Thread Kjetil Brinchmann Halvorsen
The help page groupGeneric {base} refers (Math group) the defunct |tetragamma|, |pentagamma while the newer psigamma is not mentioned. Kjetil | -- Kjetil Halvorsen. Peace is the most effective weapon of mass construction. -- Mahdi Elmandjra -- No virus found in this outgoing

Re: [Rd] R-intro

2004-12-31 Thread Kjetil Brinchmann Halvorsen
light. file.show("morley.tab") mm <- read.table("morley.tab") suggestion mm <- data(morley) No. Although this looks easier, the whole point is to show people how to use read.table! Kjetil rm(fm, fm0) suggestion rm(fm, fm0, mm) objects(); rm(x, y, f, fa) suggestion

[Rd] small problem with R CMD check

2004-12-23 Thread Kjetil Brinchmann Halvorsen
subdirectory, the error disappears. Kjetil -- Kjetil Halvorsen. Peace is the most effective weapon of mass construction. -- Mahdi Elmandjra __ R-devel@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

[Rd] buglet in summary of a data frame

2004-12-23 Thread Kjetil Brinchmann Halvorsen
The following could probably behave better: > test$TESTFAC <- NULL > test NULL data frame with 8 rows > summary(test) Error in z[[i]] : subscript out of bounds In addition: Warning message: no finite arguments to max; returning -Inf (rw2001 on win XP) Kjetil -- Kjetil Halvorsen. Peace

Re: [Rd] RE: [R] SAS or R software

2004-12-21 Thread Kjetil Brinchmann Halvorsen
r(family="mono"). -G Greg, it works here under FC3: plot.new() par(family="mono") par(cex=8) strheight("foo") Just tested that on windows (rw2001), no problems. Kjetil [1] 0.1083942 Not sure where the difference is. Marc _

Re: [Rd] RFC install.packages() changes

2004-11-07 Thread Kjetil Brinchmann Halvorsen
menu and then moves downloaded packages to a c:\download... area which I use to burn CD-roms I distribute to many people. If a) is choosen I guess I could learn to use it from the command line, though. What is the problem with b)? Kjetil 2) ?packageStatus says Summarize information about in

[Rd] foreign(read.spss) in rw2000 and re2001beta

2004-11-06 Thread Kjetil Brinchmann Halvorsen
to ?read.spss this should result in a factor, but it results in all NA. Using the argument use.value.labels=FALSE, everything is read as expected. test <- read.spss("test.sav", to.=TRUE) test > only NA's Kjetil -- Kjetil Halvorsen. Peace is the most effective weapon

Re: problem with tcltk under Windows (was [Rd] RE: [R] one more Rcmdrproblem)

2004-11-04 Thread Kjetil Brinchmann Halvorsen
in classes .... Kjetil On Thu, 4 Nov 2004, Thomas Ruf wrote: Dear all, I'd like to use Rcmdr for teaching purposes but still have problems trying to use it under Windows XP. Everything works fine up to several minutes but then Rcmdr and R completely crash the second I hit a button or key. Th

Re: [Rd] Problem with make recommended

2004-10-26 Thread Kjetil Brinchmann Halvorsen
workshop. It's a small download, so no problem. Install also easy. Kjetil Clearly I can fix this myself messily, but I thought it might be useful feedback. Regards, John Marsland _ platform i386-pc-mingw32 arch i386 os mingw32 system i386, mingw32 status major2

[Rd] splinefun bug (PR#7290)

2004-10-15 Thread kjetil
The following reliably bombs R, or at least rw2000 (windows XP): test <- splinefun(vector(length=0), vector(length=0)) test(1) -- Kjetil Halvorsen. Peace is the most effective weapon of mass construction. -- Mahdi Elmand

[Rd] problems with bitmap images in windows XP

2004-10-06 Thread Kjetil Brinchmann Halvorsen
.off() and the background color is red. Similar symptoms with the other bitmap devices. The only mention about bitmap devices in the NEWS file for R2.0.0 is oThe png() and jpeg() devices (and the bmp() device under Windows) now allow a nominal resolution to be recorded in the file. So wh

Re: [Rd] rw2000dev: problems with library(foreign)

2004-09-24 Thread Kjetil Brinchmann Halvorsen
Uwe Ligges wrote: Just downloaded and installed todays rw2000beta, problem disappeared (as Patrick Burns also reported). Kjetil Kjetil Brinchmann Halvorsen wrote: Martin Maechler wrote: "Kjetil" == Kjetil Brinchmann Halvorsen <[EMAIL PROTECTED]> on Fri, 24 Sep 2004 10:10

Re: [Rd] rw2000dev: problems with library(foreign)

2004-09-24 Thread Kjetil Brinchmann Halvorsen
Martin Maechler wrote: "Kjetil" == Kjetil Brinchmann Halvorsen <[EMAIL PROTECTED]> on Fri, 24 Sep 2004 10:10:39 -0400 writes: Kjetil> I get the following >> library(foreign) Kjetil> Error in namespaceExport(ns, exports) : undefined Kjetil&g

[Rd] rw2000dev: problems with library(foreign)

2004-09-24 Thread Kjetil Brinchmann Halvorsen
I get the following > library(foreign) Error in namespaceExport(ns, exports) : undefined exports: write.foreign Error in library(foreign) : package/namespace load failed for 'foreign' with rw2000dev as of (2004-09-17 Kjetil -- Kjetil Halvorsen. Peace is the most effective w

[Rd] doc error for .First.lib

2004-09-18 Thread Kjetil Brinchmann Halvorsen
on the page http://developer.r-project.org/200update.txt which bans require etc. Kjetil -- Kjetil Halvorsen. Peace is the most effective weapon of mass construction. -- Mahdi Elmandjra __ [EMAIL PROTECTED] mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] Rcmd problems and questions, lazyloading

2004-09-18 Thread Kjetil Brinchmann Halvorsen
Uwe Ligges wrote: Kjetil Brinchmann Halvorsen wrote: Hola! I got past the problems I asked about two days ago, thanks. No I am updating CRAN package asypow (the daily package check on CRAN gave warnings due to .Rd problems, fixed). Now it PASSED Rcmd check (WindowsXP home edition, rw2000dev, on

[Rd] Rcmd problems and questions, lazyloading

2004-09-17 Thread Kjetil Brinchmann Halvorsen
S~1/Temp/Rbuild.852/asypow' ERROR * installation failed . . . but as it passed make check, DESCRIPTION obviuosly is there, so this must be symptoms of something else. Then, adding the line LazyLoad: FALSE to DESCRIPTION, Rcmd build --binary runs without problems! What is happeni

[Rd] Problems with Rcmd check in rw2000dev

2004-09-16 Thread Kjetil Brinchmann Halvorsen
y the same error. What does it mean: Error: restore file may be from a newer version of R -- no data loaded especially running under rw2000dev this doesn't seem to make sense! -- Kjetil Halvorsen. Peace is the most effective weapon of mass construction. --

Re: [Rd] reorder [stats] and reorder.factor [lattice]

2004-08-27 Thread Kjetil Brinchmann Halvorsen
e an option. I could make a reorder method for "factor" (which sounds like a good option to me), or rename it to something like reorderFactor. Make a reorder method for factor, which would be usefull also outside lattice, so could be in stats Kjetil halvorsen Deepayan __

[Rd] Packing of data files in packages

2004-08-27 Thread Kjetil Brinchmann Halvorsen
each data file individually and use the functions to read from zipped files, or are there some other solution? Did'nt find anything in "Writing R extensions". Kjetil __ [EMAIL PROTECTED] mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

[Rd] arima problems when using argument fixed=

2004-05-02 Thread kjetil
rima(x, order=c(1,0,0), xreg=t, include.mean=FALSE, init=init2, fixed=fixed1) Call: arima(x = x, order = c(1, 0, 0), xreg = t, include.mean = FALSE, fixed = fixed1, init = init2) Coefficients: ar1 t 0.9281 0 s.e. 0.0357 0 sigm

[Rd] docu typelet in ?lm

2004-04-25 Thread kjetil
?lm has A formula was an implied intercept term should probably be A formula has an implied intercept term Kjetil Halvorsen __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-devel

[Rd] segfault in approx() (PR#6809)

2004-04-21 Thread kjetil
This is R1.9.0, windows XP I run across the following: It is admittedly silly, but it shouldn't segfault: test <- list(y=1:100, x=rep(NaN, 100)) approx(test, xout=rep(NaN, 10)) Bombs! Kjetil Halvorsen __ [EMAIL PROTECTED] mailing li

[Rd] arima

2004-04-18 Thread kjetil
ode(ts.out) <- "double", or maybe inside arima() storage.mode(x) <- "double" storage.mode(xreg) <- "double" ? Kjetil Halvorsen __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-devel

[Rd] Sporadic error in kalmanSmooth

2004-04-03 Thread kjetil
ure(1000) Error in kalmanTorture(1000) : NA on iteration 1 . . . Starting a new session, using the same set.seed(123) gives another sequence of iteration numbers where failing. Kjetil Halvorsen __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-devel

[Rd] R1,9,0beta: strange summary of Date object

2004-04-01 Thread kjetil
970 date come from? Kjetil Halvorsen __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] Help Documentation

2004-03-28 Thread kjetil
I just wanted He told you stop sending them to R-bugs! When you get a little more experience, send them to r-help Then they will not clutter the R bug report list. Kjetil Halvorsen > to help. But, for others' sake, please reconsider the policy of not > gearing the internal R document

Re: [Rd] Help Documentation (PR#6712)

2004-03-28 Thread kjetil
I just wanted He told you stop sending them to R-bugs! When you get a little more experience, send them to r-help Then they will not clutter the R bug report list. Kjetil Halvorsen > to help. But, for others' sake, please reconsider the policy of not > gearing the internal R document

[Rd] Documentation typos/requests, R1.9.0 beta

2004-03-27 Thread kjetil
I am working with the precompiled rw1090beta as of 2004-03-23. ?ts has in section "See also" "Standard package 'ts' for many additional time-series functions." td does not longer exist. ?plot.ts example section uses library(ts) ?lines.ts example se

[Rd] R 1.9.0 alpha

2004-03-24 Thread kjetil
? Kjetil Halvorsen __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-devel

[Rd] Documentation of read.table

2004-03-09 Thread kjetil
The documentation of read.table could be a bit clearer if the explanation of the argument nrows makes clear that eventual header line(s) are not included. Kjetil Halvorsen __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman

[Rd] docu buglet in ?text (PR#4732)

2003-10-22 Thread kjetil
?text says ... Labels whose x, y, labels, cex or xol value is NA are omitted from the plot. I guess xol should be col? Kjetil Halvorsen __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-devel

[Rd] bug in fisher test---p-value cannot be Inf (PR#4688)

2003-10-20 Thread kjetil
67 502 otra 0 014 > fisher.test(religion, workspace=200) Fisher's Exact Test for Count Data data: religion p-value = Inf alternative hypothesis: two.sided Kjetil Halvorsen __ [EMAIL PROTECTED] mailing

Re: [Rd] --max-mem-size (PR#3562)

2003-07-25 Thread kjetil brinchmann halvorsen
icon to start Rgui (as you should), set this in the "Destino" field (sorry, that the name in spanish, don't know what it is in english). See also ?Memory Kjetil Halvorsen > > 2. > memory.size(max=TRUE) >[1] 25714688 >> memory.size() >[1] 197169

Re: [Rd] potential r bug (floor)

2003-06-24 Thread kjetil brinchmann halvorsen
et > > > floor(log10(1000)) > [1] 3 > On my windows XP machine (R1.7.1) i get: > floor( log10(1000) ) [1] 2 Why this difference between different XP machines? Kjetil Halvorsen __ [EMAIL PROTECTED] mailing list https://www.sta

[Rd] table( , exclude=NULL) for factor objects

2003-06-07 Thread kjetil brinchmann halvorsen
st 12345 333332 > table( as.factor(test), exclude=NULL) 1 2 3 4 5 3 3 3 3 3 so this seems not to work? What is strange is that this seems to work in example(table). Kjetil Halvorsen __ [EMAIL PROTECTE

[Rd] R-1.7.1beta_latest of 2 june

2003-06-03 Thread kjetil brinchmann halvorsen
I have just tried to compile this on Suse linux 7.1, and got only one warning; from the base package: undocumented object: manglePackageName Kjetil Halvorsen __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] R 1.7.1 beta is out

2003-06-03 Thread kjetil brinchmann halvorsen
, because testing the base package uses Orthodont from package nlme, and so make check fails if run before make recommended. This should maybe be changed in this file INSTALL. Kjetil Halvorsen > > I've wrapped up the first beta release of 1.7.1. It is available on > >

[Rd] R-devel (1.7 to be) on windows XP

2003-03-30 Thread kjetil brinchmann halvorsen
problems (most serious Tcl) I did'nt try to build the installers. One other "problem": INSTALL says that, among othres, hhc.exe needs to be in the path. I don't have it in the path, and more, does'nt know what it is or what it is supposed to do. Can this be cause of s

Re: [Rd] sample (PR#2546)

2003-03-05 Thread kjetil brinchmann halvorsen
] 1 # truncated So what to do with length one numerical arguments, truncate, as seems to be done (but not always): > sample(0.99) [1] 0.99 or round, or give an error if not a positive integer, or? However it is done it will surely break some code. Kjetil Halvorsen > &g

Re: [Rd] require vs library

2003-02-22 Thread kjetil brinchmann halvorsen
] "package:ctest" "Autoloads" "package:base" > library(nlme) > search() [1] ".GlobalEnv" "package:mva" "package:nlme" "package:nls" [5] "package:lattice" "package:grid""

Re: [Rd] table() with option "exclude=NULL" (PR#2491)

2003-01-24 Thread kjetil brinchmann halvorsen
es* label them, and as (unlike NaNs) it does not know what they > are, it *prints* them as blanks. (I wanted to change that but there was > resistance.) Why there were resistance? This seems like an obvious betterment! Kjetil Halvorsen __ [E

[Rd] Docu buglet in stripchart.Rd (PR#2450)

2003-01-13 Thread kjetil
In the description it says: stripchart produces one dimensional scatter plots (or dot plots) of the given data. These plots are are good should probably only be one time are Kjetil Halvorsen __ [EMAIL PROTECTED] mailing list http

[Rd] Problem with predict.nlme

2002-12-30 Thread Kjetil Brinchmann Halvorsen
t; "4" "5"Browse[1]> ndebug: if (any(wch <- is.na(match(levs, levsC {    stop(paste("Levels", paste(levs[wch], collapse = ","), "not allowed for",     i))}Browse[1]> ndebug: stop(paste("Levels&q