Re: [R] Not finding superclass in library

2015-02-24 Thread Ramiro Barrantes
Thank you so much for your help. Will aim at making a reproducible example next time, maybe if I had done that I would realized that the issue was that I was using Rscript, which does not load the methods library, which was the source of the problem.

Re: [R] Not finding superclass in library

2015-02-24 Thread Martin Maechler
Rolf Turner r.tur...@auckland.ac.nz on Tue, 24 Feb 2015 09:41:42 +1300 writes: On 24/02/15 09:35, Ramiro Barrantes wrote: Hello, I have a library that I created . SNIP No you ***DO NOT***. You have a ***PACKAGE***. If you cannot even get your

Re: [R] Not finding superclass in library

2015-02-24 Thread Martin Maechler
RB == Ramiro Barrantes ram...@precisionbioassay.com on Tue, 24 Feb 2015 16:34:13 + writes: RB Thank you so much for your help. Will aim at making a RB reproducible example next time, maybe if I had done that RB I would realized that the issue was that I was using RB

Re: [R] Not finding superclass in library

2015-02-23 Thread Ramiro Barrantes
through the code in an ESS R session it works fine. Thanks in advance, Ramiro From: Rolf Turner [r.tur...@auckland.ac.nz] Sent: Monday, February 23, 2015 3:41 PM To: Ramiro Barrantes; r-help@r-project.org Subject: Re: [R] Not finding superclass in library

[R] Not finding superclass in library

2015-02-23 Thread Ramiro Barrantes
Hello, I have a library that I created that defines a parent class, assayObject. I created other classes that inherit from it, say assayObjectDemo. Each one of those classes I wanted to make in its own directory separate from where the assayObject is defined (there are reasons for that). But

Re: [R] Not finding superclass in library

2015-02-23 Thread Rolf Turner
On 24/02/15 09:35, Ramiro Barrantes wrote: Hello, I have a library that I created . SNIP No you ***DO NOT***. You have a ***PACKAGE***. If you cannot even get your terminology straight, what hope is there for you? cheers, Rolf Turner -- Rolf Turner Technical Editor ANZJS

Re: [R] Not finding superclass in library

2015-02-23 Thread Charles C. Berry
On Mon, 23 Feb 2015, Ramiro Barrantes wrote: Thank you for pointing this out. I had no idea about the distinction but there are some good references on the matter (http://www.r-bloggers.com/packages-v-libraries-in-r/). I am pasting the corrected version below, any suggestions appreciated: