From hadley at rice.edu  Tue Aug 30 15:27:01 2011
From: hadley at rice.edu (Hadley Wickham)
Date: Tue, 30 Aug 2011 08:27:01 -0500
Subject: [Rd] sysdata.rda, namespaces and package dependencies
In-Reply-To: <CABdHhvHJCstQrsoCWhMTys6Jba5egWO6iprm2TuFy0Zrb==U1Q@mail.gmail.com>
References: <CABdHhvHJCstQrsoCWhMTys6Jba5egWO6iprm2TuFy0Zrb==U1Q@mail.gmail.com>
Message-ID: <CABdHhvES1MW=erb_gTNn1CUop2AmKrNeAp4=HpQpxygk3jm7bw@mail.gmail.com>

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/



[Rd] sysdata.rda, namespaces and package dependencies
Hadley Wickham