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
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
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
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
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
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
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
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
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()
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
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
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
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
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
_
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
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
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
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
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
.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
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
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
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
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
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
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
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.
--
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
__
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
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
?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
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
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
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
970 date come from?
Kjetil Halvorsen
__
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-devel
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
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
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
?
Kjetil Halvorsen
__
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-devel
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
?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
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
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
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
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
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
, 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
>
>
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
] 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
] "package:ctest" "Autoloads" "package:base"
> library(nlme)
> search()
[1] ".GlobalEnv" "package:mva" "package:nlme"
"package:nls"
[5] "package:lattice" "package:grid""
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
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
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
53 matches
Mail list logo