From noreply at r-forge.r-project.org Wed Jan 18 16:07:52 2017 From: noreply at r-forge.r-project.org (noreply at r-forge.r-project.org) Date: Wed, 18 Jan 2017 16:07:52 +0100 (CET) Subject: [Dplr-commits] r1044 - in pkg/dplR: . R Message-ID: <20170118150752.A96AE1882DE@r-forge.r-project.org> Author: mvkorpel Date: 2017-01-18 16:07:52 +0100 (Wed, 18 Jan 2017) New Revision: 1044 Added: pkg/dplR/R/zzz.R Modified: pkg/dplR/ChangeLog Log: .onUnload(): DLL / shared library is unloaded together with package Background: * Hitting the limit for number of DLLs loaded in R. * Why the file containing .onUnload() is named zzz.R: by convention. Modified: pkg/dplR/ChangeLog =================================================================== --- pkg/dplR/ChangeLog 2016-12-19 09:53:03 UTC (rev 1043) +++ pkg/dplR/ChangeLog 2017-01-18 15:07:52 UTC (rev 1044) @@ -43,7 +43,11 @@ - Note on commit from Zang: sea() simplified and computation of p-values fixed; computation of p-values and CI bands for sea() now based on ecdf() and quantile() functions. +File: zzz.R +----------------- +- .onUnload(): DLL / shared library is unloaded together with package + * CHANGES IN dplR VERSION 1.6.4 File: DESCRIPTION Added: pkg/dplR/R/zzz.R =================================================================== --- pkg/dplR/R/zzz.R (rev 0) +++ pkg/dplR/R/zzz.R 2017-01-18 15:07:52 UTC (rev 1044) @@ -0,0 +1,3 @@ +.onUnload <- function (libpath) { + library.dynam.unload("dplR", libpath) +} Property changes on: pkg/dplR/R/zzz.R ___________________________________________________________________ Added: svn:eol-style + native