[Rd] sysdata.rda, namespaces and package dependencies

Hadley Wickham hadley at rice.edu
Tue Aug 16 17:53:34 CEST 2011

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:

munsell::mnsl("10B 4/6")
# Error in match(col, munsell.map$name) : object 'munsell.map' not found

munsell::mnsl("10B 4/6")
# Function works correctly

Am I doing something wrong, or is this namespace bug?


Assistant Professor / Dobelman Family Junior Chair
Department of Statistics / Rice University

More information about the R-devel mailing list