Will look into this next week :-) Steve ----- Original Message ----- From: "Dirk Eddelbuettel" <e...@debian.org> To: "Ben Goodrich" <goodr...@fas.harvard.edu> Cc: <513...@bugs.debian.org>; <mi...@sonic.net> Sent: Saturday, January 31, 2009 3:39 AM Subject: Re: Bug#513617: r-base-core-ra: help() and example() fail by default for functions in core packages
| | Ben, | | On 30 January 2009 at 18:39, Ben Goodrich wrote: || The three attached patches apply to files in || || /r-base-core-ra-1.2.4/src/library/utils/R | | I applied them, expect a new upload shortly. In the future, please send | patches via the common unified diff format as from | | diff -ru foo-1.2.3.orig/ foo-1.2.3/ | | (where foo-1.2.3 contains you changes). I applied this by hand now and will | try remember to apply for the next package -- unless Steve takes them | upstream. | | Steve: Context was that I am trying to make Ra (i.e. r-base-core-ra in | Debian) a little 'lighter' by not installing all the help files etc. Or do | you on the other hand recommend that I do? It seemed like a good idea at the | time as most (all ?) of these are not patched anyway, so why double them... | | Dirk | | || Poking around in the R code for help(), example(), and help.search(), || when lib.loc is NULL, it is ultimately changed to the output of || .libPaths(), which causes Ra trouble because the help files in the core || libraries are not built. So, in each case, when lib.loc is NULL, we || change it to the output of .libPaths() earlier and then exclude the || directory where the core libraries live. || || Does this feature / bug afflict other platforms? If so, the patches || should still work, but I only tested them under Debian. E.g. || || ?matrix || example(matrix) || library(jit) || ?jit || example(jit) || help.search("jit") || || are all now working correctly under Ra with these three patches. || || Thanks, || Ben || -----BEGIN PGP SIGNATURE----- || Version: GnuPG v1.4.9 (GNU/Linux) || || iEYEARECAAYFAkmDj6QACgkQzQDSXIcN85mO7ACdGpdGSAnNPjPIKxtAbB2bUoHE || WCQAn0mqSkTOk7CzFZJyEAA0jTysSE4C || =GM2W || -----END PGP SIGNATURE----- | | -- | Three out of two people have difficulties with fractions. | | | __________ Information from ESET NOD32 Antivirus, version of virus signature database 3814 (20090131) __________ | | The message was checked by ESET NOD32 Antivirus. | | http://www.eset.com | | | -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org