您需要以下C/C ++库来从源构建FlowWorkspace(使用Windows用户的RTools)。-libxml2 linux用户==============这些库安装在非标准位置,请将其“前缀”传递给配置脚本。例如r cmd安装flowworkspace/-configure-args =' - with-xml =/home/home/yourname/yourname/xml_dir'还确保通过将它们添加到ld_library_path Environment varriable中,可以在运行时找到这些库。例如export ld_library_path =/home/yourname/xml_dir:$ ld_library_path将其添加到您的`〜/.profile`文件中可以避免下次这样做。windows用户============libxml2) and you should see the directory structure like below in both i386 and x64 folder |-include |---libxml2 |-----libxml (all *.h are here) |-lib (we should have static libary libxml2。您可以通过: *右键单击“计算机”,然后选择“属性” *单击“高级系统设置”,然后选择“高级”选项卡 *单击“环境变量”按钮,然后添加对话框 *单击“新””按钮并在“变量名称”字段中输入“ lib_xml2”和/path/to/your/libxml2(例如c:/libxml2)在“变量值”字段中。 Remember to use "/" instead of "\" as the directory delimiter. 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.