[Rd] namespace crash on S3method("as.ff",function)

From: Jens Oehlschlägel <oehl_list_at_gmx.de>
Date: Mon, 05 Nov 2007 13:41:50 +0100

Dear all,

I have defined a generic as.ff(x, ...) and a method as.ff.function(x, ...) which converts a standard R function x into a chunked version operating on large ff objects. Everything works fine, but when registering


in NAMESPACE, the installation fails with some kind of parsing error:

  adding build stamp to DESCRIPTION
  installing NAMESPACE file and metadata Fehler in parse(nsFile) : Unerwartetes ')' bei 348:
349: S3method("as.ff",function)
Calls: <Anonymous> -> parseNamespaceFile -> parse Ausf³hrung angehalten
make[2]: *** [nmspace] Error 1
make[1]: *** [all] Error 2
make: *** [pkg-ff] Error 2
*** Installation of ff failed ***

Is this a bug? Any ideas?

Best regards


P.S. with as.ff() we can do things like
ffx <- as.ff(x) # as.ff.default() turns a standard R object into an ff object stored on disk as.ff(log)(ffx) # as.ff.function() turns 'log' into a function that we can call on ffx: taking the log of an almost arbitrarily large object

> version

platform       i386-pc-mingw32             
arch           i386                        
os             mingw32                     
system         i386, mingw32               
major          2                           
minor          6.0                         
year           2007                        
month          10                          
day            03                          
svn rev        43063                       
language       R                           
version.string R version 2.6.0 (2007-10-03)
Psssst! Schon vom neuen GMX MultiMessenger gehört?
Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger

R-devel_at_r-project.org mailing list
Received on Mon 05 Nov 2007 - 12:44:38 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Mon 05 Nov 2007 - 17:30:15 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.