Hi Tiffany,

On Thu, Mar 3, 2016 at 1:20 PM, Tiffany Timbers
<[email protected]> wrote:
> I have been using Anaconda as package/environment manager for my Python
> version and packages, but this has led to my Bash Shell using the Anaconda
> version of R when I run Rscripts, and not the version of R I use in RStudio
> when I develop. This is something I don't want to happen, I want the command
> line to access the same version of R and R packages as I have installed via
> RStudio. I prefer to manage R and R package versions and installation in R
> because I can get more recent versions of R and R packages via RStudio
> compared to using conda.

Which version of Anaconda did you install? I have version 2.2.0
installed, and R is not automatically included. If you didn't install
R with conda, maybe a program you installed via conda listed R as a
dependency?

The current version is 2.5.0, so maybe this is a new feature?

> I have tried several things to fix this. For example, specifying the PATH in
> .bash_profile to be the R version I wanted to use didn't work unless I
> removed the PATH to Anaconda, but then I can't use conda to manage Python.
> The only thing I could do to fix this was to delete the R and Rscript that
> Anaconda installed. I don't think this fix is optimal, is there a better way
> to deal with this?

If you are not using the R/Rscript provided by conda, I do not see the
problem of uninstalling them with `conda remove`. The only potential
issue I could foresee is that a package you downloaded with conda may
require a specific version of R. But as long as the R version you have
installed is > 3.0, I would doubt there would be an issue.

> Also, this may be something we need to think about when people who develop
> in R routinely and use Rscripts, come to a Software Carpentry workshop to
> learn Python and install Anaconda. Doing this will change the version of R
> and R packages that they can now access from the command line (unless my
> experience here is unique). So we in effect, in some cases our installation
> might be breaking some of their working tools...

Installing Anaconda will break the current R installation only if the
latest versions install R/Rscript by default. After taking a quick
look at the change log and the list of included packages, I do not
think this is happening.

http://docs.continuum.io/anaconda/changelog
http://docs.continuum.io/anaconda/pkg-docs

Hopefully that was helpful. Please let me know if I my understanding
of the latest version of Anaconda is incorrect.

John

_______________________________________________
Discuss mailing list
[email protected]
http://lists.software-carpentry.org/mailman/listinfo/discuss_lists.software-carpentry.org

Reply via email to