Re: [Rd] sysdata.rda, namespaces and package dependencies

From: Hadley Wickham <hadley_at_rice.edu>
Date: Tue, 30 Aug 2011 08:27:01 -0500

Bump. Any comments on this?
Hadley

On Tue, Aug 16, 2011 at 10:53 AM, Hadley Wickham <hadley_at_rice.edu> wrote:
> Hi all,
>
> I'm struggling with accessing a package dataset (munsell.map, stored
> in sysdata.rda) when that package is imported, not required.  A simple
> reproducible example is:
>
> install.packages("munsell")
> munsell::mnsl("10B 4/6")
> # Error in match(col, munsell.map$name) : object 'munsell.map' not found
>
> library(munsell)
> munsell::mnsl("10B 4/6")
> # Function works correctly
>
> Am I doing something wrong, or is this namespace bug?
>
> Hadley
>
> --
> Assistant Professor / Dobelman Family Junior Chair
> Department of Statistics / Rice University
> http://had.co.nz/
>

-- 
Assistant Professor / Dobelman Family Junior Chair
Department of Statistics / Rice University
http://had.co.nz/

______________________________________________
R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
Received on Tue 30 Aug 2011 - 13:31:00 GMT

This quarter's messages: by month, or sorted: [ by date ] [ by thread ] [ by subject ] [ by author ]

All messages

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Tue 30 Aug 2011 - 16:40:24 GMT.

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

list of date sections of archive