Displaying 20 results from an estimated 3000 matches similar to: "S4 : dumpMethod"
2008 Mar 29
1
S4 : the list of all the object
Hi the list,
Is it possible to get the list of all the S4 user define classes? I
would like to set up a "package.skeleton.S4" but for that, I need the
list of the classes...
Thanks
Christophe
2009 Jun 09
3
"R CMD check" does not find a mistake
Hi the list,
I build a package. They was a mistake in it, but R CMD check did not
find it. Is that normal ?
Here is what Kurt gets (which is right, I did this mistake):
--- 8< ----------------
* checking for code/documentation mismatches ... WARNING
S4 class codoc mismatches from documentation object 'LongData-class':
Slots for class 'LongData'
Code: id other time traj
2008 Mar 30
4
tests Rin and Rout
>
> Generally I find it's good to look at examples that work. For
> examples of packages using tests, look at source packages on CRAN.
> Run the tests on them (using R CMD check), and see what gets produced.
>
Do you have the name of a package that use it ? I try the 10 first
package, and 10 other at random, but none of them use tests...
>>> Create tests/myPack.R
2008 Mar 30
1
package.skeleton.S4
Hi the devel list.
I am adapting the package.skeleton to S4 classes and methods
I would have been very proud to post a new working function on this list.
Unfortunately, I do not manage to solve all the problems. Mainly
- sys.source does not compile a file with setClass
- dumpMethod does not exists yet
In the following code, thise two problems are notified by a line
#################
Still
2015 May 15
2
Defining Constant variable in a package
Hi all,
In my package, I define some constant. In the previous version of R, I just define then in
"/data/constants.R" but it seems that it is no longer possible. Instead, I am asked to "define them
in the namespace". I am not sure to understand what it means. Shall I define them in the NAMESPACE
file?
Christophe
2012 Nov 19
2
Is it possible to be sponsored by R?
Hi the list,
I am a member of the organizing comity of the French Statistics Association (SFdS)'s conference. We
are looking for sponsors. Some software (SAS, RITME, ...) are represented. Do you know if there is
any possibility to be sponsored by R (or by an association close to R)? Do you think I can ask to
the R fondation?
Sincerely
Christophe
--
Christophe Genolini
MaƮtre de
2007 Dec 09
3
Oriented object programming
Hi all
Two questions:
- I would like to learn more on oriented object programming with R. Is
there any tutorial for that?
- Without waking up a troll, I am not very familiar with diffusion
list, I am more use to forum. On a diffusion list, how can I check if
someone already asks a question? I mean, I went on CRAN-R website, I
find the R mailing list archive. But is there a way to search
2009 Mar 23
2
matplot does not considere the parametre lend (PR#13619)
Full_Name: Christophe Genolini
Version: 2.8.1, but also 2.9
OS: Windows XP
Submission from: (NULL) (82.225.59.146)
I am using matplot with the option lend="butt", but only the first line (the
black) is printed correctly :
> matplot(matrix(1:9,3),type="c",lwd=10,lty=1,lend="butt")
Gabor Grothendieck find the problem in matplot code:
the ... is passed to plot
2009 Dec 07
3
savePlot for Mac and / or Linux?
Hi all,
In the package rtlu, I use the function savePlot. It is convenient since
it let the user decide in which graphic format he wants his graph to be
export.
But when I run R CMD check, I get the following message :
> rtlu(V1,fileOutput="First.tex",textBefore="\\section{Variable 1 to
3}",graphName="V1")
Error in savePlot(filename = nomBarplot, type = type)
2012 Sep 29
1
Error during decryption of meta key
Hi,
I've got a relatively simple tinc setup.
I've got two "servers" that are on the public internet that act as
routers for three "clients" that are behind NATs.
Those servers are called aaaaa and bbbbb the clients are xxxxx, yyyyy and zzzzz
Unfortunatly the servers have problems accepting a connection from the clients
syslog on aaaaa:
Sep 29 18:28:58 schuerrer
2008 Mar 15
3
empty array
Hi the list
Is it possible to create an empty matrix ? I do not mean an matrix with
a single value that is NA (which is not empty) but a real empty one,
with length=0.
I do not understand why we have length(numeric()), length(factor()) and
length(character()) to zero, and length(array()) to one... Any rason for
that ?
Thanks
Christophe
2008 Mar 20
1
S4 : package creation
Hi the list,
Using S4, how can we create a package? In "S4 Classes in 15 pages, more
or less", they put all the classes definition in a function that will be
called at the opening of the library and they add "by hand" a Rd file.
Is it the only way ? Is there something like "S4.package.skeleton"?
Thanks
Christophe
2015 Oct 24
4
ADUC - "UNIX Attributes" tab - "Unwilling To Perform"
Thanks Rowland - appreciated.
I have checked the ldbsearch result and both groups look to be pretty
much exactly the same to me, one of them is shown below (I have
sanitised some of the output, replacing parts with 123/a/b/c, but the
rest of the output is byte for byte as seen)
In the time between posting my original message and checking again
just now, however, I have the following additional
2011 May 07
3
how to not match partial names
Dear friends,
How do I stop partial matching of list names?
e.g.,
x <- list(AAAA="aaaaa", BBBBB="bbbbb")
is.null(x$A) #returns FALSE even though there is no element A.
if(is.null(x$A)) {result <- x$BBBB} else {result <- x$A}
result #is aaaa even though there is no x$A element
x <- list(CCCC="aaaaa", BBBBB="bbbbb")
if(is.null(x$A))
2007 Nov 22
2
Clean programming with R
Hi all
Is there any compiler for R ? By compiler, I mean something that check
the cleanliness of the code : if we declare all the variables we use, if
we don't use external variable from a function and so on...
For exemple, something that will ring a bell on the following code
(saying "line 4 : 'pp' undefine in function 'power' ")
1. pp <- 3
2. power <-
2010 Jan 19
2
Number of download.
Hi the list
Is there a way to know how many times an R package (on CRAN) has been
download ?
Christophe
2014 Mar 19
1
Memcheck: Invalid read of size 4
Hi the list,
One of my package has a memory issue that I do not manage to understand. The Memtest notes is here:
<http://www.stats.ox.ac.uk/pub/bdr/memtests/valgrind/kml-Ex.Rout>
Here is the message that I get from Memtest
--- 8< ----------------
~ Fast KmL ~
==27283== Invalid read of size 4
==27283== at 0x10C5DF28: kml1 (kml.c:183)
...
==27283== by 0x10C5DE4F: kml1 (kml.c:151)
2008 Mar 13
3
Sealed for setGeneric
Hi the list
When two setGeneric occurs on the same function, the second erage the
first and erase all the function previously define.
Is it possible to prevent that ? Is it possible to declare a setGeneric
that can not be erased later ?
Something like the |sealed for setMethod...|
||
|Thanks|
||
Christophe
2008 Jan 28
1
Integer vs numeric
Hi the list.
I do not understand the philosophy behind numeric and integer.
- 1 is numeric (which I find surprising)
- 2 is numeric.
- 1:2 is integer.
Why is that ?
Christophe
2015 Feb 13
4
Centos 6 Sendmail backup MX Config
Hi All,
I'm just wanting to check that my understanding of the settings is
correct as my web searches are finding a lot of dated information.
If I want a Centos 6 sendmail system act as the secondary MX for domain
bbbbb.co.uk do I just add a
Connect:bbbbb.co.uk RELAY
statement into /etc/mail/access and restart sendmail
Obviously I have the DNS MX records for the domain are