久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

    • <bdo id='aTeDS'></bdo><ul id='aTeDS'></ul>
  • <i id='aTeDS'><tr id='aTeDS'><dt id='aTeDS'><q id='aTeDS'><span id='aTeDS'><b id='aTeDS'><form id='aTeDS'><ins id='aTeDS'></ins><ul id='aTeDS'></ul><sub id='aTeDS'></sub></form><legend id='aTeDS'></legend><bdo id='aTeDS'><pre id='aTeDS'><center id='aTeDS'></center></pre></bdo></b><th id='aTeDS'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='aTeDS'><tfoot id='aTeDS'></tfoot><dl id='aTeDS'><fieldset id='aTeDS'></fieldset></dl></div>

      <tfoot id='aTeDS'></tfoot>

      <small id='aTeDS'></small><noframes id='aTeDS'>

      <legend id='aTeDS'><style id='aTeDS'><dir id='aTeDS'><q id='aTeDS'></q></dir></style></legend>

        R,Python:在 rpy2 上安裝包

        R, Python: install packages on rpy2(R,Python:在 rpy2 上安裝包)

            <tbody id='j1GI3'></tbody>
          <legend id='j1GI3'><style id='j1GI3'><dir id='j1GI3'><q id='j1GI3'></q></dir></style></legend>

          <small id='j1GI3'></small><noframes id='j1GI3'>

        1. <i id='j1GI3'><tr id='j1GI3'><dt id='j1GI3'><q id='j1GI3'><span id='j1GI3'><b id='j1GI3'><form id='j1GI3'><ins id='j1GI3'></ins><ul id='j1GI3'></ul><sub id='j1GI3'></sub></form><legend id='j1GI3'></legend><bdo id='j1GI3'><pre id='j1GI3'><center id='j1GI3'></center></pre></bdo></b><th id='j1GI3'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='j1GI3'><tfoot id='j1GI3'></tfoot><dl id='j1GI3'><fieldset id='j1GI3'></fieldset></dl></div>

            <bdo id='j1GI3'></bdo><ul id='j1GI3'></ul>

                • <tfoot id='j1GI3'></tfoot>

                  本文介紹了R,Python:在 rpy2 上安裝包的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                  問題描述

                  我通過 rpy2 庫在我的 Python 腳本中使用 R,我需要一個 package 不在 R 的默認安裝中.如何安裝?

                  I'm using R in my Python script through the rpy2 library and I need a package that is not in the default installation of R. How can I install it?

                  install.packages("DirichletReg", repos="http://r-forge.r-project.org")
                  

                  不會工作.

                  在 Python 上:

                  On Python:

                  >>> install.packages("DirichletReg", repos="http://r-forge.r-project.org") 
                  Traceback (most recent call last):
                  File "<stdin>", line 1, in <module>
                  NameError: name 'install' is not defined
                  

                  來自 R:

                  > install.packages("DirichletReg", repos="http://r-forge.r-project.org")
                  Installing package(s) into ‘/usr/local/lib/R/site-library’
                  (as ‘lib’ is unspecified)
                  Warning message:
                  In getDependencies(pkgs, dependencies, available, lib) :
                    package ‘DirichletReg’ is not available (for R version 2.14.1)
                  

                  推薦答案

                  這個怎么樣

                  >>> import rpy2.interactive as r
                  >>> r.importr("utils")
                  >>> package_name = "DirichletReg"
                  >>> r.packages.utils.install_packages(package_name)
                  

                  這篇關于R,Python:在 rpy2 上安裝包的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網(wǎng)!

                  【網(wǎng)站聲明】本站部分內(nèi)容來源于互聯(lián)網(wǎng),旨在幫助大家更快的解決問題,如果有圖片或者內(nèi)容侵犯了您的權益,請聯(lián)系我們刪除處理,感謝您的支持!

                  相關文檔推薦

                  python: Two modules and classes with the same name under different packages(python:不同包下同名的兩個模塊和類)
                  Configuring Python to use additional locations for site-packages(配置 Python 以使用站點包的其他位置)
                  How to structure python packages without repeating top level name for import(如何在不重復導入頂級名稱的情況下構(gòu)造python包)
                  Install python packages on OpenShift(在 OpenShift 上安裝 python 包)
                  How to refresh sys.path?(如何刷新 sys.path?)
                  Distribute a Python package with a compiled dynamic shared library(分發(fā)帶有已編譯動態(tài)共享庫的 Python 包)

                  <small id='olSdh'></small><noframes id='olSdh'>

                      <tbody id='olSdh'></tbody>
                    • <bdo id='olSdh'></bdo><ul id='olSdh'></ul>

                        1. <i id='olSdh'><tr id='olSdh'><dt id='olSdh'><q id='olSdh'><span id='olSdh'><b id='olSdh'><form id='olSdh'><ins id='olSdh'></ins><ul id='olSdh'></ul><sub id='olSdh'></sub></form><legend id='olSdh'></legend><bdo id='olSdh'><pre id='olSdh'><center id='olSdh'></center></pre></bdo></b><th id='olSdh'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='olSdh'><tfoot id='olSdh'></tfoot><dl id='olSdh'><fieldset id='olSdh'></fieldset></dl></div>

                          • <legend id='olSdh'><style id='olSdh'><dir id='olSdh'><q id='olSdh'></q></dir></style></legend><tfoot id='olSdh'></tfoot>
                            主站蜘蛛池模板: 91免费观看 | 国产精品.xx视频.xxtv | 欧美另类视频在线 | 毛片在线视频 | 久热久草 | 久久国产精品免费一区二区三区 | 永久精品 | 小h片免费观看久久久久 | japanhd成人 | 另类一区| 国产草草视频 | 成人在线日韩 | 日韩欧美在线视频 | 国产精品久久久久久婷婷天堂 | 久久免费看 | 国产草草视频 | 午夜精品 | 成人久久网 | 羞羞视频在线观看免费观看 | 综合精品久久久 | 亚洲高清视频一区二区 | 国产98色在线 | 日韩 | 99精品久久久久久中文字幕 | 中文在线视频 | 青娱乐国产 | 国产精品久久久久久久久久久久 | 国产成人综合在线 | 日韩精品在线观看一区二区 | 99免费在线视频 | 国产午夜精品理论片a大结局 | 中文av在线播放 | 久久久一 | 国产区免费视频 | 国产精品黄 | 日韩视频免费看 | 亚洲成人av | 九九视频在线观看视频6 | 久久国产精品色av免费观看 | 特级做a爰片毛片免费看108 | 精品久久久久久久 | 中文字幕免费视频 |