在本教程中,有一个命令pymol.dccm(cij, pdb, type="launch")。但有人告诉我
> pymol.dccm(cij, pdb, type="launch")
Error in pymol.dccm(cij, pdb, type = "launch") :
Launching external program failed
make sure 'C:/python27/PyMOL/pymol.exe' is in your search path
In addition: Warning message:
running command 'C:/python27/PyMOL/pymol.exe -cq' had status 127
我已经pymol在我的电脑上安装了。请问如何向R添加另一个搜索路径?
现在我认为pymol是bio3d. 但我已经安装bio3d并且其他命令可以工作(例如pdb <- read.pdb())。但是为什么pymol命令不起作用?
我试过了
> .libPaths("path/to/pymol2/")
> .libPaths("path/to/pymol2/PyMOL")
> .libPaths("path/to/pymol2/PyMOL/PyMOLWin.exe")
> pymol.dccm(cij, pdb, type="launch")
Error in pymol.dccm(cij, pdb, type = "launch") :
Launching external program failed
make sure 'C:/python27/PyMOL/pymol.exe' is in your search path
In addition: Warning message:
running command 'C:/python27/PyMOL/pymol.exe -cq' had status 127
> PyMOLWin.dccm(cij, pdb, type="launch")
Error: could not find function "PyMOLWin.dccm"
所以.libPaths没有返回错误。但是pymol.dccm并PyMOLWin.dccm没有奏效。
我也尝试安装pymol包R
> install.packages("pymol")
Warning in install.packages :
package ‘pymol’ is not available (for R version 3.2.2)