Giter VIP home page Giter VIP logo

Comments (3)

larssnip avatar larssnip commented on July 21, 2024 1

Actually, this made me thinking. I have of course an .Rprofile file in my HOME folder, that tells R where to locate the (locally) installed R packages. I just renamed this to Rprofile (no dot), and re-started picrust2. This seems to work like a charm! Now there is no confusion between my local R packages and the picrust2 conda environment when R is started from the latter.

This may actually be helpful to add to the installation procedure for picrust2.

from picrust2.

larssnip avatar larssnip commented on July 21, 2024

Interesting, since I having a related problem. Installed picrust2 as a conda environment on our computing cluster, but get the following error:

Error running this command:
Rscript /mnt/users/larssn/.conda/envs/picrust2/lib/python3.8/site-packages/picrust2/Rscripts/castor_nsti.R picrust_out/out.tre /home/work/tmp5a10ia2k/known_tips.txt /home/work/tmp5a10ia2k/nsti_out.txt

Standard error of the above failed command:
Error: package or namespace load failed for β€˜castor’ in dyn.load(file, DLLpath = DLLpath, ...):
unable to load shared object '/net/fs-2/scale/OrionStore/Home/larssn/R/myLib/Matrix/libs/Matrix.so':
libRlapack.so: cannot open shared object file: No such file or directory
Execution halted

It looks to me like the R script castor_nsti.R has problems loading the R package castor, which in turn loads the Matrix package. But both are loaded without any problems from my local R. Is it not strange that this conda environment uses my locally installed R packages?

from picrust2.

R-Wright-1 avatar R-Wright-1 commented on July 21, 2024

I am just closing this issue as it seems to be fixed. Thanks everyone for your follow-up here! It seems like there are several issues that can be run into, particularly with the M1 Macs, so I think it might be too confusing to add anything to the install pages, but hopefully anyone that runs into this issue will be able to search here for the solutions!

from picrust2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.