[R-SIG-Mac] XML crash

Adrian Dușa dusa.adrian at unibuc.ro
Sat Jun 7 03:53:40 CEST 2014


Dear Simon,

Hmm... you're right!
I remember clearly that I've installed the XML package using R's
package installer. I've performed an remove.packages() followed by
another fresh install using (again) R's package installer... and it
works now.

Thanks very, very much (and apologies to have waisted your time),
Adrian


On Fri, Jun 6, 2014 at 10:11 AM, Simon Urbanek
<simon.urbanek at r-project.org> wrote:
> Adrian,
>
> are you sure you don't have the wrong binary installed? You are using Mavericks build of R so you must re-install the packages to use the Mavericks binaries. Using the proper binary it works just fine for me:
>
>> library(XML)
>> libxmlVersion()
> $major
> [1] "2"
>
> $minor
> [1] "09"
>
> $patch
> [1] "00"
>
>
> Check the build info for the package:
>
>> read.dcf(system.file("DESCRIPTION",package="XML"))[,"Built"]
>                                                               Built
> "R 3.1.0; x86_64-apple-darwin13.1.0; 2014-04-24 15:04:22 UTC; unix"
>
>> R.version
>                _
> platform       x86_64-apple-darwin13.1.0
>
> Cheers,
> Simon
>
>
> On Jun 5, 2014, at 10:44 PM, Adrian Dușa <dusa.adrian at unibuc.ro> wrote:
>
>> Hi Duncan,
>>
>> On Wed, Jun 4, 2014 at 11:45 PM, Adrian Dușa <dusa.adrian at unibuc.ro> wrote:
>>> On Wed, Jun 4, 2014 at 11:45 PM, Adrian Dușa <dusa.adrian at unibuc.ro> wrote:
>>>> [...]
>>> Hi Adrian
>>>
>>> (Busy couple of days, so apologies for not replying to your off-list email.)
>>>
>>> What is the output from
>>>
>>> library(XML)
>>> libxmlVersion()
>>>
>>> On my OSX machine(s), I get the same as you got on Windows - i.e. failed to load HTTP resource.
>>> But I have installed newer versions of libxml2 on my machines.
>>
>> Don't worry about it, thanks very much for replying.
>> I could only get the libxml version on R 3.0.3 (it crashes under R 3.1.0):
>>
>>> libxmlVersion()
>> $major
>> [1] "2"
>>
>> $minor
>> [1] "07"
>>
>> $patch
>> [1] "03"
>>
>>
>> # under 3.1.0
>>> libxmlVersion()
>>
>> *** caught segfault ***
>> address 0x18, cause 'memory not mapped'
>>
>> Traceback:
>> 1: .Call(if (runTime) "RS_XML_libxmlVersionRuntime" else
>> "RS_XML_libxmlVersion",     PACKAGE = "XML")
>> 2: libxmlVersion()
>>
>> I hope this helps,
>> Adrian
>>
>> --
>> Adrian Dusa
>> University of Bucharest
>> Romanian Social Data Archive
>> 1, Schitu Magureanu Bd.
>> 050025 Bucharest sector 5
>> Romania
>> Tel.:+40 21 3126618 \
>>        +40 21 3120210 / int.101
>> Fax: +40 21 3158391
>>
>> _______________________________________________
>> R-SIG-Mac mailing list
>> R-SIG-Mac at r-project.org
>> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
>



-- 
Adrian Dusa
University of Bucharest
Romanian Social Data Archive
1, Schitu Magureanu Bd.
050025 Bucharest sector 5
Romania
Tel.:+40 21 3126618 \
        +40 21 3120210 / int.101
Fax: +40 21 3158391



More information about the R-SIG-Mac mailing list