本文介绍了安装R软件包dbscan的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好!

我正在尝试在Azure Machine Learning Studio中为R安装dbscan软件包.

I am trying to install the dbscan package for R in Azure Machine Learning Studio.

我尝试将不同版本的R与"Execute R Script"一起使用.模块和dbscan软件包的不同版本.最新版本的dbscan 1.1-3要求Rcpp≥0.12.12,这就是为什么我安装了最新版本的Rcpp的原因 1.0.0.

I have tried to use different versions of R with the "Execute R Script" module and different versions of the dbscan package. The most up to date version dbscan 1.1-3 requires Rcpp ≥ 0.12.12, which is why I have installed the newest version of Rcpp 1.0.0.

脚本包含以下几行:

install.packages("src/Rcpp_1.0.0.zip", lib = ".", repos = NULL, verbose = TRUE)
install.packages("src/dbscan_1.1-3.zip", lib = ".", repos = NULL, verbose = TRUE)
library(Rcpp, lib.loc = ".", verbose = TRUE)
library(dbscan, lib.loc = ".", verbose = TRUE

模块引发错误.日志文件:

The module throws an error. Logfile:

[ModuleOutput] Executing Against R 3.2.2.0
[Error]         +++ NT HARD ERROR (0xc0000139) +++
[Information]         Microsoft Drawbridge Console Host [Version 10.0.10011.20047]
[Information]         [1] 56000
[Information]         The following files have been unzipped for sourcing in path=["src"]:
[Information]                       Name  Length                Date
[Information]         1 dbscan_1.1-3.zip 2723589 2019-01-14 11:11:00
[Information]         2   Rcpp_1.0.0.zip 4480202 2019-01-15 09:26:00
[Information]         Loading objects:
[Information]           port1
[Information]         [1] "Loading variable port1..."
[Information]         package 'Rcpp' successfully unpacked and MD5 sums checked
[Information]         package 'dbscan' successfully unpacked and MD5 sums checked
[Error]             Parameter 0: 0x4001549a0 [DATAPTR]
[Error]             Parameter 1: 0x400444548 [C:\Rcpp\libs\x64\Rcpp.dll]
[Error]             Parameter 2: 0xffffffffc0000139
[Error]         [FATAL] OnFatalError: A fatal error occurred in the running application. The application will be terminated. ExceptionCode: 0xc0000139.
[Error]         Process returned with non-zero exit code -1073741511
[Stop]     DllModuleMethod::Execute. Duration = 00:01:57.7577273
[Critical]     Error: Error 1000: RPackage library exception: Attempting to obtain R output before invoking execution process



推荐答案

我建议您向该博客提供参考.https://blogs.msdn.microsoft.com/andreasderuiter/2015/02/03/troubleshooting-error-1000-rpackage-library-exception-failed-to在天蓝色的ml中运行r脚本时,将robject转换为数据集/

I would recommend you the blog for your reference. https://blogs.msdn.microsoft.com/andreasderuiter/2015/02/03/troubleshooting-error-1000-rpackage-library-exception-failed-to-convert-robject-to-dataset-when-running-r-scripts-in-azure-ml/

应该有帮助.

此致

雨桐


这篇关于安装R软件包dbscan的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

06-05 05:42