Displaying 20 results from an estimated 9000 matches similar to: "A possible improvement to apropos"
2005 Mar 21
1
Buglet in install.packages warning message
I've been experimenting with install.packages and it's new ability to
track down dependencies from a list of repositories and encountered
this:
install.packages(c("foo", "bar"), repos="http://cran.r-project.org",
dependencies=c("Depends", "Suggests"))
dependencies 'foo' are not availabledependencies 'bar'
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
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 Mar 04
1
Problem using callNextMethod() in S4
Dear all,
Maybe, I am doing something wrong, but using R-2.5.0 on my Intel-Mac, I
have problems
using function callNextMethod() in method initialize.
I am loading the following code as file "testS4.R":
setClass("baseClass",
representation(myname = "character",
mydir = "character",
"VIRTUAL"),
2006 Dec 22
1
apropos changes in r-devel: intended feature or bug?
The old apropos started with:
if (!is.character(what))
what <- as.character(substitute(what))
The new one has:
if (character.only)
stopifnot(is.character(what))
else what <- as.character(substitute(what))
i.e., the check for is.character(what) is missing. This has the effect
that 'what' can no longer be a character string generated by a
function call
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
2003 Feb 19
3
Pretty onscreen plots?
I'm looking for ideas for creating high-quality plots for use in projected
presentations (powerpoint, etc) --- ideally high-quality png, jpg, bmp.
The graphics produced using the postscript device look very good. Those
generated with win.graph(), png are plagued by the jaggy lines.
So far, the only way I can use the postscript plots in my presentations is
using separate screen capture
2008 Aug 20
1
Improvements to write.arff (PR#12574)
Full_Name: Martin C. Martin
Version: 2.7.1
OS: Ubuntu
Submission from: (NULL) (75.150.115.86)
The function write.arff, in the foreign library:
- Can produce relation names with invalid characters
- Doesn't use colnames() for attribute names when writing a matrix.
Here's a better version:
write.arff <- function (x, file, eol = "\n")
{
if (file == "")
2004 Jan 28
1
build fails to build help for nlme
Hi all,
I'm trying to build from source on Linux and getting the following error
when it tries to build the help for 'nlme':
<snip>
ranef.lme text html latex example
reStruct text html latex example
/home/sfalcon/sw/R-related/R-1.8.1/bin/INSTALL: line 1: 8133 Segmentation fault ${R_CMD} perl
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 Apr 26
1
Problem with R-2.5.0 patched and Matrix package
Hi,
Using latest R 2.5.0 Patched, I'm unable to install the Matrix package
from cran.fhcrc.org.
I get:
Creating a new generic function for "isSymmetric" in "Matrix"
Creating a new generic function for "unname" in "Matrix"
Error in conformMethod(signature, mnames, fnames, f) :
In method for function "!": formal arguments omitted in
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
2006 Sep 22
1
Possible bug in base::namespaceImportFrom?
Hi,
namespaceImportFrom in base/R/namespace.R has the following:
fdef <- methods:::getGeneric(genName, impenv)
The definition of getGeneric is in methods/R/RMethodUtils.R starts
with:
getGeneric <-
## return the definition of the function named f as a generic.
##
## If there is no definition, throws an error or returns
## NULL according to the value of
2006 Jul 10
1
Add .git to SCM excludes for build and INSTALL scripts
Git is a source code management system like CVS, svn, arch, and
others.
It would be nice to add exclude support to R CMD build and INSTALL so
that the .git subdir of an R package is handled appropriately.
Here is a possible patch:
diff --git a/src/scripts/INSTALL.in b/src/scripts/INSTALL.in
index 75da9db..09e5ab5 100644
--- a/src/scripts/INSTALL.in
+++ b/src/scripts/INSTALL.in
@@ -863,7
2006 Nov 07
1
Getting the name of a SEXP type in package code?
Hi,
Is there an alternative to type2char that is available for use in
package code? It would be useful for producing more informative error
messages.
+ seth
2009 Oct 22
1
Error in link in Rd file stops package installation
With a pretty recent version of R 2.11.0 (devel,unstable,
svn 50178) on Linux I could not install version 1.5-8 of zoo (the
current on on CRAN):
% R-devel CMD INSTALL -l Rlib3 zoo
* installing *source* package 'zoo' ...
** R
** inst
** preparing package for lazy loading
** help
*** installing help indices
converting help for package 'zoo'
finding
2020 Aug 19
2
Stale link from ?check to R Internals
Hi the reference to R Internals
https://cran.r-project.org/doc/manuals/r-release/R-ints.html#Tools
in ?check (PkgUtils.Rd in utils package) is stale. Here is my proposed
patch (use named reference rather than numeric reference to avoid any
similar broken links in the future).
Index: src/library/utils/man/PkgUtils.Rd
===================================================================
---
2018 Apr 08
2
suggested patch for messages
Does anyone have comments on the new wording here?
Suggested:
The Title field should be in title case. Current version is:
(xxx)
In title case this would be:
(Xxx)
Hoping R core will see this here and magically adopt it, otherwise
I'll try posting it to the r bugs site ...
===================================================================
--- src/library/tools/R/QC.R (revision
2006 Apr 24
1
R CMD build says, 'Can't call method "print"'
Hi,
While running R CMD build on one of the Bioc packages, I'm getting the
following error message
* creating vignettes ... OK
* cleaning src
* removing junk files
* checking for LF line-endings in source files
Can't call method "print" on an undefined value at /home/sfalcon/arch/x86_64/R-2.3/bin/build line 646.
The pacakge has CRLF line endings in source files.
>
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"),