Displaying 20 results from an estimated 99 matches for "cgenolin".
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
2008 Jun 02
1
probleme with R CMD check
Hi the list.
I got a probleme with R CMD check. I run a package.skeleton on a very
simple code (four toy function, no probleme with the R CMD build). But
on the R CMD check packClassique, I get :
* checking for unstated dependencies in R code ... WARNING
Erreur dans .find.package(package, lib.loc) : aucun package nomm?
'packClassique' n'est trouv?
Calls: <Anonymous> ->
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 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 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
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 May 12
2
k means
Hi the devel list,
I am using K means with a non standard distance. As far as I see, the
function kmeans is able to deal with 4 differents algorithm, but not
with a user define distance.
In addition, kmeans is not able to deal with missing value whereas
there is several solution that k-means can use to deal with them ; one
is using a distance that takes the missing value in account, like a
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
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 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)
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
2007 Jul 07
1
Changing integer class
Hi all
I define a function with two methods, one for numeric or integer.
Sometime, I need the numeric method to be applied on integer. So I try
to change the class of the integer but it does not work... Does someone
know why ?
> x<-1:3
> class(x)
[1] "integer"
> class(x)<- "numeric"
> class(x)
[1] "integer"
Thanks
Christophe
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 <-
2007 Dec 10
1
Rerolling k-means
Hi all
I am working on k-means algorithm (in R: kmeans( ) ). The R-help advice
us to try several random start in order to avoid local minimum. Does one
know if there is a procedure that automaticly run this rerolling and
select the best partition ? Or any studies that gives clues on the
number of rerolling ?
Thanks for helping.
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 Mar 18
1
S4 : dumpMethod
Hi the list,
I almost finished the green book (chapter 7 and 8 on S4), this is
probably one of my last question :-)
I hope you will not miss them to much !
Here is my today nighmare: I do not manage to use dumpMethod :
setClass("A",representation(a="numeric"))
setMethod("plot","A",function(x,y,...){cat("AAAAA\n")})
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
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
2008 Oct 13
1
Gower distance between a individual and a population
Hi the list,
I need to compute Gower distance between a specific individual and all
the other individual.
The function DAISY from package cluster compute all the pairwise
dissimilarities of a population. If the population is N individuals,
that is arround N^2 distances to compute.
I need to compute the distance between a specific individual and all
the other individual, that is only N
2009 Jun 06
1
(no subject)
Christophe Genolini <cgenolin at u-paris10.fr> wrote
>Thanks for yours answers. So if I understand:
> - Trajectories are continuous, the other are discrete.
> - The difference between time series and longitudinal is that time
>series are made at regular time whereas longitudinal are not ?
> - Repeated measur...