Displaying 20 results from an estimated 900 matches similar to: "Posting an 'S4-creating Package Problem'..."
2006 Nov 05
1
lme4 install error
Dear all,
I'm trying to install lme4 (after having installed R 2.4.0 from source, and
having installed the latest Matrix package). lme4 fails with the following
message:
pedigree.o definition of _lme4_xSym in section (__DATA,__common)
pedigree.o definition of _lme4_ySym in section (__DATA,__common)
make: *** [lme4.so] Error 1
ERROR: compilation failed for package 'lme4'
** Removing
2012 Dec 21
1
improved methods error
While trying to install a package, I received this error
** preparing package for lazy loading
Error in matchSignature(signature, fdef, where) :
more elements in the method signature (2) than in the generic signature (1)
A more helpful variant is
Error in matchSignature(signature, fdef, where) :
more elements in the method signature (2) than in the generic signature (1)
for function
2004 Sep 09
1
Confused about loading other packages from a package
In my package, I create a new method for plot with the following signature:
setMethod("plot", signature(x="marrayNorm", y="formula"), plot.ma)
where marrayNorm is a class defined in the marray package. After
building and installing my package, I get the following warnings when
I load my package (with library(maVis)):
Warning messages:
1: In the method signature
2010 Mar 22
1
Some more help on S4 mechanism
Hello to the list
Some days ago, I placed a question on this maling-list and received an
answer from Martin
that I tried to follow. Unfortunately, I am still puzzled by the next step.
I spent the whole Week-end in gathering information from the net.
Some of them are almost contridtcory and I lack a good document to help me.
So my first question would beL Is there a convenient document which
2012 Mar 15
1
methods::trace fails when signature specified
With
> R.version.string
[1] "R version 2.15.0 alpha (2012-03-14 r58748)"
trying to trace a method using the 'signature' argument fails rather
than enabling the trace:
> trace(initialize, signature="ANY")
Error in matchSignature(signature, fdef, where) :
trying to match a method signature of class ?signature?; expects a
list or a character vector
--
2004 May 23
1
Running scripts automatically from Rgui (Windows)
I am trying to get a script to start automatically
when I run the GUI version of R version 1.9.0, started
from a .bat file (WINDOWS), but I'm getting strange
errors
In version 1.8.1 I was able to run a script
automatically by copying the script into the file
.Rprofile and running Rgui from a .bat script, but in
version 1.9.0 I'm getting errors like:
Error in inherits(x,
2003 Oct 27
1
initialization of S4 classes/methods
I'm seeing weird issues in methods initialization, i.e. loading
marrayClasses loads Biobase, and when explicitly done, as in
library(Biobase)
library(marrayClasses)
is fine, but when Biobase is loaded via a require statement in
marrayClasses' .First.Lib, I end up with:
Warning message: In the method signature for function "coerce", class
"exprSet" has no
2012 Sep 13
1
package installation problem.
Dear friends from the R-community,
I am djipie, bokaha and live in Germany. I am a student and user of R. During the installation of the package "Metrics" I had a pronlem as shown below:
> install.packages("Metrics")
Warnung in install.packages("Metrics") :
Argument 'lib' fehlt: nutze 'C:\Users\Guyso\Documents/R/win-library/2.10'
--- Bitte einen
2006 Jan 12
2
Zaptel SVN
Hi,
i can't compile the latest svn update from zaptel:
/lib/modules/2.6.14-1.1653_FC4smp/build
make -C /lib/modules/2.6.14-1.1653_FC4smp/build SUBDIRS=/usr/src/zaptel
modules
make[1]: Entering directory
`/usr/src/kernels/2.6.14-1.1653_FC4-smp-i686'
CC [M] /usr/src/zaptel/zaptel.o
/usr/src/zaptel/zaptel.c:6193:5: warning: "CONFIG_ZAPATA_DEBUG" is not
defined
2002 May 29
1
warning message for setAs when using class AsIs
This seemed too advanced for r-help and is related to the recent discussion of
character vectors in dataframes.
Following Brian Ripley's most excellent advice, we are moving to a world in
which character vectors in dataframes are always of class AsIs. The cool way of
doing this seemed to be the following:
> cat(c("x", "y", "z"), file = "test.txt",
2012 Aug 05
2
setMethod sometimes fails to set package slot when signature has trailing 'ANY'
after this
setClass("A")
setGeneric("bar", function(x, y) standardGeneric("bar"))
setMethod(bar, signature(x="A", y="A"), function(x, y) {})
setMethod(bar, signature(x="A", y="ANY"), function(x, y) {})
the method for signature c("A", "A") contains package information
> str(getMethod(bar,
2005 Mar 17
3
Compilation problem chan_capi and Eicon Diva 4Bri
Hi *,
I want to integrate the Eicon Diva 4Bri Card to Asterisk.
Eicon drivers and capi is installed. I use the latest dev version from
eicon compiled and installed for my fedora 2 system.
I found the chan_capi for asterisk from www.junghanns.net. Also loaded
the patch and applied to the chan_capi source tree.
I changed the Makefile to include the capi20.h from eicon:
2011 Feb 08
1
Installation of packages
Hi,
I tried to install packages for R, but it did not work. I looked for a hint
on the R website, but could not find anything.
I tried the following commands:
install.packages("psych")
install.packages("QuantPsyc")
install.packages("car")
install.packages("Hmisc")
install.packages("foreign")
install.packages("Rcmdr")
2010 Mar 08
1
confused by classes and methods.
Hello, I have a simple class that looks like:
setClass("statisticInfo",
representation( max = "numeric",
min = "numeric",
beg = "numeric",
current = "numeric",
avg = "numeric",
obs = "vector"
2008 Apr 29
2
Problem installing packages
Hi,
when I try installing new packages (in this case DBI) I run into the
following problem:
Paket 'DBI' erfolgreich ausgepackt und MD5 Summen abgeglichen
Warnung: kann tempor?re Installation
'C:\Programme\R\R-2.7.0\library\file5f906952\DBI' nicht nach
'?
xlD?? $@\R\R-2.7.0\libra' verschieben
Has anybody any idea where these strange symbols come from?
Thanks in
2019 Oct 16
2
Can't setup kerberos auth for samba4 server?
It is not a member server it's the PDC. And after configuring
/etc/krb5.conf you'll be able to
# kinit Administrator
Passwort f?r Administrator at ADA.DE:
Warnung: Ihr Passwort wird in 39 Tagen am Mo 25 Nov 2019 08:22:41 CET
ablaufen.
And now:
# net ads join -k
Host is not configured as a member server.
Invalid configuration. Exiting....
Failed to join domain: This operation is only
2006 Oct 03
1
New versions of Matrix and lme4 packages for R-2.4.0
Versions 0.9975-1 of the Matrix and lme4 packages will soon be available on
CRAN for use with R version 2.4.0 or later.
Purpose of the packages:
The Matrix package provides S4 classes and methods for sparse
and dense matrices. The lme4 package provides functions for fitting
and assessing linear or generalized linear mixed effects models (also
called multilevel models). Like the Matrix package,
2006 Oct 03
1
New versions of Matrix and lme4 packages for R-2.4.0
Versions 0.9975-1 of the Matrix and lme4 packages will soon be available on
CRAN for use with R version 2.4.0 or later.
Purpose of the packages:
The Matrix package provides S4 classes and methods for sparse
and dense matrices. The lme4 package provides functions for fitting
and assessing linear or generalized linear mixed effects models (also
called multilevel models). Like the Matrix package,
2002 Feb 19
1
library(methods): setMethod with "ANY" fails. (PR#1317)
Full_Name: Henrik Bengtsson
Version: R v1.4.1
OS: WinMe
Submission from: (NULL) (217.208.14.137)
Doing the following
library(methods)
setGeneric("foo", function(x) standardGeneric("foo"))
setMethod("foo", "ANY", function(x) cat(x))
fails with
Error in while (value[n] == "ANY") n <- n - 1 :
missing value where logical needed
It
2009 Feb 10
2
Problem installing MASS-Package
Dear R-Help-Team,
I tried to use isoMDS-Function of the MASS-Package:
Message:
Fehler: konnte Funktion "isoMDS" nicht finden
(error: could not find function "isoMDS")
so I tried to install the package MASS:
> utils:::menuInstallPkgs()
versuche URL 'http://cran.rakanu.com/bin/windows/contrib/2.8/VR_7.2-45.zip'
Content type 'application/zip' length 1598763