Hi Rainier,

On 06/25/2013 04:04 AM, Rainer M Krug wrote:
Hi

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

aaa.R:
,----
|  .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)
| [1] ".logHeader"      ".logHeaderClock" ".logHeaderLevel"
`----

I assume I am doing something really basic wrong?

A copy of the package is available at:

https://www.dropbox.com/s/hv6abepcczrljum/logger_0.0-1.tar.gz

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:

                       Nothing Here

    The file you're looking for has been deleted or moved.

Cheers,
H.


Thanks,

Rainer

PS: I am planning to making it available when it is working (again)



______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel


--
Hervé Pagès

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: hpa...@fhcrc.org
Phone:  (206) 667-5791
Fax:    (206) 667-1319

______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

Reply via email to