Folks, I am finding problems with using "dse":> library(dse1)Loading required package: tframe Error: c("package '%s' required by '%s' could not be found", "setRNG", "dse1")> library(dse2)Loading required package: setRNG Error: package 'setRNG' could not be loaded In addition: Warning message: there is no package called 'setRNG' in: library(pkg, character.only = TRUE, logical = TRUE, lib.loc = lib.loc) This is on R 2.1 on an Apple ibook (OS X) "panther". Thanks, -ans.
On Mon, Jul 11, 2005 at 08:27:40AM -0700, Rob J Goedman wrote:> Ajay, > > After installing both setRNG (2004.4-1, source or binary) and dse > (2005.6-1, source only), it works fine.Thanks! :-) Now dse1 works, but I get:> library(dse2)Warning message: replacing previous import: acf in: namespaceImportFrom(self, asNamespace(ns)) Should I worry? -- Ajay Shah Consultant ajayshah at mayin.org Department of Economic Affairs http://www.mayin.org/ajayshah Ministry of Finance, New Delhi
Prof Brian Ripley
2005-Jul-11 21:41 UTC
[R] Dependence of bundle dse on setRNG (was Misbehaviour of DSE)
As the posting guide says, there is no R 2.1. The first message suggests this is R 2.1.0, and the posting guide does ask you to use the latest version (and to quote versions accurately). The dse bundle depends on package setRNG, which you have not installed, so you need to do that. Look at e.g.> library(help=dse2)which the posting guide actually asks you to do and include in your posting. (And the message you got is pretty clearcut.) (Suggestion to Paul Gilbert: it would work better to have the setRNG dependence in the top-level DESCRIPTION and not in the dependence for each package. That way install.packages() can work out it is required from the information on CRAN, which is only at bundle level.) On Mon, 11 Jul 2005, Ajay Shah wrote:> I am finding problems with using "dse": > >> library(dse1) > Loading required package: tframe > Error: c("package '%s' required by '%s' could not be found", "setRNG", "dse1") >> library(dse2) > Loading required package: setRNG > Error: package 'setRNG' could not be loaded > In addition: Warning message: > there is no package called 'setRNG' in: library(pkg, character.only = TRUE, logical = TRUE, lib.loc = lib.loc) > > This is on R 2.1 on an Apple ibook (OS X) "panther".-- Brian D. Ripley, ripley at stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595