Displaying 20 results from an estimated 800 matches similar to: "namespace crash on S3method("as.ff",function)"
2008 Oct 14
2
can't R CMD INSTALL on WinXP
Dear All,
I recently got a laptop upgrade, and had to re-install the tools I used
for building R packages on Windows (XP SP2). I'm running into a strange
problem that I can't resolve. Can anyone shed on light? This is with
R-2.7.2 patched 2008-09-20 r46576, Rtools.zip downloaded a couple of
weeks ago, and MikTeX 2.7. The output below was from a cygwin shell
(PATH modified
2004 Oct 17
2
Errors while compiling packages with namespace?
Hello,
I try to set up namespaces for packages. It is fine for several of them,
except one whose compilation fails (under Windows XP & R 2.0.0):
---------- Making package svViews ------------
adding build stamp to DESCRIPTION
installing NAMESPACE file and metadata
Error in parse(file, n, text, prompt) : syntax error on line 21
Execution halted
make[2]: *** [nmspace] Error 1
make[1]: ***
2008 Apr 19
2
package building problem under Windows Vista
Dear list members,
I've encountered the following problem trying to build a package under
Windows Vista (SP1). The problem occurs with both R 2.6.2 and R 2.7.0 RC
(from which this output was produced). The package builds just fine on my XP
(SP2) machine. Please see some further comments below.
---------- snip -------------
Microsoft Windows [Version 6.0.6001]
Copyright (c) 2006 Microsoft
2011 Jul 29
4
scripting/littler: How to call function named iteratively (`f1`, `f2`, …)?
Dear R folks,
wanting to compare different implementations of a solution I want to
script it to iterate over the different implementations. Is there a way
to do this in the R shell/command line?
$ more /tmp/iterf.r
f1 <- function(n = 100000,
l = 100000)
{
z = n + l
}
f2 <- function(n = 100000,
2010 Feb 14
1
How S3method() is implemented and called? And when to use it?
R-exts.pdf discribes S3method a little bit. But I want to understand
more on how it is called, implemented and when to use it.
I don't find it in an R session. But I see S3method() in some NAMESPACE files.
> S3method
Error: object 'S3method' not found
> ?S3method
No documentation for 'S3method' in specified packages and libraries:
you could try '??S3method'
I
2019 May 14
2
[R-pkg-devel] Three-argument S3method declaration does not seem to affect dispatching from inside the package.
CCing r-devel.
On Tue, 14 May 2019 at 02:11, Pavel Krivitsky <pavel at uow.edu.au> wrote:
>
> Dear All,
>
> I've run into this while updating a package with unfortunately named
> legacy functions. It seems like something that might be worth changing
> in R, and I want to get a sense of whether this is a problem before
> submitting a report to the Bugzilla.
>
>
2010 Nov 27
1
Bug in parseNamespaceFile or switch( , ... ) ?
parseNamespaceFile() doesn't seem to detect misspelled directives. Looking
at its code I see
switch(as.character(e[[1L]]),
<lots of args omitted here>,
stop(gettextf("unknown namespace directive: %s",
deparse(e)), call. = FALSE, domain = NA))
but this doesn't seem to function as I expect, viz. to stop with an error
if I type a wrong directive.
2019 May 14
2
[R-pkg-devel] Three-argument S3method declaration does not seem to affect dispatching from inside the package.
On Tue, 14 May 2019 at 12:31, Pavel Krivitsky <pavel at uow.edu.au> wrote:
>
> > Note that disabling name-based dispatch implies two things: 1) the
> > inability to override your method by defining gen.formula in the
> > global environment, and 2) another package can break yours (i.e.,
> > internal calls to gen()) by registering an S3 method for gen() after
>
2012 Sep 14
1
Any way to get read.table.ffdf() (in the ff package) to pass colClasses or comment.char parameters through to read.fwf() ?
Hi everyone, my apologies if I'm overlooking something obvious in the
documentation. I'm relatively inexperienced with the (awesome) ff package.
My goal is to use the read.table.ffdf() function to call the read.fwf()
function and pass through the colClasses and comment.char arguments. The
code below shows exactly what doesn't work for me.
If the colClasses and comment.char
2019 May 19
2
[R-pkg-devel] Three-argument S3method declaration does not seem to affect dispatching from inside the package.
On Sat, 18 May 2019 at 23:34, Pavel Krivitsky <pavel at uow.edu.au> wrote:
>
> > The issue here is that you are registering a non-standard name
> > (.gen.formula) for that generic and then defining what would be the
> > standard name (gen.formula) for... what purpose? IMHO, this is a bad
> > practice and should be avoided.
>
> The situation initially arose
2008 Apr 11
1
make check fails if called with --without-recommended-packages
Hi,
just for information:
On Suse 10.3 x86
> make check
fails,
if configure was called with --without-recommended-packages
for the latest beta.
The problem I stumbled upon is located in utlis. Here comes the relevant part
of utils-Ex.Rout.fail in R-2.7.0/tests/Examples
> ### ** Examples
>
> require(stats)
> glmout <- capture.output(example(glm))
Fehler in
2010 Jul 06
3
Help with Faulted Zpool Call for Help(Cross post)
Hello list,
I posted this a few days ago on opensolaris-discuss@ list
I am posting here, because there my be too much noise on other lists
I have been without this zfs set for a week now.
My main concern at this point,is it even possible to recover this zpool.
How does the metadata work? what tool could is use to rebuild the
corrupted parts
or even find out what parts are corrupted.
most but
2006 Feb 22
1
Back returns "Warning: Page has Expired" ?!?!
Hey,
I''ve found that certain browsers (IE and Ffx in particular) display a
warning page whenever the user clicks on the ''back'' button after having
just come from a page generated by a post. This makes perfect sense, it
warns users about duplicate rows being entered etc.
However! Is there anyway to gracefully redirect the user to a ''safe''
page say
2008 Oct 22
1
R 2.8.0 qqnorm produces error with object of class zoo?
Dear list-reader,
by running the following script:
library(zoo)
sessionInfo()
search()
packageDescription("zoo")
data(EuStockMarkets)
dax <- as.zoo(EuStockMarkets[1:10, "DAX"])
daxr <- diff(log(dax))
identical(as.vector(qnorm(daxr)), qnorm(coredata(daxr)))
qqnorm(coredata(daxr))
qqnorm(daxr)
qqnorm() produces an error:
> qqnorm(daxr)
Fehler in if (xi == xj) 0L
2012 Mar 28
2
getopt does not work as expected!
I have the following script (also attached):
#!/usr/bin/Rscript
spec=matrix(c(
'verbose', 'v', 1, "integer",
'help' , 'h', 0, "logical"
),ncol=4, byrow=TRUE)
spec.dim=dim(spec)
spec.opt.long=spec[,1]
spec.opt.short=spec[,2]
spec.opt.l <- spec.dim[1]
infile <- "test.dat"
args=commandArgs(TRUE); l=length(args)
self =
2005 Nov 22
3
make check fails for R 2.3.0 (PR#8343)
Full_Name: Arne Henningsen
Version: 2.3.0, 2005-11-21, i686-pc-linux-gnu
OS: SuSE Linux 9.0, Kernel 2.4.21
Submission from: (NULL) (134.245.140.242)
I did not find any problems in "./configure" and "make", but "make check"
fails:
make[4]: Entering directory `/home/suapm095/Download/R-devel/tests/Examples'
collecting examples for package 'base' ...
2011 Mar 19
1
Undefined symbol "Rf_pythag" while loading spatstat
Today I installed the newest R develepment branch
R version 2.14.0 Under development (unstable) (2011-03-18 r54866)
on FreeBSD 9.0-CURRENT (amd64). All seems fine so far.
After that I updated my R packages with option 'checkBuilt=TRUE'. There
are four packages (spatstat, pscl, adehabitatLT, adehabitatHR) which
gives an error like this:
Error in dyn.load(file, DLLpath = DLLpath, ...) :
2011 Mar 21
1
error in: testing if installed package can be loaded
hi,
I am preparing my package for R 2.13
build and check gives no warnings just OK's
However when running R CMD INSTALL it gives me (nfortunately it is in
german)
** help
*** installing help indices
** building package indices ...
** testing if installed package can be loaded
Fehler: '\U' ohne Hex-Ziffern in der Zeichenkette beginnend mit "C:\U"
genutzt
Ausführung
2011 Nov 05
4
ZFS Recovery: What do I try next?
I would like to pick the brains of the ZFS experts on this list: What
would you do next to try and recover this zfs pool?
I have a ZFS RAIDZ1 pool named bank0 that I cannot import. It was
composed of 4 1.5 TiB disks. One disk is totally dead. Another had
SMART errors, but using GNU ddrescue I was able to copy all the data
off successfully.
I have copied all 3 remaining disks as images using
2012 Aug 24
1
Fwd: Re: Package cwhmisc and problems
-------- Original-Nachricht --------
Betreff: Re: Package cwhmisc and problems
Datum: Fri, 24 Aug 2012 07:34:14 +0100
Von: Prof Brian Ripley <ripley@stats.ox.ac.uk>
An: Christian Hoffmann <c-w.hoffmann@sunrise.ch>
Kopie (CC): CRAN@r-project.org
This is the address for CRAN submissions. Please ask for help on R-help
or R-devel.
On 23/08/2012 20:16, Christian Hoffmann wrote: