[spcopula-commits] r103 - pkg/R

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Tue Sep 3 16:35:16 CEST 2013


Author: mappe
Date: 2013-09-03 16:35:16 +0200 (Tue, 03 Sep 2013)
New Revision: 103

Added:
   pkg/R/zzz.R
Log:
- zzz.R added in order to load library of C functions while loading package

Added: pkg/R/zzz.R
===================================================================
--- pkg/R/zzz.R	                        (rev 0)
+++ pkg/R/zzz.R	2013-09-03 14:35:16 UTC (rev 103)
@@ -0,0 +1,9 @@
+
+
+.onLoad  <-  function(libname, pkgname)  {
+ 	library.dynam("spcopula", pkgname, libname)
+}
+
+.onUnload  <- function(libpath)  {
+ library.dynam.unload("spcopula", libpath)
+}
\ No newline at end of file



More information about the spcopula-commits mailing list