Hi everybody I have a very big problem: With R 3.0.2 I could construct the package for this code: if (exists('.ChrL.env') == TRUE) { rm(.ChrL.env) } .ChrL.env <- new.env() .ChrL.env$lGlo <- list() .ChrL.env$bStarted <- FALSE CheckGloCreated <- function() { if (.ChrL.env$bStarted == TRUE) { stop("Data structures were already initialized.", call.=FALSE) } } ChrL.Start <- function() { CheckGloCreated() cat("Libraries have been loaded and data structure has been initialized.\n") } As you can do, I used an own environment (.ChrL.env). Now, with R 3.1.0, I construct the package and I load it but it seems .ChrL.env does not exists. The method I use is the following: rm(list=ls()) setwd("D:/probando") source("probando.r", encoding="utf-8") package.skeleton(name="ChrL", path="D:/probando") My Namespace: export(ChrL.Start) My ChrL-internal.R: .ChrL.env <- new.env() Could you help me, please?. It is very urgent... My project is more complex that the example I put, but I have tested with this simple example and the problem is the same. Thank you in advance. Regards, Eva [[alternative HTML version deleted]]