Hi all, I am trying to install add-on in R (rw1070) to work with WinEdit. Libraries Swinregistry and Rwinedt have been installed via "Install Package(s) from local zip files" from R. However, when I run library(Rwinedt) I get the following messages:> library(Rwinedt)Loading required package: SWinRegistry Error in loadNamespace(name) : package `methods' does not have a name space In addition: Warning messages: 1: package RWinEdt was built under R version 1.8.0 2: package SWinRegistry was built under R version 1.8.0 Error in eval(expr, envir, enclos) : Package SWinRegistry is not available. Either install it or install R-WinEdt manually, as described in ReadMe.txt Intalling manually looking quite complicated, I am not tempted to take this direction... Can anybody give me a hint? Kind regards, Patrick Giraudoux University of Franche-Comté Department of Environmental Biology EA3184 af. INRA F-25030 Besançon Cedex tel.: +33 381 665 745 fax.: +33 381 665 797 http://lbe.univ-fcomte.fr [[alternative HTML version deleted]]
Patrick Giraudoux wrote:> Hi all, > > I am trying to install add-on in R (rw1070) to work with WinEdit.R-WinEdt is a plug-in for WinEdt, not for WinEdit (the "i" does matter!)- For the following discussion, let's assume you mean WinEdt. > Libraries Swinregistry and Rwinedt have been installed via "Install Package(s) from local zip files" from R. However, when I run library(Rwinedt) I get the following messages:> > >>library(Rwinedt) > > Loading required package: SWinRegistry > Error in loadNamespace(name) : package `methods' does not have a name space > In addition: Warning messages: > 1: package RWinEdt was built under R version 1.8.0 > 2: package SWinRegistry was built under R version 1.8.0 > Error in eval(expr, envir, enclos) : > Package SWinRegistry is not available. > Either install it or install R-WinEdt manually, as described in ReadMe.txt > > Intalling manually looking quite complicated, I am not tempted to take this direction... > > Can anybody give me a hint?Your binary version of the package SWinRegistry is compiled under R-1.8.0 and does not work for your old version of R. So either upgrade to R-1.8.1 or install R-WinEdt manually as described in the ReadMe (in that case you won't need SWinRegistry). Uwe Ligges> Kind regards, > > Patrick Giraudoux > > > University of Franche-Comt? > Department of Environmental Biology > EA3184 af. INRA > F-25030 Besan?on Cedex > > tel.: +33 381 665 745 > fax.: +33 381 665 797 > http://lbe.univ-fcomte.fr > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://www.stat.math.ethz.ch/mailman/listinfo/r-help >
You are using mismatched versions of R and the packages, as the warnings say. Please update your version of R. On Tue, 16 Dec 2003, Patrick Giraudoux wrote:> Hi all, > > I am trying to install add-on in R (rw1070) to work with WinEdit. Libraries Swinregistry and Rwinedt have been installed via "Install Package(s) from local zip files" from R. However, when I run library(Rwinedt) I get the following messages: > > > library(Rwinedt) > Loading required package: SWinRegistry > Error in loadNamespace(name) : package `methods' does not have a name space > In addition: Warning messages: > 1: package RWinEdt was built under R version 1.8.0 > 2: package SWinRegistry was built under R version 1.8.0 > Error in eval(expr, envir, enclos) : > Package SWinRegistry is not available. > Either install it or install R-WinEdt manually, as described in ReadMe.txt > > Intalling manually looking quite complicated, I am not tempted to take this direction... > > Can anybody give me a hint? >-- 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 272860 (secr) Oxford OX1 3TG, UK Fax: +44 1865 272595