Hi Ben, On 30 January 2009 at 14:04, Ben Goodrich wrote: | -----BEGIN PGP SIGNED MESSAGE----- | Hash: SHA1 | | Package: r-base-core-ra | Version: 1.2.4-1 | Severity: normal | | Hi Dirk, | | In a Ra session, | | help(matrix) # -> No documentation for 'matrix' in specified packages
Right. I kinda expect you to have a parallel R installation and look it up there. | The issue is that my .libPaths() is | | [1] "/usr/local/lib/R/site-library" "/usr/lib/R/site-library" | [3] "/usr/lib/Ra/lib/R/library" "/usr/lib/R/library" | | so help(), by default, looks in /usr/lib/Ra/lib/R/library (which | apparently does not have working help pages) before it looks in | /usr/lib/R/library . Thus, | | help(matrix, lib.loc = .libPaths()[-3]) Interesting! | yields the expected behavior, and help() works when lib.loc is | unspecified if the function you are looking for is in a package | contained in /usr/local/lib/R/site-library or /usr/lib/R/site-library . | | Looking at the directories ... | | bgoodr...@room320:~$ ls /usr/lib/Ra/lib/R/library/base | CITATION demo DESCRIPTION man Meta po R | | bgoodr...@room320:~$ ls /usr/lib/R/library/base | CITATION CONTENTS demo DESCRIPTION help html INDEX latex man | Meta po R R-ex | | it looks like the core packages are not really "installed" by Ra, which | perhaps is an intentional aspect of the way the sources of R and Ra are Correct. To keep the package smaller and to not install identical files (of a large size when aggregated) a second time, I aim for a minimal install. Eg no help pages. Note that the _code_ is of course there as Ra patches it. There is /usr/lib/Ra/lib/R/library/base/R/ Hence I am not sure what you mean by "the core packages are not really "installed" by Ra" | overlayed. If so, then we could probably workaround this problem in | several ways (massive symlinkage, patch help() and example() to not look | in /usr/lib/Ra/lib/R/library , reorder .libPaths() after the core | packages are loaded, etc.), but I am not sure what would be best. Unfortunately, I am not likely to have enough time to polish Ra ad infinum for such aspects. I was hoping to do users like yourself (and myself) a favour by packaging it. So this is of severity "wishlist" with tag "wontfix" from my point of view. If you can cook up a small patch that sets .libPaths() to the three parts from R, I'd be happy to take it. Alternatively, we could decide that we are in favour of wasting more disk space and build the help (at least in the internal form). But I'm sure someone will then complain that the html help is missing ... Ra is not meant a replacement for R, but rather a complement which is why it has a Recommends on r-base-core. Ok? Dirk -- Three out of two people have difficulties with fractions. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org