你需要下面的C / c++库从源代码构建flowWorkspace(使用Rtools windows用户)。——libxml2 Linux用户= = = = = = = = = = = = =这些库安装在标准位置,请把他们的“前缀”配置脚本。例如R CMD安装flowWorkspace /——configure-args =”——使用xml = / home / yourname / xml_dir '还要确保这些库可以在运行时通过增加发现R LD_LIBRARY_PATH环境变量。如出口LD_LIBRARY_PATH = / home / yourname / xml_dir:美元LD_LIBRARY_PATH添加这个到你~ /。概要文件可以避免下次这样做。Windows用户= = = = = = = = = = = = =安装libxml2: 1。从http://rglab.github下载预构建二进制。io /双星/ 2。将其解压缩(例如,c: \ libxml2),您应该看到下面的目录结构如i386和x64文件夹| - include |——libxml2 | - - - - - libxml(所有*。h在这里)|自由(我们应该静态图书馆libxml2。)3。设置环境变量LIB_XML2 flowWorkspace为了找到自己的库文件和头文件。你可以通过:*右击“计算机”,选择“属性”*单击“高级系统设置”,选择“高级”选项卡*点击“环境变量”按钮,弹出对话框*单击“新”按钮,进入“LIB_XML2”“变量名”字段,和/道路/ /你/ libxml2(例如,c: / libxml2)在“变量值”字段。记得要用“/”代替“\”目录分隔符。 You can download Rtools at http://www.murdoch-sutherland.com/Rtools/ which provides the resources for building R and R packages. You should add to the Path variable the paths to the various components of Rtools. Please read the "Windows Toolset" appendix at http://cran.r-project.org/doc/manuals/R-admin.html#The-Windows-toolset for more details.