Re: [Rd] unloadNamespace, getPackageName and "Created a package name xxx " warning

2013-10-29 Thread John Chambers
This was previously reported and fixed. See the NEWS file and bug report 15481. On 10/29/13 9:19 AM, Karl Forner wrote: Dear all, Consider this code: library("data.table") unloadNamespace('data.table') It produces some warnings Warning in FUN(X[[1L]], ...) : Created a package name, ‘201

[Rd] unloadNamespace, getPackageName and "Created a package name xxx " warning

2013-10-29 Thread Karl Forner
Dear all, Consider this code: >library("data.table") >unloadNamespace('data.table') It produces some warnings Warning in FUN(X[[1L]], ...) : Created a package name, ‘2013-10-29 17:05:51’, when none found Warning in FUN(X[[1L]], ...) : Created a package name, ‘2013-10-29 17:05:51’, when none f

Re: [Rd] Imports, importFrom slow (for Matrix)

2013-10-29 Thread Gábor Csárdi
Oh, you mean to put Matrix:: in the functions that need Matrix, right, of course. Then yes, this could be a solution. I have some issue with some new class definitions, but I can probably work them out. Gabor On Tue, Oct 29, 2013 at 10:25 AM, Gábor Csárdi wrote: > Unfortunately that seems to be

Re: [Rd] Imports, importFrom slow (for Matrix)

2013-10-29 Thread Gábor Csárdi
Unfortunately that seems to be (almost) just as slow. ~$ time Rscript -e 'Matrix::summary; ls()' > /dev/null real 0m2.785s user 0m2.668s sys 0m0.112s Gabor On Tue, Oct 29, 2013 at 10:11 AM, Prof Brian Ripley wrote: > On 29/10/2013 14:03, Gábor Csárdi wrote: >> >> Dear All, >> >> before its late

Re: [Rd] Imports, importFrom slow (for Matrix)

2013-10-29 Thread Prof Brian Ripley
On 29/10/2013 14:03, Gábor Csárdi wrote: Dear All, before its latest version my package had 'Imports: Matrix' in its DESCRIPTION file, but it did not import anything in NAMESPACE. Rather, some functions explicitly loaded Matrix, as they needed. The reason for this was that importing Matrix is re

[Rd] Imports, importFrom slow (for Matrix)

2013-10-29 Thread Gábor Csárdi
Dear All, before its latest version my package had 'Imports: Matrix' in its DESCRIPTION file, but it did not import anything in NAMESPACE. Rather, some functions explicitly loaded Matrix, as they needed. The reason for this was that importing Matrix is really slow, and only very few igraph functio