尝试一切,搜索所有内容,从Github安装Quantstrat软件包时遇到问题 [英] Tried Everying, Searched Everything, Issues installing Quantstrat package from Github
本文介绍了尝试一切,搜索所有内容,从Github安装Quantstrat软件包时遇到问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
安装Quantstrat问题.我正在运行R,RStudio和Rtools的最新版本.我已经安装了devtools/remote软件包,但似乎无法安装quantstrat. 在此处输入图片描述
Installing Quantstrat Issues. I am running the latest versions of R, RStudio, and Rtools. I have installed devtools / remotes packages and cannot seem to get quantstrat installed. enter image description here
推荐答案
我也遇到了类似的问题.通过cmd安装Quantstrat对我来说效果很好.步骤如下:
I had similar problems too. Installing quantstrat via cmd works well for me. Here are the steps:
- 为软件包创建文件夹,即RPackages \
- 将文件从github下载到该特定文件夹,然后将文件提取为库名.即RPackages \ quantstrat \
- 进入命令行并转到RPackages
- 类型"
R CMD build quantstrat
- 如果成功,您会收到类似正在构建'package_name_version_number.tar.gz'"的消息
- 现在输入:
R CMD INSTALL package_name_version_number.tar.gz
- Create a folder for packages i.e RPackages\
- Download the file from github to that specific folder and extract the files to the library name. i.e RPackages\quantstrat\
- go on command line and goto RPackages
- Type"
R CMD build quantstrat
- If it was successful, you will get a message like "building 'package_name_version_number.tar.gz'"
- Now type:
R CMD INSTALL package_name_version_number.tar.gz
让我知道您是否还有其他挑战.
Let me know if you have any other challenges.
这篇关于尝试一切,搜索所有内容,从Github安装Quantstrat软件包时遇到问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文