conda build r-ldavis/不工作 [英] conda build r-ldavis/ not working
问题描述
我是jupyter的新手,我想安装一个CRAN上可用的R包(tseries)
I am new to jupyter, and I am looking to install an R package (tseries) that is available on CRAN
我正在尝试回答一个提出的问题,但是我认为我遇到了另一个问题.
I was trying to follow a question that was raised, but I think I am getting a different problem.
我最初关注此链接
conda-如何安装"R-essentials"中不可用的R软件包?
但是很明显,答案将我定向到了另一个链接
But it seems obvious that the answer direct me to another link which is
https://www.continuum.io/content/conda-data-science
在构建conda R程序包下
under the Building a conda R package
他们说要跑步
conda skeleton cran ldavis
然后我得到了以下
C:\Users\Rami>conda skeleton cran ldavis
Tip: install CacheControl (conda package) to cache the CRAN metadata
Fetching metadata from http://cran.r-project.org/
Tip: install CacheControl (conda package) to cache the CRAN metadata
Traceback (most recent call last):
File "d:\Users\Rami\Anaconda3\Scripts\conda-skeleton-script.py", line 5, in <module>
sys.exit(conda_build.cli.main_skeleton.main())
File "d:\Users\Rami\Anaconda3\lib\site-packages\conda_build\cli\main_skeleton.py", line 65, in main
return execute(sys.argv[1:])
File "d:\Users\Rami\Anaconda3\lib\site-packages\conda_build\cli\main_skeleton.py", line 61, in execute
api.skeletonize(package, args.repo, config=config)
File "d:\Users\Rami\Anaconda3\lib\site-packages\conda_build\api.py", line 192, in skeletonize
recursive=recursive, config=config, **kwargs)
File "d:\Users\Rami\Anaconda3\lib\site-packages\conda_build\skeletons\cran.py", line 527, in skeletonize
raise RuntimeError("directory already exists: %s" % dir_path)
RuntimeError: directory already exists: .\r-ldavis
请逐步帮助我,因为我真的是Windows 10的新手.
Please help me in steps as I am really new to this on windows 10
推荐答案
谢谢大家的发言,但是我发现不担心r目录的最简单方法是使用以下命令直接从jupyter下载软件包>
Thank you all for your remarks but the easiest way I found for not worrying about the r directory is through downloading the package directly from jupyter using the following command
install.packages('tseries', repos='http://cran.us.r-project.org')
这对我来说很好.
这篇关于conda build r-ldavis/不工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!