我为什么得到:gdata:无法加载perl库

时间:2014-01-08 19:13:08

标签: r perl

我将使用该代码片段生成一个beamer演示幻灯片:

\section{PLK alle Mandanten und alle Fachbereiche}
\begin{frame}[fragile]
  \frametitle{PLK alle Mandanten und alle Fachbereiche}
  \begin{figure}
   <<echo=FALSE, warning=FALSE, out.width='\\textwidth', out.height='0.8\\textheight'>>=
    # Run source code to create scatter plot
    source("/bit_repositories/tm-plk/02_Analysis/GraficClientsDepartments.R")
    @ 
  \end{figure}
\end{frame}

在pdf prsentation中,我收到了这条错误消息:

gdata: Unable to load perl libaries needed by
read.xls()## gdata: to support 'XLX' (Excel 97-2004)
files.#### gdata: Unable to load perl libaries needed by
read.xls()## gdata: to support 'XLSX' (Excel 2007+)
files.#### gdata: Run the function
'installXLSXsupport()'## gdata: to automatically download
and install the perl## gdata: libaries needed to support
Excel XLS and XLSX formats.#### Attaching package:
'gdata'#### The following object is masked from
'package:stats':#### nobs#### The following object is
masked from 'package:utils':#### object.size

你有什么想法吗?非常感谢你。 塞巴斯蒂安

1 个答案:

答案 0 :(得分:1)

运行功能

'installXLSXsupport()'

然后尝试再次安装gdata。

如果不起作用,请看: install gdata help page on cran