Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install.extras? #174

Open
inofechm opened this issue May 11, 2023 · 2 comments
Open

Install.extras? #174

inofechm opened this issue May 11, 2023 · 2 comments

Comments

@inofechm
Copy link

Hi,
I was trying to enable shared memory capabilities with install.extras('NMF') , but I cannot seem to understand where the install.extras function can be called from, is there some additional package that has that function?
I was able to overcome by manually installing bigmemory and synchronicity, but was wondering where I went wrong.
Thanks,
Ido

@rebeccagj
Copy link

The install.extras() function comes from pkgmaker, I believe. I found this old mailing list posting that shows that NMF used to load pkgmaker by default. From that posting, I also saw that the extra packages installed were bigmemory, synchronicity, and Biobase. I too just manually installed these packages, which does take care of the warning message to install.extra packages.

It would be nice if the install.extras("NMF") registry entry were updated (or instructions given on the proper registry to point to), as I also got this error.

> library(NMF)
Loading required package: registry
Loading required package: rngtools
Loading required package: cluster
NMF - BioConductor layer [OK] | Shared memory capabilities [OK] | Cores 2/2
> library(pkgmaker)

Attaching package: ‘pkgmaker’

The following objects are masked from ‘package:NMF’:

    isCHECK, isCRANcheck, latex_bibliography, latex_preamble

> install.extras(package = "NMF")
Error in regfetch(regentry$regobj, ..., msg = msg) : 
  extra action - Registry is empty: no matching entry for key “package=NMF”.

@yangmean
Copy link

@rebeccagj Hi , I've encountered the same issue. And I'm facing a similar concern about loading the NMF package on the server. The system seems to detect only 2 cores (Cores 2/2), causing the NMF function to operate solely on these 2 cores. even when I allocate more than 2 threads.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants