Displaying 20 results from an estimated 8000 matches similar to: "Problem with R-2.5.0 patched and Matrix package"
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
2019 Apr 22
1
R-devel (rev 76409) fails 'make check': non-generic function 'isSymmetric' given to findMethods()
Duncan that does indeed look to be the case. Many thanks!
In particular, tests/reg-tests-1d.R optionally loads the Matrix
namespace which allows the test to succeed. Compare:
~/R-rc_2019-04-21_r76409/bin/Rscript -e "options(warn=2);
library(Matrix); res <- findMethods('isSymmetric'); print('success')"
[1] "success"
versus
2009 Oct 12
1
unexpected behaviour of isSymmetric() (PR#14000)
Full_Name: Mike Danilov
Version: 2.9.0
OS: Fedora Core 9
Submission from: (NULL) (142.103.121.198)
When checking for the symmetry of a matrix, function isSymmetric.matrix() gets
confused by the discrepancy of colnames/rownames if its argument. See the code
snippet below. Perhaps it's a problem of the matrix product which copies
colnames of the first argument but not the rownames of the
2019 Apr 21
2
R-devel (rev 76409) fails 'make check': non-generic function 'isSymmetric' given to findMethods()
Hello,
Most likely I'm doing something wrong, but am at a loss as to what the
issue is. I have a clean checkout of trunk here:
?? ~/svn/r-devel/R$ svn info
?? Path: .
?? Working Copy Root Path: /home/btyner/svn/r-devel/R
?? URL: https://svn.r-project.org/R/trunk
?? Relative URL: ^/trunk
?? Repository Root: https://svn.r-project.org/R
?? Repository UUID:
2007 May 27
2
[Bioc-devel] promptClass
promptClass fails to identify methods associated with the class. Here
is a fix:
Index: promptClass.R
===================================================================
--- promptClass.R (revision 41719)
+++ promptClass.R (working copy)
@@ -165,7 +165,7 @@
if (nmeths > 0) {
.meths.body <- " \\describe{"
for (i in 1:nmeths) {
- .sigmat
2010 Nov 07
2
is this matrix symmetric
Hi,
I have this symmetric matrix, at least I think so.
col1 col2 col3
[1,] 0.20 0.05 0.06
[2,] 0.05 0.10 0.03
[3,] 0.06 0.03 0.08
or
structure(c(0.2, 0.05, 0.06, 0.05, 0.1, 0.03, 0.06, 0.03, 0.08
), .Dim = c(3L, 3L), .Dimnames = list(NULL, c("var1", "var2",
"var3")))
But isSymmetric() doesn't agree. Any comment? I am on R 2.10.1 Thanks.
Jun
1998 May 11
1
more on library()
The problem with multiple packages in a library that I reported a few minutes
ago seems to occur only if RLIBS ends in a ":". I was setting
RLIBS=../padi/rlib:$RLIBS and when RLIBS has no value to begin with this causes
the problem.
This is obviously not very urgent as I can get around it easily.
Paul Gilbert
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.
>
2011 Feb 05
1
Seeking help to define method for '+'
Dear all, I am trying to define "+" method for my newly defined s4 class
which is as follows:
setClass("Me", sealed=F,representation(x1 = "numeric", x2 = "character"))
new1 <- new("Me", x1=2, x2="comment1")
new2 <- new("Me", x1=3, x2="comment1")
setMethod("+", "Me",
2019 Jun 28
2
methods package: A _R_CHECK_LENGTH_1_LOGIC2_=true error
> On 28 Jun 2019, at 16:03 , Martin Maechler <maechler at stat.math.ethz.ch> wrote:
>
>>>>>> Henrik Bengtsson
>>>>>> on Thu, 27 Jun 2019 16:00:39 -0700 writes:
>
>> Using:
>>
>> untrace(methods::conformMethod)
>> at <- c(12,4,3,2)
>> str(body(methods::conformMethod)[[at]])
>> ## language omittedSig
2007 Jun 01
1
Calling C routine in anther package in C code (R_RegisterCCallable)
Hi,
I want to make use of some C routines from other packages to write extensions
in C.
In "Writing R Extensions", it says there is an experimental interface to
support this in (or from ?) R 2.4.0.
I had a dummy library containing src/dummy.cpp and R/zzz.R:
====== src/dummy.cpp ====
#include <R.h>
#include <Rinternals.h>
#include <R_ext/Rdynload.h>
2019 Jun 27
2
methods package: A _R_CHECK_LENGTH_1_LOGIC2_=true error
Using:
untrace(methods::conformMethod)
at <- c(12,4,3,2)
str(body(methods::conformMethod)[[at]])
## language omittedSig <- omittedSig && (signature[omittedSig] != "missing")
cc <- 0L
trace(methods::conformMethod, tracer = quote({
cc <<- cc + 1L
print(cc)
if (cc == 31) { ## manually identified
untrace(methods::conformMethod)
2019 Jun 29
2
methods package: A _R_CHECK_LENGTH_1_LOGIC2_=true error
>>>>> Martin Maechler
>>>>> on Sat, 29 Jun 2019 10:33:10 +0200 writes:
>>>>> peter dalgaard
>>>>> on Fri, 28 Jun 2019 16:20:03 +0200 writes:
>> > On 28 Jun 2019, at 16:03 , Martin Maechler <maechler at stat.math.ethz.ch> wrote:
>> >
>> >>>>>> Henrik Bengtsson
2019 Jun 28
0
methods package: A _R_CHECK_LENGTH_1_LOGIC2_=true error
>>>>> Henrik Bengtsson
>>>>> on Thu, 27 Jun 2019 16:00:39 -0700 writes:
> Using:
>
> untrace(methods::conformMethod)
> at <- c(12,4,3,2)
> str(body(methods::conformMethod)[[at]])
> ## language omittedSig <- omittedSig && (signature[omittedSig] != "missing")
> cc <- 0L
> trace(methods::conformMethod, tracer =
1998 Jun 19
1
R INSTALL doc woes
I put some documentation in a file dse/man/dse.Rd in and did
R INSTALL -l rlibs dse
This built the copies of dse.Rd in rlibs/dse/{help latex html}.
It also wrote over R/doc/html/function.html and R/doc/html/packages.html,
effectively clobbering all the R documentation.
Also, the link that gets put in R/doc/html/packages.html points to
R/library/dse/html/00Index.html
rather than
2019 Jun 29
0
methods package: A _R_CHECK_LENGTH_1_LOGIC2_=true error
>>>>> peter dalgaard
>>>>> on Fri, 28 Jun 2019 16:20:03 +0200 writes:
> > On 28 Jun 2019, at 16:03 , Martin Maechler <maechler at stat.math.ethz.ch> wrote:
> >
> >>>>>> Henrik Bengtsson
> >>>>>> on Thu, 27 Jun 2019 16:00:39 -0700 writes:
> >
> >> Using:
> >>
> >>
2006 Sep 21
1
Installing packages with R v.2.3.1 on MAC OS X -- Error: "Cannot chdir: No such file or directory"
Dear all,
I'm working on MAC OS X 10.4.7 using R version 2.3.1 (June 2006)
and platform powerpc-apple-darwin8.6.0. Since I installed the new
version of R I cannot install packages any more (but it worked fine
before) and get the following message every time. I can, however,
install packages from the command line if I get them as precompiled
binaries.
2019 Jul 01
1
methods package: A _R_CHECK_LENGTH_1_LOGIC2_=true
I run checks with R-devel rev. 76756 on several of my packages which use S4, with no ill effects.
With the risk of not adding much, it seems that Martin's example, which I repeat below, suggests a crossover between several "signatures" involved here - the signature of the generic, the signature of the method (the argument for setMethod()), and the signature of the function object
2019 Jul 04
1
methods package: A _R_CHECK_LENGTH_1_LOGIC2_=true error
In 'conformMethod', there is another instance of
omittedSig & <something about signature[omittedSig]> .
It just affects error message.
Original:
? ? if(any(is.na(match(signature[omittedSig], c("ANY", "missing"))))) {
? ? ? ? bad <- omittedSig & is.na(match(signature[omittedSig], c("ANY", "missing")))
After r76756:
? ? if(any(iiN
2019 Jun 29
0
methods package: A _R_CHECK_LENGTH_1_LOGIC2_=true error
>>>>> Martin Maechler
>>>>> on Sat, 29 Jun 2019 12:05:49 +0200 writes:
>>>>> Martin Maechler
>>>>> on Sat, 29 Jun 2019 10:33:10 +0200 writes:
>>>>> peter dalgaard
>>>>> on Fri, 28 Jun 2019 16:20:03 +0200 writes:
>>> > On 28 Jun 2019, at 16:03 , Martin Maechler <maechler at