Displaying 6 results from an estimated 6 matches for "__c__submatrix".
2016 Jun 25
2
strange behavior in 'inherits' check for loaded S4 object
Hi,
(sorry for the wall of text; the issue here appears to be rather complicated)
I'm seeing a somewhat strange case where checking whether an S4 object
inherits from a parent class defined from another package with
'inherits' fails if that object is materialized through a call to
'load'. That's a mouthful, so I've put together a relatively small
reproducible example
2016 Jul 29
2
strange behavior in 'inherits' check for loaded S4 object
...ng on now; at least, why exporting
> the class resolves this particular issue.
>
> Firstly, when an S4 class is not exported, the associated
> '.__C__<class>' object is not made part of the package environment.
> For example, I see:
>
> > getAnywhere(".__C__SubMatrix")
> A single object matching '.__C__SubMatrix' was found
> It was found in the following places
> namespace:s4inherits
> with value
> < ... >
>
> Note that the symbol is only discovered in the package namespace. When
> the class is ex...
2016 Jul 29
0
strange behavior in 'inherits' check for loaded S4 object
...a small idea as to what's going on now; at least, why exporting
the class resolves this particular issue.
Firstly, when an S4 class is not exported, the associated
'.__C__<class>' object is not made part of the package environment.
For example, I see:
> getAnywhere(".__C__SubMatrix")
A single object matching '.__C__SubMatrix' was found
It was found in the following places
namespace:s4inherits
with value
< ... >
Note that the symbol is only discovered in the package namespace. When
the class is exported (e.g. with 'exportClasses(Su...
2016 Jul 31
2
strange behavior in 'inherits' check for loaded S4 object
...ass resolves this particular issue.
>>>
>>> Firstly, when an S4 class is not exported, the associated
>>> '.__C__<class>' object is not made part of the package
>>> environment. For example, I see:
>>>
>>>> getAnywhere(".__C__SubMatrix") A single object matching
>>> '.__C__SubMatrix' was found It was found in the following
>>> places namespace:s4inherits with value < ... >
>>>
>>> Note that the symbol is only discovered in the package
>>> namespace. When the class i...
2016 Jul 30
0
strange behavior in 'inherits' check for loaded S4 object
...ss resolves this particular issue.
>>
>> Firstly, when an S4 class is not exported, the associated
>> '.__C__<class>' object is not made part of the package
>> environment. For example, I see:
>>
>> > getAnywhere(".__C__SubMatrix") A single object matching
>> '.__C__SubMatrix' was found It was found in the following
>> places namespace:s4inherits with value < ... >
>>
>> Note that the symbol is only discovered in the package
>> namespace. When the class i...
2016 Aug 02
0
strange behavior in 'inherits' check for loaded S4 object
...icular issue.
>>>>
>>>> Firstly, when an S4 class is not exported, the associated
>>>> '.__C__<class>' object is not made part of the package
>>>> environment. For example, I see:
>>>>
>>>>> getAnywhere(".__C__SubMatrix") A single object matching
>>>> '.__C__SubMatrix' was found It was found in the following
>>>> places namespace:s4inherits with value < ... >
>>>>
>>>> Note that the symbol is only discovered in the package
>>>> namespac...