我在打开library Rserve时遇到此错误

我在打开library Rserve时遇到此错误,r,rserve,R,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:/

我首先从最近的镜像下载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(Rserve)
放在脚本开头的某个地方。

在调用
Rserve
函数之前,需要先导入包:
library(Rserve);Rserve()