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

2005-05-12 Thread Kjetil Brinchmann Halvorsen
) + 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: On Wed, 11 May 2005 [EMAIL PROTECTED

[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 virus found

[Rd] docu of isoreg

2005-05-08 Thread Kjetil Brinchmann Halvorsen
. 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-Virus

[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 = data_env

[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

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

[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] 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

[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 is the most

[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

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

2004-12-21 Thread Kjetil Brinchmann Halvorsen
, 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 __ [EMAIL PROTECTED] mailing list https://stat.ethz.ch/mailman

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

2004-11-07 Thread Kjetil Brinchmann Halvorsen
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 installed packages

[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 of mass construction

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 minor

[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 Elmandjra __ [EMAIL

[Rd] problems with bitmap images in windows XP

2004-10-06 Thread Kjetil Brinchmann Halvorsen
) now allow a nominal resolution to be recorded in the file. So what has happened? Kjetil -- Kjetil Halvorsen. Peace is the most effective weapon of mass construction. -- Mahdi Elmandjra __ [EMAIL PROTECTED] mailing list https://stat.ethz.ch

[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 weapon of mass

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 exports: write.foreign Error in library

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:39 -0400 writes

[Rd] Packing of data files in packages

2004-08-27 Thread Kjetil Brinchmann Halvorsen
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

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

2004-08-27 Thread Kjetil Brinchmann Halvorsen
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 __ [EMAIL PROTECTED

[Rd] arima problems when using argument fixed=

2004-05-02 Thread kjetil
, 0, 0), xreg = t, include.mean = FALSE, fixed = fixed1, init = init2) Coefficients: ar1 t 0.9281 0 s.e. 0.0357 0 sigma^2 estimated as 0.9186: log likelihood = -138.64, aic = 281.28 Kjetil Halvorsen __ [EMAIL PROTECTED

[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] Sporadic error in kalmanSmooth

2004-04-03 Thread kjetil
. . . 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
? 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
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 documentation for novices like myself. I

[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 section has library(ts) Kjetil

[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] 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

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

2003-07-25 Thread kjetil brinchmann halvorsen
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] 19716928 memory.limit(size=NA) [1] 259465216 memory.limit() [1] 259465216 Would greatly appreciate any kind advice

[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] sample (PR#2546)

2003-03-05 Thread kjetil brinchmann halvorsen
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 sample('a', 1) Error in sample(x, size, replace, prob) : invalid first

Re: [Rd] require vs library

2003-02-22 Thread kjetil brinchmann halvorsen
function. I do require() within that function only. Is that OK, or should it be done within .First.lib ? Kjetil Halvorsen There seems to be a widespread assumption that the way for package foo to require package bar is via `require(bar)'. It isn't! That returns a logical which