On 9/30/2006 1:00 AM, Tong Wang wrote:
> Hi Duncan:
>      Thank you for your help last time,  since I do not use NULL to indicate 
> empty enviroment, I think I'm fine. 
> And yes, I did upgrade my R version recently,  but how comes I still get this 
> warning for new files created
> and saved after that update ? Is there anyway to get rid of this message ?

Please show some code that leads to the message.  You shouldn't get it 
in new objects, but there could be a bug in R or in a package you're using.

Duncan Murdoch

>      Thanks a lot . 
> 
> best  
> 
> ----- Original Message -----
> From: Duncan Murdoch <[EMAIL PROTECTED]>
> Date: Saturday, September 23, 2006 5:59 pm
> Subject: Re: [R] strange  warning message
> To: Tong Wang <[EMAIL PROTECTED]>
> Cc: r-help@stat.math.ethz.ch
> 
>> On 9/23/2006 7:15 PM, Tong Wang wrote:
>>> Hi Everyone,
>>>     I recently start to get this warning message,  while loading 
>> files in to R.   Could someone tell me what does it mean ?
>>> I am using R 2.3.0 with Emacs on WinXP.
>>>
>>>     use of NULL environment is deprecated 
>> The files were saved in an earlier version of R, which used NULL to 
>> indicate the base environment.  R is telling you that NULL is not a 
>> legal environment.  It should be automatically converted to baseenv().
>>
>> In a number of cases, people used NULL to indicate an empty 
>> environment 
>> (even though there was no such thing when NULL was used); if that's 
>> true 
>> for your code, then you'll need to fix it.  emptyenv() now gives 
>> you an 
>> empty environment if that's what you really want.
>>
>> Duncan Murdoch
>>

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to