私はRの使用に比較的慣れておらず、Webサービス(AILUN)にアクセスしようとしていますが、エラーが発生していますが、これはかなり単純なものである可能性があります.
Ubuntu 12.04 と R バージョン 2.15.1 を使用しています
http://www.omegahat.orgからパッケージ「SSOAP」の前提条件をすべてインストールしました。
以下は、R コマンド ラインからのステップバイステップです。ファイルはhttp://ailun.stanford.edu/webservice.phpからダウンロードされました。
getwd()
[1] "/home/gserver/Webservice"
library(SSOAP)
platformAnnotation_FindGPL <- function(array_send,ratio)
{
AILUN <- SOAPServer("http://ailun.stanford.edu/WebServ/Platform_Annotation.php")
gpl_info <- .SOAP(AILUN, "platformAnnotation_FindGPL",templfile=array_send ,matchRatio=ratio, action="/Platform_Annotation.php")
return (gpl_info)
}
con <- file("probe_ID.txt", "r")
array1 <- readLines(con)
ratio <- 30
result <- platformAnnotation_FindGPL(array1,ratio)
Error in .getClassFromCache(Class, where) :
attempt to use zero-length variable name
どんなアドバイスや援助も大歓迎です!!