Displaying 1 result from an estimated 1 matches for "trash_list".
Did you mean:
hash_list
2013 Apr 12
1
Problem with handling of attributes in xmlToList in XML package
...fetch the attributes of the
services running of each port, the behavior is not consistent:
> mylist[["ports"]][[1]][["service"]]$.attrs["name"]
name
"msrpc"
> mylist[["ports"]][[2]][["service"]]$.attrs["name"]
Error in trash_list[["ports"]][[2]][["service"]]$.attrs :
$ operator is invalid for atomic vectors
I understand that the way they are dfined in the documnt is not the
same, but I think there still should be a consistent behavior. I've
tried many combination of parameters for xmlTreeParse() b...