(Apr-30-2020, 12:45 AM)Larz60+ Wrote: Isn't the install command supposed to be pip install essentials
?
No here most use
conda,in some cases will both work but not here.
conda
it's the package manager for
Anaconda.
It's has lot power,so i gone give full a demo of what it dos,so you can look at functionality.
@
ErnestTBass har you been paying attention in previous Threads where i have show you how this work?
So this is the Repo
Installing r-essentials.
This gone install the whole
R stack ,so there are several hundred of packages.
Full Demo
First we start bye make a
Virtual environment
with
conda.
conda create --name r_env conda jupyterlab pandas requests
Here is the run if we do not specify a Python version it will pull down the newest
Python 3.8.2
G:\Anaconda3\Scripts
λ conda create --name r_env conda jupyterlab pandas requests
Collecting package metadata (repodata.json): done
Solving environment: done
## Package Plan ##
environment location: G:\Anaconda3\envs\r_env
added / updated specs:
- conda
- jupyterlab
- pandas
- requests
The following packages will be downloaded:
package | build
---------------------------|-----------------
brotlipy-0.7.0 |py38h1e8a9f7_1000 368 KB conda-forge
cffi-1.14.0 | py38ha419a9e_0 223 KB conda-forge
chardet-3.0.4 |py38h32f6830_1006 189 KB conda-forge
conda-4.8.3 | py38h32f6830_1 3.0 MB conda-forge
conda-package-handling-1.6.0| py38h9d45107_2 703 KB conda-forge
cryptography-2.9.2 | py38hba49e27_0 583 KB conda-forge
entrypoints-0.3 |py38h32f6830_1001 11 KB conda-forge
importlib-metadata-1.6.0 | py38h32f6830_0 43 KB conda-forge
ipykernel-5.2.1 | py38h5ca1d4c_0 163 KB conda-forge
ipython-7.13.0 | py38h32f6830_2 1.1 MB conda-forge
jedi-0.17.0 | py38h32f6830_0 783 KB conda-forge
jinja2-2.11.2 | pyh9f0ad1d_0 93 KB conda-forge
json5-0.9.0 | py_0 24 KB conda-forge
jsonschema-3.2.0 | py38h32f6830_1 108 KB conda-forge
jupyter_client-6.1.3 | py_0 74 KB conda-forge
jupyter_core-4.6.3 | py38h32f6830_1 95 KB conda-forge
jupyterlab-2.1.1 | py_0 5.9 MB conda-forge
jupyterlab_server-1.1.1 | py_0 24 KB conda-forge
markupsafe-1.1.1 | py38h9de7a3e_1 29 KB conda-forge
menuinst-1.4.16 | py38_0 94 KB conda-forge
mistune-0.8.4 |py38h9de7a3e_1001 53 KB conda-forge
nbconvert-5.6.1 | py38h32f6830_1 485 KB conda-forge
nbformat-5.0.6 | py_0 99 KB conda-forge
notebook-6.0.3 | py38_0 7.7 MB conda-forge
numpy-1.18.1 | py38ha749109_1 4.8 MB conda-forge
pandas-1.0.3 | py38he6e81aa_1 9.9 MB conda-forge
pandoc-2.9.2.1 | 0 29.3 MB conda-forge
parso-0.7.0 | pyh9f0ad1d_0 67 KB conda-forge
pickleshare-0.7.5 |py38h32f6830_1001 12 KB conda-forge
pip-20.1 | pyh9f0ad1d_0 1.1 MB conda-forge
pycosat-0.6.3 |py38h9de7a3e_1004 100 KB conda-forge
pyrsistent-0.16.0 | py38h9de7a3e_0 91 KB conda-forge
pysocks-1.7.1 | py38h32f6830_1 27 KB conda-forge
python-3.8.2 |h5fd99cc_7_cpython 18.8 MB conda-forge
pytz-2020.1 | pyh9f0ad1d_0 227 KB conda-forge
pywin32-227 | py38hfa6e2cd_0 6.9 MB conda-forge
pywinpty-0.5.7 | py38_0 50 KB conda-forge
pyzmq-19.0.0 | py38hc5dc6fd_1 443 KB conda-forge
ruamel_yaml-0.15.80 |py38h9de7a3e_1001 286 KB conda-forge
terminado-0.8.3 | py38h32f6830_1 23 KB conda-forge
tornado-6.0.4 | py38hfa6e2cd_0 646 KB conda-forge
tqdm-4.45.0 | pyh9f0ad1d_1 48 KB conda-forge
traitlets-4.3.3 | py38h32f6830_1 134 KB conda-forge
win_inet_pton-1.1.0 | py38_0 7 KB conda-forge
yaml-0.2.4 | he774522_0 60 KB conda-forge
------------------------------------------------------------
Total: 94.7 MB
The following NEW packages will be INSTALLED:
attrs conda-forge/noarch::attrs-19.3.0-py_0
backcall conda-forge/noarch::backcall-0.1.0-py_0
bleach conda-forge/noarch::bleach-3.1.4-pyh9f0ad1d_0
brotlipy conda-forge/win-64::brotlipy-0.7.0-py38h1e8a9f7_1000
ca-certificates conda-forge/win-64::ca-certificates-2020.4.5.1-hecc5488_0
certifi conda-forge/win-64::certifi-2020.4.5.1-py38h32f6830_0
cffi conda-forge/win-64::cffi-1.14.0-py38ha419a9e_0
chardet conda-forge/win-64::chardet-3.0.4-py38h32f6830_1006
colorama conda-forge/noarch::colorama-0.4.3-py_0
conda conda-forge/win-64::conda-4.8.3-py38h32f6830_1
conda-package-han~ conda-forge/win-64::conda-package-handling-1.6.0-py38h9d45107_2
cryptography conda-forge/win-64::cryptography-2.9.2-py38hba49e27_0
decorator conda-forge/noarch::decorator-4.4.2-py_0
defusedxml conda-forge/noarch::defusedxml-0.6.0-py_0
entrypoints conda-forge/win-64::entrypoints-0.3-py38h32f6830_1001
idna conda-forge/noarch::idna-2.9-py_1
importlib-metadata conda-forge/win-64::importlib-metadata-1.6.0-py38h32f6830_0
importlib_metadata conda-forge/noarch::importlib_metadata-1.6.0-0
intel-openmp pkgs/main/win-64::intel-openmp-2020.0-166
ipykernel conda-forge/win-64::ipykernel-5.2.1-py38h5ca1d4c_0
ipython conda-forge/win-64::ipython-7.13.0-py38h32f6830_2
ipython_genutils conda-forge/noarch::ipython_genutils-0.2.0-py_1
jedi conda-forge/win-64::jedi-0.17.0-py38h32f6830_0
jinja2 conda-forge/noarch::jinja2-2.11.2-pyh9f0ad1d_0
json5 conda-forge/noarch::json5-0.9.0-py_0
jsonschema conda-forge/win-64::jsonschema-3.2.0-py38h32f6830_1
jupyter_client conda-forge/noarch::jupyter_client-6.1.3-py_0
jupyter_core conda-forge/win-64::jupyter_core-4.6.3-py38h32f6830_1
jupyterlab conda-forge/noarch::jupyterlab-2.1.1-py_0
jupyterlab_server conda-forge/noarch::jupyterlab_server-1.1.1-py_0
libblas conda-forge/win-64::libblas-3.8.0-15_mkl
libcblas conda-forge/win-64::libcblas-3.8.0-15_mkl
liblapack conda-forge/win-64::liblapack-3.8.0-15_mkl
libsodium conda-forge/win-64::libsodium-1.0.17-h2fa13f4_0
m2w64-gcc-libgfor~ pkgs/msys2/win-64::m2w64-gcc-libgfortran-5.3.0-6
m2w64-gcc-libs pkgs/msys2/win-64::m2w64-gcc-libs-5.3.0-7
m2w64-gcc-libs-co~ pkgs/msys2/win-64::m2w64-gcc-libs-core-5.3.0-7
m2w64-gmp pkgs/msys2/win-64::m2w64-gmp-6.1.0-2
m2w64-libwinpthre~ pkgs/msys2/win-64::m2w64-libwinpthread-git-5.0.0.4634.697f757-2
markupsafe conda-forge/win-64::markupsafe-1.1.1-py38h9de7a3e_1
menuinst conda-forge/win-64::menuinst-1.4.16-py38_0
mistune conda-forge/win-64::mistune-0.8.4-py38h9de7a3e_1001
mkl pkgs/main/win-64::mkl-2020.0-166
msys2-conda-epoch pkgs/msys2/win-64::msys2-conda-epoch-20160418-1
nbconvert conda-forge/win-64::nbconvert-5.6.1-py38h32f6830_1
nbformat conda-forge/noarch::nbformat-5.0.6-py_0
notebook conda-forge/win-64::notebook-6.0.3-py38_0
numpy conda-forge/win-64::numpy-1.18.1-py38ha749109_1
openssl conda-forge/win-64::openssl-1.1.1g-he774522_0
pandas conda-forge/win-64::pandas-1.0.3-py38he6e81aa_1
pandoc conda-forge/win-64::pandoc-2.9.2.1-0
pandocfilters conda-forge/noarch::pandocfilters-1.4.2-py_1
parso conda-forge/noarch::parso-0.7.0-pyh9f0ad1d_0
pickleshare conda-forge/win-64::pickleshare-0.7.5-py38h32f6830_1001
pip conda-forge/noarch::pip-20.1-pyh9f0ad1d_0
prometheus_client conda-forge/noarch::prometheus_client-0.7.1-py_0
prompt-toolkit conda-forge/noarch::prompt-toolkit-3.0.5-py_0
pycosat conda-forge/win-64::pycosat-0.6.3-py38h9de7a3e_1004
pycparser conda-forge/noarch::pycparser-2.20-py_0
pygments conda-forge/noarch::pygments-2.6.1-py_0
pyopenssl conda-forge/noarch::pyopenssl-19.1.0-py_1
pyrsistent conda-forge/win-64::pyrsistent-0.16.0-py38h9de7a3e_0
pysocks conda-forge/win-64::pysocks-1.7.1-py38h32f6830_1
python conda-forge/win-64::python-3.8.2-h5fd99cc_7_cpython
python-dateutil conda-forge/noarch::python-dateutil-2.8.1-py_0
python_abi conda-forge/win-64::python_abi-3.8-1_cp38
pytz conda-forge/noarch::pytz-2020.1-pyh9f0ad1d_0
pywin32 conda-forge/win-64::pywin32-227-py38hfa6e2cd_0
pywinpty conda-forge/win-64::pywinpty-0.5.7-py38_0
pyzmq conda-forge/win-64::pyzmq-19.0.0-py38hc5dc6fd_1
requests conda-forge/noarch::requests-2.23.0-pyh8c360ce_2
ruamel_yaml conda-forge/win-64::ruamel_yaml-0.15.80-py38h9de7a3e_1001
send2trash conda-forge/noarch::send2trash-1.5.0-py_0
setuptools conda-forge/win-64::setuptools-46.1.3-py38h32f6830_0
six conda-forge/noarch::six-1.14.0-py_1
sqlite conda-forge/win-64::sqlite-3.30.1-hfa6e2cd_0
terminado conda-forge/win-64::terminado-0.8.3-py38h32f6830_1
testpath conda-forge/noarch::testpath-0.4.4-py_0
tornado conda-forge/win-64::tornado-6.0.4-py38hfa6e2cd_0
tqdm conda-forge/noarch::tqdm-4.45.0-pyh9f0ad1d_1
traitlets conda-forge/win-64::traitlets-4.3.3-py38h32f6830_1
urllib3 conda-forge/noarch::urllib3-1.25.9-py_0
vc conda-forge/win-64::vc-14.1-h869be7e_1
vs2015_runtime conda-forge/win-64::vs2015_runtime-14.16.27012-h30e32a0_2
wcwidth conda-forge/noarch::wcwidth-0.1.9-pyh9f0ad1d_0
webencodings conda-forge/noarch::webencodings-0.5.1-py_1
wheel conda-forge/noarch::wheel-0.34.2-py_1
win_inet_pton conda-forge/win-64::win_inet_pton-1.1.0-py38_0
wincertstore conda-forge/win-64::wincertstore-0.2-py38_1003
winpty conda-forge/win-64::winpty-0.4.3-4
yaml conda-forge/win-64::yaml-0.2.4-he774522_0
zeromq conda-forge/win-64::zeromq-4.3.2-h6538335_2
zipp conda-forge/noarch::zipp-3.1.0-py_0
Proceed ([y]/n)? y
Downloading and Extracting Packages
json5-0.9.0 | 24 KB | ################################################################### | 100%
yaml-0.2.4 | 60 KB | ################################################################### | 100%
numpy-1.18.1 | 4.8 MB | ################################################################### | 100%
markupsafe-1.1.1 | 29 KB | ################################################################### | 100%
parso-0.7.0 | 67 KB | ################################################################### | 100%
win_inet_pton-1.1.0 | 7 KB | ################################################################### | 100%
jupyterlab-2.1.1 | 5.9 MB | ################################################################### | 100%
importlib-metadata-1 | 43 KB | ################################################################### | 100%
jinja2-2.11.2 | 93 KB | ################################################################### | 100%
cryptography-2.9.2 | 583 KB | ################################################################### | 100%
python-3.8.2 | 18.8 MB | ################################################################### | 100%
ipykernel-5.2.1 | 163 KB | ################################################################### | 100%
pytz-2020.1 | 227 KB | ################################################################### | 100%
pywin32-227 | 6.9 MB | ################################################################### | 100%
jupyterlab_server-1. | 24 KB | ################################################################### | 100%
pandoc-2.9.2.1 | 29.3 MB | ################################################################### | 100%
tornado-6.0.4 | 646 KB | ################################################################### | 100%
entrypoints-0.3 | 11 KB | ################################################################### | 100%
pyzmq-19.0.0 | 443 KB | ################################################################### | 100%
pywinpty-0.5.7 | 50 KB | ################################################################### | 100%
ipython-7.13.0 | 1.1 MB | ################################################################### | 100%
nbconvert-5.6.1 | 485 KB | ################################################################### | 100%
menuinst-1.4.16 | 94 KB | ################################################################### | 100%
jedi-0.17.0 | 783 KB | ################################################################### | 100%
pyrsistent-0.16.0 | 91 KB | ################################################################### | 100%
tqdm-4.45.0 | 48 KB | ################################################################### | 100%
brotlipy-0.7.0 | 368 KB | ################################################################### | 100%
nbformat-5.0.6 | 99 KB | ################################################################### | 100%
terminado-0.8.3 | 23 KB | ################################################################### | 100%
pycosat-0.6.3 | 100 KB | ################################################################### | 100%
pandas-1.0.3 | 9.9 MB | ################################################################### | 100%
ruamel_yaml-0.15.80 | 286 KB | ################################################################### | 100%
jupyter_client-6.1.3 | 74 KB | ################################################################### | 100%
chardet-3.0.4 | 189 KB | ################################################################### | 100%
traitlets-4.3.3 | 134 KB | ################################################################### | 100%
cffi-1.14.0 | 223 KB | ################################################################### | 100%
pysocks-1.7.1 | 27 KB | ################################################################### | 100%
notebook-6.0.3 | 7.7 MB | ################################################################### | 100%
pip-20.1 | 1.1 MB | ################################################################### | 100%
conda-4.8.3 | 3.0 MB | ################################################################### | 100%
jupyter_core-4.6.3 | 95 KB | ################################################################### | 100%
jsonschema-3.2.0 | 108 KB | ################################################################### | 100%
conda-package-handli | 703 KB | ################################################################### | 100%
mistune-0.8.4 | 53 KB | ################################################################### | 100%
pickleshare-0.7.5 | 12 KB | ################################################################### | 100%
Preparing transaction: done
Verifying transaction: done
Executing transaction: done
#
# To activate this environment, use
#
# $ conda activate r_env
#
# To deactivate an active environment, use
#
# $ conda deactivate
Now activate environment and navigate to folder,see
(r_env)
.
G:\Anaconda3\Scripts
λ activate r_env
(r_env) G:\Anaconda3\Scripts
λ cd ..
(r_env) G:\Anaconda3
λ cd envs\
(r_env) G:\Anaconda3\envs
λ cd r_env\
(r_env) G:\Anaconda3\envs\r_env
List files.
(r_env) G:\Anaconda3\envs\r_env
λ ls
DLLs/ api-ms-win-core-rtlsupport-l1-1-0.dll* condabin/
LICENSE_PYTHON.txt api-ms-win-core-string-l1-1-0.dll* cwp.py
Lib/ api-ms-win-core-synch-l1-1-0.dll* etc/
Library/ api-ms-win-core-synch-l1-2-0.dll* include/
Scripts/ api-ms-win-core-sysinfo-l1-1-0.dll* libs/
Tools/ api-ms-win-core-timezone-l1-1-0.dll* msvcp140.dll*
api-ms-win-core-console-l1-1-0.dll* api-ms-win-core-util-l1-1-0.dll* msvcp140_1.dll*
api-ms-win-core-datetime-l1-1-0.dll* api-ms-win-crt-conio-l1-1-0.dll* msvcp140_2.dll*
api-ms-win-core-debug-l1-1-0.dll* api-ms-win-crt-convert-l1-1-0.dll* python.exe*
api-ms-win-core-errorhandling-l1-1-0.dll* api-ms-win-crt-environment-l1-1-0.dll* python.pdb
api-ms-win-core-file-l1-1-0.dll* api-ms-win-crt-filesystem-l1-1-0.dll* python3.dll*
api-ms-win-core-file-l1-2-0.dll* api-ms-win-crt-heap-l1-1-0.dll* python38.dll*
api-ms-win-core-file-l2-1-0.dll* api-ms-win-crt-locale-l1-1-0.dll* python38.pdb
api-ms-win-core-handle-l1-1-0.dll* api-ms-win-crt-math-l1-1-0.dll* pythonw.exe*
api-ms-win-core-heap-l1-1-0.dll* api-ms-win-crt-multibyte-l1-1-0.dll* pythonw.pdb
api-ms-win-core-interlocked-l1-1-0.dll* api-ms-win-crt-private-l1-1-0.dll* share/
api-ms-win-core-libraryloader-l1-1-0.dll* api-ms-win-crt-process-l1-1-0.dll* shell/
api-ms-win-core-localization-l1-2-0.dll* api-ms-win-crt-runtime-l1-1-0.dll* tcl/
api-ms-win-core-memory-l1-1-0.dll* api-ms-win-crt-stdio-l1-1-0.dll* ucrtbase.dll*
api-ms-win-core-namedpipe-l1-1-0.dll* api-ms-win-crt-string-l1-1-0.dll* vccorlib140.dll*
api-ms-win-core-processenvironment-l1-1-0.dll* api-ms-win-crt-time-l1-1-0.dll* vcomp140.dll*
api-ms-win-core-processthreads-l1-1-0.dll* api-ms-win-crt-utility-l1-1-0.dll* vcruntime140.dll*
api-ms-win-core-processthreads-l1-1-1.dll* concrt140.dll* venvlauncher.exe*
api-ms-win-core-profile-l1-1-0.dll* conda-meta/ venvwlauncher.exe*
Now it install
r-essentials.
(r_env) G:\Anaconda3\envs\r_env
λ conda config --add channels conda-forge
(r_env) G:\Anaconda3\envs\r_env
λ conda install r-essentials
Collecting package metadata (current_repodata.json): done
Solving environment: done
## Package Plan ##
environment location: G:\Anaconda3\envs\r_env
added / updated specs:
- r-essentials
The following packages will be downloaded:
package | build
---------------------------|-----------------
_r-mutex-1.0.1 | anacondar_1 3 KB conda-forge
libiconv-1.15 | hfa6e2cd_1006 672 KB conda-forge
m2w64-bwidget-1.9.10 | 2 153 KB
m2w64-bzip2-1.0.6 | 6 100 KB
m2w64-expat-2.1.1 | 2 160 KB
m2w64-fftw-3.3.4 | 6 5.4 MB
m2w64-flac-1.3.1 | 3 872 KB
m2w64-gettext-0.19.7 | 2 4.2 MB
m2w64-gsl-2.1 | 2 2.4 MB
m2w64-icu-58.2 | heb44b8b_2 23.6 MB
m2w64-libiconv-1.14 | 6 1.5 MB
m2w64-libjpeg-turbo-1.4.2 | 3 656 KB
m2w64-libogg-1.3.2 | 3 205 KB
m2w64-libpng-1.6.21 | 2 399 KB
m2w64-libsndfile-1.0.26 | 2 549 KB
m2w64-libtiff-4.0.6 | 2 1.2 MB
m2w64-libvorbis-1.3.5 | 2 480 KB
m2w64-libxml2-2.9.3 | 4 2.1 MB
m2w64-mpfr-3.1.4 | 4 293 KB
m2w64-pcre-8.38 | 2 1.2 MB
m2w64-speex-1.2rc2 | 3 593 KB
m2w64-speexdsp-1.2rc3 | 3 514 KB
m2w64-tcl-8.6.5 | 3 3.9 MB
m2w64-tk-8.6.5 | 3 2.2 MB
m2w64-tktable-2.10 | 5 112 KB
m2w64-wineditline-2.101 | 5 46 KB
m2w64-xz-5.2.2 | 2 395 KB
m2w64-zlib-1.2.8 | 10 197 KB
r-askpass-1.1 | r36hda5aaf8_1 72 KB conda-forge
r-assertthat-0.2.1 | r36h6115d3f_1 70 KB conda-forge
r-backports-1.1.6 | r36hda5aaf8_0 86 KB conda-forge
r-base-3.6.3 | hf0ea6f9_2 55.4 MB conda-forge
r-base64enc-0.1_3 | r36hda5aaf8_1003 50 KB conda-forge
r-boot-1.3_25 | r36h6115d3f_0 635 KB conda-forge
......... and a lot more
Test that it work
As i installed
JupyterLab
Star Notebook bye using
jupyter lab
Will now see that can create
R NoteBooks
and
Python 3 Notebooks
.
Here a test plot using R,to see that it work.
![[Image: q6WO3Q.png]](https://imagizer.imageshack.com/v2/xq90/923/q6WO3Q.png)
The same in Python and matplotlib would be.