[R] Basic XML function not working

Hoffman, Gabriel g@br|e|@ho||m@n @end|ng |rom m@@m@edu
Tue Apr 7 16:23:29 CEST 2020


I am having an issue with the XML package failing on a basic function.  This makes packages that depend on this function also fail:

> library(XML)
> newXMLNode("bob")
I/O error : flush error

I can’t find any reference to the error online

> sessionInfo()
R version 3.6.0 (2019-04-26)
Platform: x86_64-apple-darwin18.6.0 (64-bit)
Running under: macOS  10.15.3

Matrix products: default
BLAS:   /Users/gabrielhoffman/Downloads/R-3.6.0/lib/libRblas.dylib
LAPACK: /Users/gabrielhoffman/Downloads/R-3.6.0/lib/libRlapack.dylib

locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

attached base packages:
[1] stats     graphics  grDevices datasets  utils     methods   base

other attached packages:
[1] XML_3.99-0.3

loaded via a namespace (and not attached):
[1] compiler_3.6.0 tools_3.6.0    tcltk_3.6.0

# The expected result is: <bob/>
# This works fine in R 3.5.1 on the same machine

> sessionInfo()
R version 3.5.1 (2018-07-02)
Platform: x86_64-apple-darwin15.6.0 (64-bit)
Running under: macOS  10.15.3

Matrix products: default
BLAS: /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
LAPACK: /Library/Frameworks/R.framework/Versions/3.5/Resources/lib/libRlapack.dylib

locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base

other attached packages:
[1] XML_3.99-0.3

loaded via a namespace (and not attached):
[1] compiler_3.5.1 tools_3.5.1

# It also fails on R development version
> sessionInfo()
R Under development (unstable) (2020-03-16 r77979)
Platform: x86_64-apple-darwin19.3.0 (64-bit)
Running under: macOS Catalina 10.15.3

Matrix products: default
BLAS:   /Users/gabrielhoffman/Downloads/R-devel/lib/libRblas.dylib
LAPACK: /Users/gabrielhoffman/Downloads/R-devel/lib/libRlapack.dylib

locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

attached base packages:
[1] stats     graphics  grDevices datasets  utils     methods   base

other attached packages:
[1] XML_3.99-0.3

loaded via a namespace (and not attached):
[1] compiler_4.0.0


Best
- Gabriel


	[[alternative HTML version deleted]]



More information about the R-help mailing list