[R] exporting methods/classes

From: Erin Hodgess <hodgess_at_gator.dt.uh.edu>
Date: Sun 08 Jan 2006 - 18:30:17 EST

Dear R People:

I'm still struggling with sending methods and classes as part of creating a new package.

Where does the .onLoad function go? Within R itself or in a file in one of the new package directories?

Here are my latest efforts:

Here's the last part of the woof1-Ex.Rout

> library('woof1')

Error in loadNamespace(package, c(which.lib.loc, lib.loc), keep.source = keep.source) :

        in 'woof1' classes for export not defined: dog Error: package/namespace load failed for 'woof1' Execution halted

Here's the NAMESPACE

thanks yet again,
mailto: hodgess@gator.uhd.edu

R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Sun Jan 08 18:38:13 2006

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:41:57 EST