Jonathan, import/importFrom directives within the NAMESPACE places the symbol(s) within your package's namespace. They are treated exactly the same as (non-exported) symbols your code defines.
~G On Sun, Oct 20, 2013 at 3:41 PM, Jonathan Greenberg <j...@illinois.edu>wrote: > To be clear, if I used Depends: somepackage before, and switched over to > using Imports: somepackage, I'll need to mod my code that used to have a > call to, say, somefunction to now have somepackage::somefunction, correct? > > --j > > > On Sun, Oct 20, 2013 at 5:34 PM, Dirk Eddelbuettel <e...@debian.org> wrote: > > > > > On 20 October 2013 at 16:20, Jonathan Greenberg wrote: > > | One more follow-up -- will I now need to include a library() statement > in > > | each function? > > > > No. > > > > NAMESPACE entry, coupled with Imports: in DESCRIPTION. > > > > Dirk > > > > -- > > Dirk Eddelbuettel | e...@debian.org | http://dirk.eddelbuettel.com > > > > > > -- > Jonathan A. Greenberg, PhD > Assistant Professor > Global Environmental Analysis and Remote Sensing (GEARS) Laboratory > Department of Geography and Geographic Information Science > University of Illinois at Urbana-Champaign > 259 Computing Applications Building, MC-150 > 605 East Springfield Avenue > Champaign, IL 61820-6371 > Phone: 217-300-1924 > http://www.geog.illinois.edu/~jgrn/ > AIM: jgrn307, MSN: jgrn...@hotmail.com, Gchat: jgrn307, Skype: jgrn3007 > > [[alternative HTML version deleted]] > > ______________________________________________ > R-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel > -- Gabriel Becker Graduate Student Statistics Department University of California, Davis [[alternative HTML version deleted]] ______________________________________________ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel