[R] strange warning message
murdoch at stats.uwo.ca
Sat Sep 30 22:13:30 CEST 2006
On 9/30/2006 3:31 PM, John C Frain wrote:
> I get a similar message when i start Sciviews R console. I do not get the
> message when I start R directly or through Tinn-r . If I load the libraries
> one by one the message is returned after svViews is loaded. I presume there
> is some problem with svViews. However it does not appear to have any
> consequences for my work. I use R 2.3.1 with Windows XP and I should have
> the latest versions of packages installed
This does look like an svViews problem, possibly because it's loading an
old binary copy of some object, or because it hasn't been recompiled
for the release you're using.
It may become a more serious problem when the use becomes "defunct"
instead of "deprecated": then the usage will generate an error.
However, I believe we intend to maintain the ability to read old data
files as long as possible, so you might not see any consequences.
> John C Frain
> output of R session started with Sciviews
> R is a collaborative project with many contributors.
> Type 'contributors()' for more information and
> 'citation()' on how to cite R or R packages in publications.
> Type 'demo()' for some demos, 'help()' for on-line help, or
> 'help.start()' for an HTML browser interface to help.
> Type 'q()' to quit R.
> [Previously saved workspace restored]
> Loading required package: datasets
> Loading required package: utils
> Loading required package: grDevices
> Loading required package: graphics
> Loading required package: stats
> Loading required package: methods
> Loading required package: tcltk
> Loading Tcl/Tk interface ... done
> Loading required package: R2HTML
> Loading required package: svMisc
> Loading required package: svIO
> Loading required package: svViews
> During startup - Warning message:
> use of NULL environment is deprecated
> On 30/09/06, Duncan Murdoch <murdoch at stats.uwo.ca> wrote:
>> 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
>> Duncan Murdoch
>>> Thanks a lot .
>>> ----- Original Message -----
>>> From: Duncan Murdoch <murdoch at stats.uwo.ca>
>>> Date: Saturday, September 23, 2006 5:59 pm
>>> Subject: Re: [R] strange warning message
>>> To: Tong Wang <wangtong at usc.edu>
>>> Cc: r-help at 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
>>>> (even though there was no such thing when NULL was used); if that's
>>>> 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 at stat.math.ethz.ch mailing list
>> PLEASE do read the posting guide
>> and provide commented, minimal, self-contained, reproducible code.
More information about the R-help