Output of
conda env list is:
# conda environments:
#
base * /Users/liuj10/opt/anaconda2
/usr/local/fsl/fslpython
/usr/local/fsl/fslpython/envs/fslpython
When I run
grep -h "conda activate" ~/.*rc nothing is returned! Should I try a different file?
Output of
cat ~/.condarc is:
ssl_verify: true
channels:
- defaults
In a terminal where I ran "conda deactivate" I ran
sudo rPkgsInstall -pkgs ALL but I don't think it worked. It just printed "updating R_LD_LIBRARY_PATH ..." and when I tried loading afex in R it threw an error:
$ conda deactivate
$ sudo rPkgsInstall -pkgs ALL
Password:
updating R_LD_LIBRARY_PATH ...
$
$ which R
/usr/local/bin/R
$
$ R
R version 3.6.3 (2020-02-29) -- "Holding the Windsock"
Copyright (C) 2020 The R Foundation for Statistical Computing
Platform: x86_64-apple-darwin15.6.0 (64-bit)
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.
Natural language support but running in an English locale
R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.
Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.
[Previously saved workspace restored]
> library("afex")
Loading required package: lme4
Loading required package: Matrix
Error: package or namespace load failed for ‘afex’ in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]):
there is no package called ‘data.table’
For the record, in the past even when I've tried downloading afex specifically using install.packages("afex"), it will seem like it worked but then when I try loading the package I get the same error...
Thanks!
Janelle