Displaying 20 results from an estimated 3000 matches similar to: "rw2000dev: problems with library(foreign)"
2004 Sep 17
1
Problems with Rcmd check in rw2000dev
Hola!
I am doing some minimal changes on the package SenSrivastava to make it
fit for
R2.0.0 (This package passed Rcmd check on earlier versions of R,
and are passing the CRAN daily checks!) I am using
rw2000dev from CRAN. Now i get (running in an Xemacs shell):
installing R.css in C:/R/rw2000dev/src/gnuwin32/SenSrivastava.Rcheck
---------- Making package SenSrivastava ------------
adding
2004 Nov 06
3
foreign(read.spss) in rw2000 and re2001beta
I encountered something strange with read.spss (package foreign, version
0.7 with R2.0.0 and
version 0.8 with R2.0.1 beta, windows XP)
I made a test file test.sav with SPSS version 11.5.1
containing only one numeric variable, with a value label
for one value not occuring in the file. According to ?read.spss
this should result in a factor, but it results in all NA. Using the
argument
2004 Sep 18
1
Rcmd problems and questions, lazyloading
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 a new toshiba laptop, if that
matters.)
but then Rcmd build --binary
gives problems:
.
.
.
preparing package asypow for lazy loading
Error in
2004 Oct 04
4
Off-Topic: LaTeX package listings
Hola!
I ask here since I learnt from this list that the LaTeX package listings
should be good
for typesetting R code. I encountered one problem:
\begin{lstlisting}
X %*% V
\end{lstlisting}
in the output the * in %*% disappears! same with %/%, etc, the /
disappears.
Any ideas?
Kjetil
--
Kjetil Halvorsen.
Peace is the most effective weapon of mass construction.
--
2005 May 28
3
Incompatibility with VGAM
I just discovered that when the VGAM package (not on CRAN) is loaded,
glm() doesn't work. This is because VGAM defines a family function()
which gets found
by glm() in place of the family function from stats.
Then VGAM:::family returns an object which doesn't have a $family
component, (it has a component
$vfamily).
I thought namespaces should protect us from this happening?
Kjetil
--
2004 Dec 08
2
Strange error from R CMD INSTALL
I am trying to install a local package and get this unexpected
error:
---------- Making package UMSA ------------
adding build stamp to DESCRIPTION
installing R files
installing data files
installing man source files
installing indices
Error: couldn't find function "na.omit"
Execution halted
na.omit of course is in package stats, and that is listed in the
Depends field in
2004 Oct 29
1
as.list.matrix
I found the need of converting a matrix into a list of its columns
(for use with do.call), and was surprised there was no method
as.list.matrix, it could easily be a part of as.list default
I wrote
my.as.list.matrix <- function(mat) {
if(!is.matrix(mat))stop("Argument must be a matrix")
n <- NCOL(mat)
res <- vector(mode="list", length=n)
2004 Oct 06
1
problems with bitmap images in windows XP
This is rw2000 on windowsXP
jpeg("test.jpeg", bg="orangered")
plot(1:10, 1:10, col="green")
dev.off()
------
jpeg("test.jpeg", bg="blue")
plot(1:10, 1:10, col="red")
dev.off()
-------
jpeg("test.jpeg", bg="green")
plot(1:10, 1:10, col="red")
dev.off()
---
jpeg("test.jpeg",
2005 Mar 29
2
strange error with rw2010dev
With rw2010dev I get a strange protect(): protection stack overflow
error with a small data frame which otherwise is usable:
If anybody wants to have a look I can provide an RData file
with the problematic data frame.
Doesn't seem to be necessary, the following simulated example
generates the error:
> testmat <- matrix(1:80, 20,4)
> dim(testmat)
[1] 20 4
> str(testmat)
int
2005 Jul 24
1
R CMD problem on windows XP (PR#8031)
I get this on windows XP, rw2011, precompiled from CRAN:
C:\R\rw2011\src\gnuwin32>R CMD build -- binary ./../library/tseriesChaos
R CMD build -- binary ./../library/tseriesChaos
* checking for file 'binary/DESCRIPTION' ... NO
and there it stopped, while the following works:
C:\R\rw2011\src\gnuwin32>Rcmd build --binary ./../library/tseriesChaos
Rcmd build --binary
2005 Apr 30
2
Warning from Rcmd check - data could not find data set
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) :
data set 'vowel.train' not found
Warning in utils::data(list = al, envir = data_env) :
data set 'waveform.test' not found
Warning in utils::data(list
2005 Apr 30
2
Warning from Rcmd check - data could not find data set
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) :
data set 'vowel.train' not found
Warning in utils::data(list = al, envir = data_env) :
data set 'waveform.test' not found
Warning in utils::data(list
2004 Dec 23
1
small problem with R CMD check
On trying with very smll test packages
to try drilling down to som problems earlier reported in this list,
I detected the following:
R CMD check
on a package with an R subdirectory empty, reports:
* checking R files for syntax errors ... ERROR
Syntax error in file
On removing the empty subdirectory, the
error disappears.
Kjetil
--
Kjetil Halvorsen.
Peace is the most effective weapon of
2005 May 11
7
bug in modulus operator %% (PR#7852)
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 in this outgoing message.
Checked by AVG Anti-Virus.
2005 Apr 11
1
docu buglet
?oneway.test
contains:
|var.equal| a logical variable indicating whether to treat the variances
in the samples as equal. If |TRUE|, then a simple F test for the
equality of means in a one-way analysis of variance is preformed. If
|FALSE|, an approximate method of Welch (1951) is used, which
generalizes the commonly known 2-sample Welch test to the case of
arbitrarily many samples.
I guess
2004 Dec 31
4
R-intro
Hello!
I was reading R-intro and I have some suggestions:
R-intro.html#A-sample-session
rm(fm, fm1, lrf, x, dummy)
suggestion
rm(fm, fm1, lrf, x, y, w, dummy)
The next section will look at data from the classical experiment of Michaelson and Morley to measure the speed of light.
file.show("morley.tab")
mm <- read.table("morley.tab")
suggestion
mm <- data(morley)
2005 Sep 19
5
FDR analyses: minimum number of features
Dear List,
We are planning a genotyping study to be analyzed using false discovery
rates (FDRs) (See Storey and Tibshirani PNAS 2003; 100:9440-5). I am
interested in learning if there is any consensus as to how many
features (ie. how many P values) need to be studied before reasonably
reliable FDRs can be derived. Does anyone know of a citation where
this is discussed?
Bill Dupont
William D.
2005 Jul 26
1
docu buglets for ar and friends
This is R2.1.1
The documantation opened by
?ar, section for returned value, does not document all the components of
the returned
list. In addition to the 13 components documented, it also contains the
component
$frequency
This also applies to the help page opened by
?ar.ols
--
Kjetil Halvorsen.
Peace is the most effective weapon of mass construction.
-- Mahdi Elmandjra
2004 Nov 24
1
OOT: frailty-multinivel
Hola!
I started to search for information about multilevel survival models, and
found frailty in R. This seems to be something of the same, is it the same?
Then: why the name frailty (weekness?)
--
Kjetil Halvorsen.
Peace is the most effective weapon of mass construction.
-- Mahdi Elmandjra
2004 Oct 21
5
Cluster Analysis: Density-Based Method
Hi people,
Does anybody know some Density-Based Method for clustering implemented in R?
Thanks,
Fernando Prass
_______________________________________________________