Re: [R] use of NULL environment is deprecated?

From: Sundar Dorai-Raj <sundar.dorai-raj_at_pdf.com>
Date: Wed 12 Jul 2006 - 08:43:01 EST

Patrick Connolly wrote:
> ]> version
> _
> platform x86_64-unknown-linux-gnu
> arch x86_64
> os linux-gnu
> system x86_64, linux-gnu
> status
> major 2
> minor 3.1
> year 2006
> month 06
> day 01
> svn rev 38247
> language R
> version.string Version 2.3.1 (2006-06-01)
>
>
> I see in the NEWS file the line:
> o Use of NULL as an environment is deprecated and gives a warning.
>
> Which duly happens. I get warnings like this:
>

>>Warning message:

>
> use of NULL environment is deprecated
>
> My problem is that I don't know what is being referred to. A little
> birdie tells me that in later versions of R, those warnings will
> become errors so I need to work out where they're coming from before I
> can use later versions.
>
> My question is: How does one work out which is being referred to by
> such a message? The traceback() function is useful when failure
> occurs. Is there an analagous way of looking into warnings?
>
> TIA
>

Hi, Patrick,

This will happen when you load a package that was created for an earlier version of R. If this is your own package, recreate the package using R-2.3.1. If it's a package on CRAN, then update.packages() should also do the trick.

HTH, --sundar



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 Received on Wed Jul 12 08:49:56 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Wed 12 Jul 2006 - 10:17:10 EST.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.