Dear r-helpers, I have a trouble with a package downloaded from sourceforge.net (namely the package 'kopls'). I installed it from the local zip file with the expected result> utils:::menuInstallLocal()package ?kopls? successfully unpacked and MD5 sums checked but when I tried to load it I obtained the following error message> require(kopls)Loading required package: kopls Failed with error: ?package ?kopls? does not have a NAMESPACE and should be re-installed? I tried to contact its developers but with no reaction. Could anybody give me an advice how to solve the problem on my own? Many thanks in advance Ondrej Mikula -- Ond?ej Mikula Institute of Animal Physiology and Genetics Academy of Sciences of the Czech Republic Veveri 97, 60200 Brno, Czech Republic Institute of Vertebrate Biology Academy of Sciences of the Czech Republic Studenec 122, 67502 Konesin, Czech Republic
On 27.01.2012 19:51, Ond?ej Mikula wrote:> Dear r-helpers, > > I have a trouble with a package downloaded from sourceforge.net > (namely the package 'kopls'). I installed it from the local zip file > with the expected result >> utils:::menuInstallLocal() > package ?kopls? successfully unpacked and MD5 sums checked > but when I tried to load it I obtained the following error message >> require(kopls) > Loading required package: kopls > Failed with error: ?package ?kopls? does not have a NAMESPACE and > should be re-installed? > > I tried to contact its developers but with no reaction. Could anybody > give me an advice how to solve the problem on my own? > Many thanks in advance > > Ondrej Mikula > >Obviously the package does not have an explicit namespace and the Windows binary was build with an outdated version of R (otherwise R had added a default namespace). Hence: Install from the sources (as described in the manual R Installation and Administration). Uwe Ligges
Hello Ondrej, I experienced the same problem and circumvented it by installing R 2.13.2 where the package runs fine. I also tried contacting the authors with not reply so far, but if you manage to solve the NAMESPACE problem in 2.14 I would be interested. The source does not seem to be available. Stefan [[alternative HTML version deleted]]
On Mon, Jan 30, 2012 at 02:35:29PM +0000, Reinker, Stefan wrote:> Hello Ondrej, > > I experienced the same problem and circumvented it by installing R 2.13.2 where the package runs fine. I also tried contacting the authors with not reply so far, but if you manage to solve the NAMESPACE problem in 2.14 I would be interested. The source does not seem to be available.Hello: The source code kopls_1.1.1.tar.gz is available at http://kopls.sourceforge.net/download.shtml Hope this helps. Petr Savicky.
A new version of the kopls package has been made available. This installs without problems in R 2.14 (windows 32-bit). Download from here: https://sourceforge.net/projects/kopls/files/K-OPLS%20for%20R/1.1.2/ [[alternative HTML version deleted]]