简体   繁体   English

“ SequentialTranches”的包或名称空间加载失败

[英]package or namespace load failed for 'SequentialTranches'

I have installed custom package 'SequentialTranches' in my local VM (IP: 192.168.1.215). 我已经在本地VM(IP:192.168.1.215)中安装了自定义程序包'SequentialTranches'。 But this package is not showing in http://192.168.1.215/ocpu/library/base/R/ 但是此软件包未显示在http://192.168.1.215/ocpu/library/base/R/中

I use the above URL to connect from my code. 我使用上面的URL从我的代码连接。

When I access the following URL it shows "package or namespace load failed for 'SequentialTranches'". 当我访问以下URL时,它显示“对于'SequentialTranches',包或名称空间加载失败”。 URL: http://192.168.1.215/ocpu/library/SequentialTranches/R 网址: http//192.168.1.215/ocpu/library/SequentialTranches/R

Information page http://192.168.1.215/ocpu/library/SequentialTranches/info shows the information correctly. 信息页面http://192.168.1.215/ocpu/library/SequentialTranches/info正确显示了该信息。

OS: Ubuntu 14.04.1 LTS openCPU version: 1.5.6 R version: 3.2.5 操作系统:Ubuntu 14.04.1 LTS openCPU版本:1.5.6 R版本:3.2.5

Please help me to solve the issue. 请帮我解决问题。

First of all you are running a very old version of R and OpenCPU. 首先,您正在运行R和OpenCPU的旧版本。 I highly recommend upgrading if possible. 如果可能,我强烈建议升级。

Does your package show up in http://192.168.1.215/ocpu/library ? 您的软件包是否显示在http://192.168.1.215/ocpu/library Make sure to refresh your page (CTRL+R in the browser) to make sure you're not looking at a cached response. 确保刷新页面(浏览器中为CTRL + R),以确保您没有查看缓存的响应。

To debug why your package isn't loading, have a look at the log files. 要调试为什么不加载软件包,请查看日志文件。 The pdf server manual explains which log files are relevant to look at. pdf服务器手册说明了与哪些日志文件相关的内容。

I have upgraded OS to Ubuntu 16.04, R version to 3.4.2 and openCPU version to 2.0. 我已经将操作系统升级到Ubuntu 16.04,R版本升级到3.4.2,openCPU版本升级到2.0。 Now "SequentialTranches" listed in http://192.168.1.215/ocpu/library 现在,“ SequentialTranches”在http://192.168.1.215/ocpu/library中列出

But "SequentialTranches" is not listing in http://192.168.1.215/ocpu/library/base/R/ 但是“ SequentialTranches”未在http://192.168.1.215/ocpu/library/base/R/中列出

I use the above URL to connect from my code.Have any configurations to correct this issue? 我使用上面的URL从我的代码连接。是否有任何配置可解决此问题?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM