1. 程式人生 > >R中遇到的部分問題

R中遇到的部分問題

在Rstdio使用的是3.5.1的64位R版本中遇到問題:The Perl script 'WriteXLS.pl' failed to run successfully.

首先使用

 

Sys.which("perl"

 輸出空串,表明未安裝perl。

perl 
  "" 

 

 安裝上perl之後,執行又出現了:

Error in as.vector(x) : no method for coercing this S4 class to a vector

 

但是程式碼裡並沒有出現as.vector(x)的這個程式碼部分。