I think many people like to help, but we cannot:

You say you are under R-2.14.0 and whn you R CMD INSTALL a package with that version of R, it does not have a NAMESPACE in the end?
Then

 - your R installation is broken or
- you are looking into a library where you have old versios of the packages or - you belive you are using R-2.14.0 but you are actually using an older version.

Uwe ligges


On 08.11.2011 10:49, Art Eschenlauer wrote:
When I did install.packages("sqldf") on Windows and Mac OSX, it installed
fine.
However, when I did it on my Debian Squeeze box under R 2.14.0, it failed.
I discovered that three of the dependent packages, chron, proto, and
gsubfn, do not include a NAMESPACE file in their distribution tar.gz files.
I contacted the developer, who told me that, for packages without a
NAMESPACE file, R 2.14 (but not early versions of R) generates a NAMESPACE
file.

My workaround to get sqldf installed was to copy the generated NAMESPACE
files from my Mac to my Debian squeeze box and use R CMD INSTALL to install
the packages.

Although I read
    "As from R 2.14.0 all packages will be installed with a namespace:
    rather than relying on this mechanism authors are strongly
    encouraged to add a namespace for themselves."
on
    http://cran.r-project.org/doc/manuals/R-exts.html#Package-namespaces
it nevertheless appears to me that this behavior (not generating NAMESPACE
files) is peculiar to my Debian installation (since it worked on the
Windows and Mac machines).

Please let me know if you need more details or further research.

R totally ROCKS!

        [[alternative HTML version deleted]]

______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

Reply via email to