Hi, i'm trying to build an r-package (Windows Vista, R 2.7.2), so i created one with the package.skeleton() command. After that i zipped it and tried to load it in R.
Attaching the package via the Windows R-console menu 'Packages/Install package(s) from local zip-files' failed: /> utils:::menuInstallLocal() Error in gzfile(file, "r") : cannot open the connection In addition: Warning messages: 1: In zip.unpack(pkg, tmpDir) : error -1 in extracting from zip file 2: In gzfile(file, "r") : cannot open compressed file 'MeinPacket/DESCRIPTION', probable reason 'No such file or directory'/ The library(package) command failed too: /> library('MyPackage.zip') Error in library("MyPackage.zip") : there is no package called 'MyPackage.zip'/ I checked the current working directory and made sure that the package-zip was in it, but R couldn't find it anyway. Does anyone know how to get the package loaded? Thank you and best regards, Eli || ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.