[Rd] Perplexed with environment
hpages at fhcrc.org
Wed Jun 26 06:48:01 CEST 2013
On 06/25/2013 04:04 AM, Rainer M Krug wrote:
> I migrated from Linux to Mac, but I don't this has anything to do with
> it, but I am not sure.
> I am writing a small logger package, in which I have a file
> | .logData <- new.env()
> | assign("loggingThreshold", 10, envir = .logData)
> | assign("logToFile", FALSE, envir = .logData)
> | assign("logFileName", NULL, envir = .logData)
> | assign("logToConsole", TRUE, envir = .logData)
> | ##
> | assign("logHeaderLevel", 0, envir = .logData)
> | assign("logHeader", "", envir = .logData)
> | assign("logHeaderClock", "", envir = .logData)
> | assign("timeFormat", "", envir = .logData)
> to initialize some logging parameter.
> When I load my package, everything looks fine, only that the environment
> logger:::.logData is (nearly) empty:
> | > library(logger)
> | > ls(envir=logger:::.logData, all.names=TRUE)
> |  ".logHeader" ".logHeaderClock" ".logHeaderLevel"
> I assume I am doing something really basic wrong?
> A copy of the package is available at:
Just to let you know that this link doesn't work for me. When trying to
open in a browser, I get the following message:
The file you're looking for has been deleted or moved.
> PS: I am planning to making it available when it is working (again)
> R-devel at r-project.org mailing list
Program in Computational Biology
Division of Public Health Sciences
Fred Hutchinson Cancer Research Center
1100 Fairview Ave. N, M1-B514
P.O. Box 19024
Seattle, WA 98109-1024
E-mail: hpages at fhcrc.org
Phone: (206) 667-5791
Fax: (206) 667-1319
More information about the R-devel