Closed samt02 closed 1 year ago
Do you have Rtools installed? https://cran.r-project.org/bin/windows/Rtools/
Hi,
I have installed R in Mac using command "conda create -n r_env r-essentials r-base" and after that I installed a specific package that I want "dplR". When I run Jupyter notebook, I am getting following error messages in Mac terminal :
jupyter notebook ─╯ [I 03:56:39.863 NotebookApp] The port 8888 is already in use, trying another port. [I 03:56:39.864 NotebookApp] The port 8889 is already in use, trying another port. [I 03:56:39.865 NotebookApp] The port 8890 is already in use, trying another port. [I 03:56:39.865 NotebookApp] The port 8891 is already in use, trying another port. [I 03:56:39.866 NotebookApp] The port 8892 is already in use, trying another port. [I 03:56:39.867 NotebookApp] Serving notebooks from local directory: /Users/ajaysharma/Downloads/PhD_Work/Sources_study/REDFIT [I 03:56:39.868 NotebookApp] Jupyter Notebook 6.5.2 is running at: [I 03:56:39.868 NotebookApp] http://localhost:8963/?token=ddaac33b862f35850f1713e69651428ac297f522f14206a5 [I 03:56:39.868 NotebookApp] or http://127.0.0.1:8963/?token=ddaac33b862f35850f1713e69651428ac297f522f14206a5 [I 03:56:39.868 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation). [C 03:56:39.905 NotebookApp]
To access the notebook, open this file in a browser:
file:///Users/ajaysharma/Library/Jupyter/runtime/nbserver-68877-open.html
Or copy and paste one of these URLs:
http://localhost:8963/?token=ddaac33b862f35850f1713e69651428ac297f522f14206a5
or http://127.0.0.1:8963/?token=ddaac33b862f35850f1713e69651428ac297f522f14206a5
[W 03:56:47.151 NotebookApp] Notebook Untitled.ipynb is not trusted [W 03:56:47.180 NotebookApp] 404 GET /nbextensions/widgets/notebook/js/extension.js?v=20221224035639 (::1) 17.480000ms referer=http://localhost:8963/notebooks/Untitled.ipynb [I 03:56:47.404 NotebookApp] Kernel started: 099600a5-16a0-45c2-874d-5fc351b28182, name: ir Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) : there is no package called ‘htmltools’ Calls: :: ... loadNamespace -> withRestarts -> withOneRestart -> doWithOneRestart Execution halted [I 03:56:50.377 NotebookApp] KernelRestarter: restarting kernel (1/5), new random ports Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) : there is no package called ‘htmltools’ Calls: :: ... loadNamespace -> withRestarts -> withOneRestart -> doWithOneRestart Execution halted
I tried to install htmltools for r using conda, done it successfully. But still have same error message could you help me to resolve it.
@ajaykhoj that looks like a separate issue, please open a new issue if you are still having trouble installing
I have tried everything I can think of to update to the latest version. I need this to run shiny. here is the output from my latest attempt:
1: All
2: CRAN packages only
3: None
4: rlang (1.0.2 -> 1.0.6 ) [CRAN] 5: digest (0.6.29 -> 0.6.31) [CRAN]
Enter one or more numbers, or an empty line to skip updates: 2 rlang (1.0.2 -> 1.0.6 ) [CRAN] digest (0.6.29 -> 0.6.31) [CRAN] Installing 2 packages: rlang, digest Installing packages into ‘C:/Users/Sam/Documents/R/win-library/4.0’ (as ‘lib’ is unspecified)
There are binary versions available but the source versions are later: binary source needs_compilation rlang 1.0.2 1.0.6 TRUE digest 0.6.29 0.6.31 TRUE
Binaries will be installed trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.0/rlang_1.0.2.zip' Content type 'application/zip' length 1718546 bytes (1.6 MB) downloaded 1.6 MB
trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.0/digest_0.6.29.zip' Content type 'application/zip' length 266339 bytes (260 KB) downloaded 260 KB
package ‘rlang’ successfully unpacked and MD5 sums checked package ‘digest’ successfully unpacked and MD5 sums checked
The downloaded binary packages are in C:\Users\Sam\AppData\Local\Temp\RtmpgvkIUm\downloaded_packages Running
R CMD build
...*** arch - i386 Warning in system(cmd) : 'make' not found ERROR: compilation failed for package 'htmltools'