[R] Issue calling MICE package
pdalgd at gmail.com
Wed Oct 4 19:16:41 CEST 2017
IIUC, this would be an isssue with MICE (or rather "mice"), which isn't Ole's. It could be a namespace issue, but it could also be that some start-up code is not executed if library() is bypasses (see .onAttach et al.).
> On 4 Oct 2017, at 17:00 , Michael Dewey <lists at dewey.myzen.co.uk> wrote:
> Dear Ole
> One of the experts may be able to diagnose this without extra information but I suspect you have not got the right magic in your NAMESPACE file in your package. You may need to re-read section 1.5.1 of the Writing R extensions manual.
> On 04/10/2017 13:47, Ole Høst wrote:
>> I want to call the mice function from the MICE package from my own package.
>> However I run into this issue, which can be reproduced on the command line:
>> mice::mice(airquality)#> Error in check.method(setup, data): The
>> following functions were not found: mice.impute.pmm, mice.impute.pmm
>> I have no problems when doing
>> Is this a bug or am I missing something?
>> Ole Høst
>> [[alternative HTML version deleted]]
>> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
>> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
>> and provide commented, minimal, self-contained, reproducible code.
>> This email has been checked for viruses by AVG.
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
Peter Dalgaard, Professor,
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3, 2000 Frederiksberg, Denmark
Office: A 4.23
Email: pd.mes at cbs.dk Priv: PDalgd at gmail.com
More information about the R-help