search for: jrgonzalez

Displaying 15 results from an estimated 15 matches for "jrgonzalez".

Did you mean: rgonzalez
2002 Sep 23
3
Problems with tcltk package
Hello listers, I have installed Tcl/Tk v8.4 on my system (Win XP, R 1.5.1). When I try to load the Tcl/Tk package I get this error: > library(tcltk) Error in firstlib(which.lib.loc, package) : TCL_LIBRARY is not set Error in library(tcltk) : .First.lib failed Can someone help me, please? Thanks, Juan -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
2002 Jun 11
3
show messages during a long process
Hi, I have a function which takes some time to execute (20 sec.) and I want to show the progress of the execution with simple messages such as "10% done", "20% done", ... (with a simple "cat" function). The problem is that all the messages appear together when the execution of the function is over. How can I show each message at their corresponding time? Thanks,
2002 Apr 11
6
extract week from date
Hello R-users, Does anyone know how obtain the week of a date? (in SPPS the instruction is "xdate.week") Thanks, Juan Ramon -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the
2002 May 03
6
problems with rexp ?
Does anyone know if R have any problems with the exponential random number generation (function rexp)? I comment it because I executed data<-sort(rexp(100)) plot(data,dexp(data)/(1-pexp(data)),type="l") and the graphic isn't constant. (Note: exponential distribution have a constant hazard failure rate). Thank you, Juan
2003 Oct 01
1
Acces violation ???
Dear R-listers, I have created a "dll" and I call it from a R function. However R stops and shows the message: "Unhandled exception in Rgui.exe (R.DLL): 0xC0000005: Access Violation" I get this error in other situations and I solved it verifying that all parameters are called fine. (e.g., double precision -> as.double, integer -> as.integer,...). I have verify this.
2005 Feb 10
1
rats in survival package
Dear R-listers, Does anybody know what is the correct source of "rats" dataset in survival package? The help gives the following information: Rat data from survival5 Description: 48 rats were injected with a carcinogen, and then randomized to either drug or placebo. The number of tumors ranges from 0 to 13; all rats were censored at 6 months after randomization.
2002 Jun 10
3
%in% in R?
Hi, Does anyone know if exists a similar funcion to %in% from Hmisc S-plus library in R? Thank you -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at
2012 Jun 11
0
4as Jornadas (Barcelona): ¿quieres echar una mano?
...La información pre-eliminar que se está recogiendo, se está poniendo en: http://www.r-es.org/IV+Jornadas Saludos Xavier de Pedro -------- Original Message -------- Subject: 4ª jornadas comunidad R Hispano Date: Thu, 7 Jun 2012 14:23:50 +0200 (CEST) From: Gonzalez Ruiz, Juan Ramon <jrgonzalez en creal.cat> To: ... CC: Carlos J. Gil Bellosta <presidente en r-es.org> Hola a tod en s, Supongo que algunos de vosotros ya estáis al tanto de que la comunidad R Hispano (antes conocida como grupo de usuarios de R) nos ha pedido si podíamos organizar las siguientes jornadas e...
2002 Jun 18
5
insert number in vector
Hello R-users, I need to create a vector inserting an 1 after each value of another vector. For example: vec1<-c(2,3,4) I need to create a vector with the values 2,1,3,1,4 Does anyone know how create this vector without loops (vec1 could have 1000 elements) Thank you, Juan -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read
2002 Jan 21
1
.Fortran or .C???
Hello, I have made a dll with mingw32 fortran compiler. I load my dll with the dyn.load function, but when I call one of my Fortran procedures with the .Fortran instruction, an error message appears saying that my function is not in the load table. However, if I call my Fortran routines with ".C" it works fine. I would like to know what is happening here. Is it usual to call Fortran
2003 Jan 14
2
graphics landscape orientation
Hello listers, I would like to know how I can get the resulting graphic of the function plot.hclust (from the package cluster) in landscape orientation. Is it possible? Thanks, Juan
2003 Jan 17
1
problems writing graphics
Hello R-listers, I am developing a function which needs to create jpeg files from some plots. To create the jpeg files I use the instruction dev.print(jpeg, file=c://graph.jpg",width=400,height=400). Until now everything has been fine, but now I have a special plot which is formed by 3 separate plots joined with the instruction "layout": nf <-
2005 Feb 01
0
RV: problems checking a package
Dear R-listers, I have a very strange problem. I made a package (under Windows and Linux). The package passed the R CMD Check without problem. Then, I installed the package and executed a function which calls to a 'dll' mod<-frailtyPenal(Surv(time,status)~sex+age+cluster(id), + n.knots=8,kappa1=10000,data=kidney) mod Call: frailtyPenal(formula = Surv(time, status)
2002 May 28
2
problems with rcmd check
Hello, I have developed a R package. When I pass it through the rcmd check command (windows 98) to see if it is ok, everything works fine until there is a call to the program "sh.exe". It seems that rcmd calls it with the option --c, but it doesn't seem to be a legal option. After that, when rcmd tries to create a directory inside the "package_name.Rcheck" directory there
2002 Jun 19
2
problem with boot
Hello R-users, I'm using the boot's library. I have two questions: 1. I execute for example data<-rnorm(100) boot(data,mean,500) and I obtain 500 equal bootstrap samples of data. Why? 2. I need to calculate the bootstrap confidence intervals for a statistic, but when I use the function boot.ci it shows the error message: Error in if