Displaying 20 results from an estimated 10000 matches similar to: "request for additional test in R CMD check"
2019 Jun 14
4
inappropriate warning in latticeExtra
This is still not repaired in
R version 3.6.0 Patched (2019-05-17 r76528)
> library(latticeExtra)
> a <- xyplot(1 ~ 1)
> c(a,a)
Warning message:
In formals(fun) : argument is not a function
Can we have it in R-3.6.1 that Peter just announced?
Rich
On Mon, Apr 2, 2018 at 4:08 AM Deepayan Sarkar
<deepayan.sarkar at gmail.com> wrote:
>
> On Fri, Mar 23, 2018 at 7:58 AM,
2006 Apr 25
4
Help needed
Hi,
I am trying to change a SAS macro to R.
here is my code. I get an error at the last line.
attach(fram)
dset1<-cbind(AGE,BMI,DEATH)
> BMIGRP<-cut(BMI,breaks=3,right=TRUE)
> AGEGRP<-floor(AGE/10)-2
> dset<-cbind(AGEGRP,BMIGRP,DEATH)
> maxage<-max(dset[,1])
> minage<-min(dset[,1])
> #maxcls<-dset[,2]
> #mincls<-dset[,2]
>
2019 Dec 06
1
inappropriate warning in latticeExtra
This problem is still present in
> version
_
platform x86_64-w64-mingw32
arch x86_64
os mingw32
system x86_64, mingw32
status Under development (unstable)
major 4
minor 0.0
year 2019
month 12
day 03
svn rev 77513
language R
version.string R Under development (unstable)
2006 Sep 01
2
Compiling a package
Hello,
I am in Win-XP R:2.3.0
latest rtools and Perl - of today
I got Rcmdr.HH source code and tried to compile it myself
copy all directory to R/R-2.3.0/src/library/Rcmdr.HH
from R/R-2.3.0/src/library
I typed:
..\..\bin\R CMD build --force --binary --auto-zip Rcmdr.HH
* checking for file 'Rcmdr.HH/DESCRIPTION' ... OK
* preparing 'Rcmdr.HH':
* checking DESCRIPTION meta-information
2006 Jun 02
1
documentation bug as S-Plus catches up (PR#8933)
# R for Windows will not send your bug report automatically.
# Please copy the bug report (after finishing it) to
# your favorite email program and send it to
#
# r-bugs at r-project.org
#
######################################################
The R documentation for "is.R" says
"## 'which()' only exists in R:"
This is no longer true. In S-Plus 8.0
>
2006 Dec 26
4
vectorizing an iterative process.
Hi Everyone,
I am stuck with a simple problem. Suppose I have a vector x, and I want
to calculate y[i]=3Dx[i+1]-x[i], it is very easy. I just need to write
y<-x[2:length(x)]-x[1:length(x)-1].
Now if I know y, and want to know the vector x defined by
x[i]=3Dx[i-1]+y[i-1] for all i, how can I do this without a loop?
Thanks,
Geoffrey
PS. Sorry if you see a duplicate message. The previous
2013 Mar 18
2
melt with complications
## Can someone suggest a simpler expression than either of these, with the
goal
## of taking a long matrix into a wide one with exactly one of the factors
converted to
## columns and all the rest retained as factors. I want something that
generalizes beyond
## the three factors illustrated here.
## Rich
meltTest <- data.frame(A=rep(c("B","C"), each=12),
2012 Mar 16
2
variable values in plotmath expressions
## I would like help in using variable values in plotmath expressions
## in lattice
x <- 1:10
y <- 1:10
pval <- .95
plot(y ~ x, ## works as I want in base graphics
main=substitute(list(alpha * " = " * group("",list(p),"")),
list(p=pval)))
plot(y ~ x, ## doesn't work as intended: "pval" is displayed
main=substitute(list(alpha *
2018 Mar 23
2
inappropriate warning in latticeExtra
The warning message in the last line of this email is incorrect.
This is behavior which Duncan Murdoch labeled a bug in
https://stat.ethz.ch/pipermail/r-help/2017-December/450494.html
This is a fresh install of R-devel (2018-03-21 r74436)
R Under development (unstable) (2018-03-21 r74436) -- "Unsuffered Consequences"
Copyright (C) 2018 The R Foundation for Statistical Computing
2007 May 11
3
shell.exec() on Windows, unexpected behavior
I have Windows XP machines with different software configurations.
My laptop has Adobe Reader 8 and Adobe Acrobat 6.
My desktop has Adobe Reader 8 and does not have Adobe Acrobat.
On both machines, PDF extensions are registered to Adobe Reader 8.0,
and double-clicking a pdf file in Windows Explorer opens Adobe Reader
8.0.
In R-2.5.0, with all Adobe windows closed, the command
2001 Dec 11
4
crash bug in get("function.name")() (PR#1211)
R : Copyright 2001, The R Development Core Team
Version 1.3.1 (2001-08-31)
> tmp <- factor(1:3)
> get("print.factor")(tmp)
[1] 1 2 3
Levels: 1 2 3
> print.a <- function(x,...) {
+ print("this is a")
+ NextMethod("print", x, quote = FALSE, right = TRUE, ...)
+ }
>
> get("print.a")
function(x,...) {
print("this is a")
2016 Apr 18
2
Sum of Numeric Values in a DF Column
... and here is a non-dplyr rsolution:
> z <-gsub("[^[:digit:]]"," ",dd$Lower)
> sapply(strsplit(z," +"),function(x)sum(as.numeric(x),na.rm=TRUE))
[1] 105 67 60 100 80
Cheers,
Bert
Bert Gunter
"The trouble with having an open mind is that people keep coming along
and sticking things into it."
-- Opus (aka Berkeley Breathed in his "Bloom
2011 Oct 05
3
R CMD check
Dear R-Group,
I have a function that sorts a data frame and oneo of the lines in the
function is:
vars <- unlist(strsplit(formc, "[\\+\\-]"))
The function works fine and the above line is always reached. However, when I
include the function in a package and run "R CMD check pkgname" it gives this
error message:
'\+' is an unrecognized escape in character
2007 May 17
3
RFC: adding an 'exact' argument to [[
Hi all,
One of the things I find most problematic in R is the partial matching
of names in lists. Robert and I have discussed this and we believe
that having a mechanism that does not do partial matching would be of
significant benefit to R programmers. To that end, I have written a
patch that modifies the behavior of "[[" as follows:
1. [[ gains an 'exact' argument with
2007 May 21
1
Passing R CMD Check without data
I have a package which passes R CMD check with the --no-vignettes option.
However, it does not pass the check without that, as the vignette relies on
some data files that I cannot distribute. However, I would like the package
to pass the check so that I can put it on CRAN, so that other people with
access to the dataset can put the data into the package, and then rebuild
the vignettes themselves.
2004 Apr 23
7
trellis.device in .First (PR#6812)
# Your mailer is set to "none" (default on Windows),
# hence we cannot send the bug report directly from R.
# Please copy the bug report (after finishing it) to
# your favorite email program and send it to
#
# r-bugs@r-project.org
#
######################################################
<<insert bug report here>>
There are two bugs associated with graphics devices.
2012 Oct 28
2
List of arrays - problem with dimensions
Dear all,
I want to obtain the following result
[[1]]
, , 1, 1
[,1] [,2]
[1,] 1 1
[2,] 1 1
, , 2, 1
[,1] [,2]
[1,] 1 1
[2,] 1 1
................
, , 9, 1
[,1] [,2]
[1,] 1 1
[2,] 1 1
, , 10, 1
[,1] [,2]
[1,] 1 1
[2,] 1 1
[[2]]
, , 1, 1
[,1] [,2]
[1,] 1 1
[2,] 1 1
, , 2, 1
[,1] [,2]
[1,] 1
2007 Jun 04
2
locked environment and inheritance
Hi,
I have a S3 package with namespace called "myS3Pkg". Inside my package I would like to create
a S4 class which extends (adds 2 slots) another S4 class from some other package. The class
should be created in "myPkg" environment (and not global environment).
Using:
setClass("myS4class", representation("otherS4class", mydata = "numeric"),
2006 Dec 28
1
split-plot multiple comparisons
Dear R user,
I am new with split-plot designs and I have problems with multiple comparisons.
This data correspond to an split-plot experiment with two replications
(bloque).(Hoshmand, 2006 pp 138). Briefly, the whole-plot factor is
Nitrogen concentration ("nitrogeno") and the subplot factor is the variety
of corn ("hibrido"). The aim is to determine if major differences
2004 May 31
1
Several libraries won't load with rw1090pat (PR#6926)
# Your mailer is set to "none" (default on Windows),
# hence we cannot send the bug report directly from R.
# Please copy the bug report (after finishing it) to
# your favorite email program and send it to
#
# r-bugs@r-project.org
#
######################################################
Several libraries won't load with rw1090pat.
MASS, which is included with the distribution,