尝试一切,搜索所有内容,从Github安装Quantstrat软件包时遇到问题 [英] Tried Everying, Searched Everything, Issues installing Quantstrat package from Github

查看:152
本文介绍了尝试一切,搜索所有内容,从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:

  1. 为软件包创建文件夹,即RPackages \
  2. 将文件从github下载到该特定文件夹,然后将文件提取为库名.即RPackages \ quantstrat \
  3. 进入命令行并转到RPackages
  4. 类型" R CMD build quantstrat
  5. 如果成功,您会收到类似正在构建'package_name_version_number.tar.gz'"的消息
  6. 现在输入:R CMD INSTALL package_name_version_number.tar.gz
  1. Create a folder for packages i.e RPackages\
  2. Download the file from github to that specific folder and extract the files to the library name. i.e RPackages\quantstrat\
  3. go on command line and goto RPackages
  4. Type" R CMD build quantstrat
  5. If it was successful, you will get a message like "building 'package_name_version_number.tar.gz'"
  6. Now type: R CMD INSTALL package_name_version_number.tar.gz

让我知道您是否还有其他挑战.

Let me know if you have any other challenges.

这篇关于尝试一切,搜索所有内容,从Github安装Quantstrat软件包时遇到问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆