打开库 Rserve 时出现此错误

I am getting this error while opening library Rserve

我首先从最近的镜像下载 Rserve,然后加载出现此错误的库

 > install.packages("Rserve")
    Installing package into ‘C:/Users/abc/Documents/R/win-library/3.4’
    (as ‘lib’ is unspecified)
    --- Please select a CRAN mirror for use in this session ---
    trying URL 'http://ftp.iitm.ac.in/cran/bin/windows/contrib/3.4/Rserve_1.7-3.zip'
    Content type 'application/zip' length 632080 bytes (617 KB)
    downloaded 617 KB

    package ‘Rserve’ successfully unpacked and MD5 sums checked

    The downloaded binary packages are in
            C:\Users\abc\AppData\Local\Temp\RtmpmGy9pG\downloaded_packages
    > Rserve()
    Error in Rserve() : could not find function "Rserve"

安装 R 包与将包附加到计算机内存不同。打个比方,考虑安装一个软件程序(比如从 CD)。将程序安装到您的计算机上后,您需要打开它才能使用它。

R 包附加到计算机内存的方法是:library(package name),其中 "package name" 替换为您要加载的任何包。例如,您可以将 library(Rserve) 放在脚本开头的某处。