Discussion:
[conda] Unable To Load Dplyr With Conda Managed Environment Magrittr Reference Broken
ojvr
2018-03-06 11:49:44 UTC
Permalink
I am testing conda as a tool for package management for both R and Python.
In particular, I am interested in testing the Microsoft R Client
interpreter. I am experiencing issues in loading the dplyrpackage. I am
working in Windows 7.

I setup the environment as follows:

conda create -n mrc --channel r r-mrclient-mml r-essentials

I activate the environment

activate mrc

I then load R.

R

Yet when I load dplyr, I get an exception.

library(dplyr)
#Error: package or namespace load failed for 'dplyr' in loadNamespace(j <- #i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]):# there is no package called 'magrittr'

However, magrittr is installed. Because when I ran.

(mrc)$ conda list | grep 'magrittr'
r-magrittr 1.5 0a r

I have examined the *path* as well, and it shows conda activate is working
as expected.

Any ideas on how I might solve this?

I put it on stackoverflow.

https://stackoverflow.com/questions/49129471/unable-to-load-dplyr-with-conda-managed-environment-magrittr-reference-broken
--
You received this message because you are subscribed to the Google Groups "conda - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to conda+***@continuum.io.
To post to this group, send email to ***@continuum.io.
Visit this group at https://groups.google.com/a/continuum.io/group/conda/.
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/conda/48b8048b-ede4-46c9-bf01-48e805176ae2%40continuum.io.
For more options, visit https://groups.google.com/a/continuum.io/d/optout.
ojvr
2018-03-07 11:05:27 UTC
Permalink
I managed to resolve the issues by running the installation of the packages
in a step-by-step fashion.

conda create -n mrc r activate mrc conda install r-mrclient-mml conda
install r-essentials

It appears, conda may have a bug when it tries to solve the package
dependencies through an approach of installing all the packages in a single
command. i.e. conda create -n mrc --channel r r-mrclient-mml r-essentials.
Post by ojvr
I am testing conda as a tool for package management for both R and Python.
In particular, I am interested in testing the Microsoft R Client
interpreter. I am experiencing issues in loading the dplyrpackage. I am
working in Windows 7.
conda create -n mrc --channel r r-mrclient-mml r-essentials
I activate the environment
activate mrc
I then load R.
R
Yet when I load dplyr, I get an exception.
library(dplyr)
#Error: package or namespace load failed for 'dplyr' in loadNamespace(j <- #i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]):# there is no package called 'magrittr'
However, magrittr is installed. Because when I ran.
(mrc)$ conda list | grep 'magrittr'
r-magrittr 1.5 0a r
I have examined the *path* as well, and it shows conda activate is
working as expected.
Any ideas on how I might solve this?
I put it on stackoverflow.
https://stackoverflow.com/questions/49129471/unable-to-load-dplyr-with-conda-managed-environment-magrittr-reference-broken
--
You received this message because you are subscribed to the Google Groups "conda - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to conda+***@continuum.io.
To post to this group, send email to ***@continuum.io.
Visit this group at https://groups.google.com/a/continuum.io/group/conda/.
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/conda/360da3f6-ec2b-4265-99e6-aee42b7cda05%40continuum.io.
For more options, visit https://groups.google.com/a/continuum.io/d/optout.
ojvr
2018-03-07 13:24:49 UTC
Permalink
Awesomeness! Thank you guys in that case, for addressing the issue so
quickly. :)
We missed a step in the MRO update involving removing some very old
packages that caused problems for our solver and corrected that mistake, in
part due to your email yesterday. I believe that's the reason things are
working for you now.
Cheers.
Post by ojvr
I managed to resolve the issues by running the installation of the
packages in a step-by-step fashion.
conda create -n mrc r activate mrc conda install r-mrclient-mml conda
install r-essentials
It appears, conda may have a bug when it tries to solve the package
dependencies through an approach of installing all the packages in a single
command. i.e. conda create -n mrc --channel r r-mrclient-mml r-essentials
.
Post by ojvr
I am testing conda as a tool for package management for both R and
Python. In particular, I am interested in testing the Microsoft R
Client interpreter. I am experiencing issues in loading the dplyrpackage.
I am working in Windows 7.
conda create -n mrc --channel r r-mrclient-mml r-essentials
I activate the environment
activate mrc
I then load R.
R
Yet when I load dplyr, I get an exception.
library(dplyr)
#Error: package or namespace load failed for 'dplyr' in loadNamespace(j <- #i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]):# there is no package called 'magrittr'
However, magrittr is installed. Because when I ran.
(mrc)$ conda list | grep 'magrittr'
r-magrittr 1.5 0a r
I have examined the *path* as well, and it shows conda activate is
working as expected.
Any ideas on how I might solve this?
I put it on stackoverflow.
https://stackoverflow.com/questions/49129471/unable-to-load-dplyr-with-conda-managed-environment-magrittr-reference-broken
--
You received this message because you are subscribed to the Google Groups
"conda - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an
Visit this group at https://groups.google.com/a/continuum.io/group/conda/
.
To view this discussion on the web visit
https://groups.google.com/a/continuum.io/d/msgid/conda/360da3f6-ec2b-4265-99e6-aee42b7cda05%40continuum.io
<https://groups.google.com/a/continuum.io/d/msgid/conda/360da3f6-ec2b-4265-99e6-aee42b7cda05%40continuum.io?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/a/continuum.io/d/optout
.
--
You received this message because you are subscribed to the Google Groups "conda - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to conda+***@continuum.io.
To post to this group, send email to ***@continuum.io.
Visit this group at https://groups.google.com/a/continuum.io/group/conda/.
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/conda/2108aff4-0cad-43b0-9751-dc6e162e4169%40continuum.io.
For more options, visit https://groups.google.com/a/continuum.io/d/optout.
Loading...