Displaying 20 results from an estimated 10000 matches similar to: "apropos changes in r-devel: intended feature or bug?"
2006 Sep 15
3
An update method for lists?
Hi,
since lattice uses nested lists in various situations, it has had an
unexported function called updateList for a while, which looks like
> lattice:::updateList
function (x, val)
{
if (is.null(x))
x <- list()
if (!is.list(x))
stop("x must be NULL or a list")
if (!is.list(val))
stop("val must be a list")
xnames <- names(x)
2006 Dec 14
1
A possible improvement to apropos
Hello all,
I've had the following apropos alternative in my ~/.Rprofile for some
time, and have found it more useful than the current version.
Basically, my version ignores case when searching.
If others find this useful, perhaps apropos could be suitably patched
(and I'd be willing to create such a patch).
+ seth
Here is my version of apropos:
APROPOS <- function (what, where =
2005 Aug 03
1
R CMD check failing to warn when it should
Hi,
I recently made changes to lattice code which needed changes in many
man pages as well. Before I made the appropriate changes, R CMD check
was flagging most of the problems correctly, except for the man page
for tmd. I have created a toy package that shows this, available at
http://www.stat.wisc.edu/~deepayan/R/tmdprob_0.12-2.tar.gz
This passes R CMD check on R 2.1.0 and r-devel from August
2010 Apr 20
2
apropos and find
Hello,
I'm starting working myself in the use of R, reading M. J. Crawley, The
R Book. The problem I do encounter is concerning the commands apropos
and find:
> apropos(edit)
Fehler: is.character(what) is not TRUE
> find(edit)
Fehler: is.character(what) is not TRUE
I get the same error message typing anything else instead of "edit".
The command ?edit seems to work well.
2007 Apr 11
1
Sort output of apropos
A further improvement to apropos() would be to sort the output.
Currently, the output of apropos is in the order found on the search
list and this will rarely be useful to the user.
All that is needed is a sort(x) at the end of the function.
+ seth
--
Seth Falcon | Computational Biology | Fred Hutchinson Cancer Research Center
http://bioconductor.org
2002 Feb 14
1
apropos("plotmath") curiousity
?plotmath produces the helpscreen for plotmath.
Why does apropos("plotmath") return only character(0)?
> apropos("plotmath")
character(0)
>
> version
_
platform i386-pc-mingw32
arch x86
os Win32
system x86, Win32
status
major 1
minor 4.1
year 2002
1997 May 23
0
R-alpha: apropos() available
Martin and I have `written' a function apropos() for finding all objects
with names matching pattern. I attach code and documentation. Perhaps
one could include it in the distribution proper.
We are not sure about returning the position in the search list along
with the matching names found. Martin thinks it should be on by
default, I think it should be off so that the functions does the
2007 Oct 26
1
Use of all/any
all/any coerce their arguments to logical (if possible). I've added a
warning in R-devel if coercion is from something other than integer.
This arose because it is easy to make a slip and write all(X) > 0 rather
than all(X > 0): thanks to Bill Dunlap for bringing that to my attention.
However, it has been useful in detecting quite a few other things:
- indices which had been made
1998 Mar 21
1
Apropos names.
> To: R-devel@stat.math.ethz.ch
> Subject: Apropos names.
> From: Peter Dalgaard BSA <p.dalgaard@biostat.ku.dk>
> Date: 19 Mar 1998 18:44:14 +0100
> MIME-Version: 1.0
> Content-Transfer-Encoding: 7bit
> (from R-core)
> > Btw, why can't object names contain a `@'?
Reserved for future use?
> Speaking of names. I've been thinking whether it would
2006 Sep 07
5
augPred plot in nlme library
All,
I'm trying to create an augPred plot in the nlme library, similar to the
plot on
p.43 of Pinheiro & Bates (Mixed Effects Models in S and S-Plus) for
their Pixel data.
My data structure is the same as the example but I still get the error
msg below.
> comp.adj.UKV <- groupedData(adj.UKV ~ Time | Patient_no/Lisinopril,
data = comp.adj.UKV.frm, order.groups = F)
>
2007 May 22
1
regexp bug in very recent r-devel
completion is semi-broken in today's r-devel, and the reason seems to
be some regular expression changes:
> sessionInfo()
R version 2.6.0 Under development (unstable) (2007-05-22 r41673)
i686-pc-linux-gnu
locale:
[...]
attached base packages:
[1] "stats" "graphics" "grDevices" "utils" "datasets" "methods"
[7]
2004 Aug 30
2
suggestions motivated by quest for remainders
Some time ago I tried to find out how to compute remainders in R.
I now know that it is done with %%, which is documented in help('+'),
but before someone told me that I tried:
help('remainder'), help.search('remainder'), apropos('remainder')
help('modulo'), help.search('modulo'), and apropos('modulo')
all of which yielded nothing.
I then
2005 Mar 16
1
minor iconvlist() bug in r-devel
This is on r-devel from 2005-03-15. iconvlist() uses (at least some of
the time)
icfile <- system.file("iconvlist", package = "utils")
which looks like
"""
The following list contain all the coded character sets known. This
does not necessarily mean that all combinations of these names can be
used for the FROM and TO command line parameters. One coded
2005 Nov 16
6
nlme question
I am using the package nlme to fit a simple random effects (variance
components model)
with 3 parameters: overall mean (fixed effect), between subject
variance (random) and
within subject variance (random).
I have 16 subjects with 1-4 obs per subject.
I need a 3x3 variance-covariance matrix that includes all 3 parameters
in order to
compute the variance of a specific linear
2003 Mar 12
1
problem with library() (or possibly grid) in r-devel
In recent r-devels, I have
> library(help = grid)
Error in formatDL(entry, style = "list") :
incorrect value for x
This doesn't happen for the other packages I have tried, so maybe this is a
problem with grid.
Deepayan
2023 Apr 04
1
on lexical scoping....
No, there are lots of situations where that doesn't make sense. You
don't want to have to define local copies of the functions from every
package you use, for example.
I think the takeaway is to learn how R scoping works, and keep things
simple. That's one reason I tend to avoid "tidyverse" packages. There
are a lot of really good ideas in those packages, but
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,
2009 Apr 10
3
Apropos Agent 6.5 crashing when launched
When running it from the Desktop icon a taskbar button comes up with the hour glass for about 20 seconds and disappears. So I ran the desktop shortcut's command in a terminal and go this:
fixme:virtual:NtAllocateVirtualMemory MEM_WRITE_WATCH type not supported
fixme:ole:CoGetContextToken stub
fixme:shell:URL_ParseUrl failed to parse L"System"
fixme:shell:URL_ParseUrl failed to parse
2005 Feb 24
2
other than default labels in lattice plot
Dear all
I solved a problem of customised labels on strips and boxes in bwplot
by this construction.
> bbb <- bwplot(zavoj ~ typmleti | pu)
> bbb$condlevels$pu <- c("Povrchov? ?prava", "Bez PU")
> bbb$x.limits <- c("Mleto", "Mleto a s?tov?no", "Nemleto")
> bbb
but I wonder if some other easy option exist. Let say something
2002 Jul 12
1
Sweave problem with recursive call, Add.
This diff would be better.
Gunnar
-------------- next part --------------
268a269,270
>
> ocf <- character()
285,286c287,298
<
< tmpcon <- textConnection("output", "w")
---
>
> options(warn=-1)
> if (is.finite(max(as.integer(sub("output","",apropos("output"))),na.rm=TRUE))) {