Displaying 20 results from an estimated 1000 matches similar to: "What is the INDEX file for?"
2012 Nov 06
1
LazyData: no / yes
Hi the list
I have package foo0 with a big dataset 'myData'.
In DESCRIPTION, if I use 'LazyData: no', then I get:
- when I open a R session : memory used=20 908
- when I attach 'library(foo0)' : memory used=24364
- then I load the set 'data(myData)' : memory used=39 668
If I use LazyData: yes', then I get
- when I open a R session : memory used=20 908
2012 Oct 13
2
Problem with a submission to jss
Hi the list,
I am about to submit an article describing an R package to the Journal of Statistical Software but I
encounter a strange behavior of LaTeX: the numbering of the figure is correct (1. 2. 3. ...), but
when I make a reference to a figure, the section (or the subsection) number appears instead of the
figure number.
I check if this behavior occurs with the file example provide in the
2012 Nov 07
2
Comments in the DESCRIPTION file
Hi all,
Is it possible to add comments in the DESCRIPTION file?
Sincerely
Christophe
--
Christophe Genolini
Ma?tre de conf?rences en bio-statistique
Vice pr?sident Communication interne et animation du campus
Universit? Paris Ouest Nanterre La D?fense
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)
2012 Nov 06
1
Depends/Imports/Suggest/Enhence
Hi the list
In the DESCRIPTION file of my package foo0, I have:
Depends: foo1
Imports: foo2
Suggest: foo3
Enhence: foo4
If I understand correctly, to install foo0 on my computer, I need to already have foo1, foo2, foo3.
foo4 is not necessary.
I my R sesssion, when I will write: library(foo0), then the package foo1 will be attach. foo2, foo3
and foo4 will not. Is that correct?
But what is
2014 Mar 21
1
Memcheck: error in a switch using getGraphicsEvent
Hi the list,
One of my package has an (other) error detected by memtest that I do not manage to understand.
Here is the message that I get from Memtest
--- 8< ----------------
> try(choice(cld1))
Error in switch(EXPR = choix, Up = { : EXPR must be a length 1 vector
--- 8< ----------------
The choice function does call the choiceChangeParam function, which is:
--- 8<
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
2012 Nov 05
1
r-help or r-devel ?
Hi the list,
I have some basic questions about "writing a package". On which list shall I post them?
Theoretically, I am supposed to post them on r-devel, but all the questions on this list are very
advance questions, not basic ones... So I don't know what to do.
Christophe
--
Christophe Genolini
Maître de conférences en bio-statistique
Vice président Communication interne et
2012 Nov 05
2
exporting 3D dynamic graph
Hi the list,
Using misc3d, we can export 3d dynamic graph in pdf format.
Is it also possible to export these graph into a format that we can publish on the web?
Christophe
--
Christophe Genolini
Maître de conférences en bio-statistique
Vice président Communication interne et animation du campus
Université Paris Ouest Nanterre La Défense
[[alternative HTML version deleted]]
2007 Dec 16
2
clean programming
Hello the list,
I am trying to write a "cleanProgramming" function to test the
procedure I use. For example, I want to be sure that I am not using
globals variables. The function "findGlobals" detect that.
To list the globals used in function "fun", the syntax is :
"findGlobals(fun,FALSE)$variable"
My problem is that I want to use it in a function,
2008 Feb 08
2
learning S4
Hi the list.
I try to learn the S4 programming. I find the wiki and several doc. But
I still have few questions...
1. To define 'representation', we can use two syntax :
- representation=list(temps = 'numeric',traj = 'matrix')
- representation(temps = 'numeric',traj = 'matrix')
Is there any difference ?
2. 'validityMethod' check the
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
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
2008 Feb 29
1
inheritence in S4
Hi the list
I define a class A (slot a and b), a class C (slot c and d) and a class
E that inherit from A and B.
I define print(A) and print(B). For print(C), I would like to use both
of them, but I do not see how...
Thanks for your help...
Christophe
----------------------------------------------------------------
Ce message a ete envoye par IMP, grace a l'Universite Paris 10 Nanterre
2008 Apr 13
1
R 2.7 package.skeleton
Hi the devel list
I am testing package.skeleton in R 2.7 (download today). I get an error
that I do not understand. I guess it is not an error from my code since
I have no probleme when I source it. So is it a error in
package.skeleton?
Here is my code :
--- 8< ------ File essai.r -------------
setClass(
Class="ClusterizLongData",
representation=representation(
2008 Jun 13
1
package under unix
Hi the list,
I write a package for clusterizing longitudinal data using a non
parametric algorithm. I develop the package under windows. To be as
user friendly as possible, the package use some graphical procedure to
"show" to the user the evolution of the cluster construction, and to
export the graph in a friendly way.
Here are some example : http://christophe.genolini.free.fr/kml
2008 Apr 13
1
getGraphicsEvent plotting two graph
Hi the list,
I need to use getGraphicsEvent to plot two graph. On the following toy
example:
- the function b is ploting two graph depending on a parameter
- the function a is calling b according to some user answers. It is
suppose to call b until the user press Return, but it does not.
b <- function(x){
dev.off(2);dev.off(3)
windows();windows(3,3,xpos=0)
dev.set(2);plot(1:x)
2008 Jan 15
1
bug in mmlcr ? (PR#10576)
Hi the list.
Is there a bug in mmlcr package ?
The following code does not compile:
mmlcrTest <- function(dataW){
dataL <-
reshape(dataW,idvar="id",timevar="T",varying=list("T0","T1","T2"),direction="long",v.names="score")
resultR <- mmlcr(outer= ~ 1 | id,
components = list(list(formula =
2010 Apr 15
3
Exporting an rgl graph
Hi the list,
I use rgl to produce a 3D graph. I would like to "show" this graph to
some collaborator. Is there a way to save it and send it to someone
else?
Christophe Genolini
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