Tried Everying, Searched Everything, Issues installing Quantstrat package from Github

与世无争的帅哥 提交于 2019-12-14 03:27:49

问题


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


回答1:


I had similar problems too. Installing quantstrat via cmd works well for me. Here are the steps:

  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.




回答2:


I get the following error at step 4: 'R' is not recognized as an internal or external command, operable program or batch file.

what do I need to do to overcome this.



来源:https://stackoverflow.com/questions/52156034/tried-everying-searched-everything-issues-installing-quantstrat-package-from-g

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!