[R] RE : test the tcltk package

2006-08-21 Thread Yohan CHOUKROUN
Hello Adrian,

I have the same problem with tcltk with the difference that i can't open
Rcmdr or another tcltk application under Ubuntu with the same packages of
tcl or tk than you...
It is not helping you but that's my contribution...

Yohan

-Message d'origine-
De : Adrian Dusa [mailto:[EMAIL PROTECTED] 
Envoyé : lundi 21 août 2006 14:06
À : r-help@stat.math.ethz.ch
Objet : [R] test the tcltk package

Dear all,

Could anybody using (K)ubuntu (or Linux in general) confirm if this is a 
general problem or it's just my box?
The problem relates to the Options window in the Rcmdr package (which it
looks 
fine in John Fox's Quantian). The last option (Default font) is stubborn and

won't be set; it behaves strangely (e.g. I type 3 and it appears 2).
This options should have a button to drag left and right, but in my 
configuration this is missing; at this link you can see how it looks like:
http://www.roda.ro/Options.png

What should I do to test if the R tcltk package works fine?

I have R 2.3.1, tcl and tk version 8.4 (dev packages installed as well).

Thanks in advance,
Adrian

-- 
Adrian Dusa
Romanian Social Data Archive
1, Schitu Magureanu Bd
050025 Bucharest sector 5
Romania
Tel./Fax: +40 21 3126618 \
  +40 21 3120210 / int.101

__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


--
Ce message est confidentiel. Son contenu ne represente en au...{{dropped}}

__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


[R] RE : tcltk library on linux

2006-08-11 Thread Yohan CHOUKROUN

Thank you for your answer but I already use the .deb package.
Also I have compiled the source code, but it is the same result...
I have already the same error..
I 'm going to be crazy ;-)

Has anyone got the same problem (and found the solution!) ?

Thanks in advance

Yohan

-Message d'origine-
De : Dirk Eddelbuettel [mailto:[EMAIL PROTECTED] 
Envoyé : jeudi 10 août 2006 18:50
À : Yohan CHOUKROUN
Cc : 'r-help@stat.math.ethz.ch'
Objet : Re: [R] tcltk library on linux


On 10 August 2006 at 15:09, Yohan CHOUKROUN wrote:
| I want to use the Rcmdr package which depends on the tcltk library.
| 
| I'm on Linux Ubuntu.

$ sudo apt-get install r-cran-rcmdr

should be all you need thanks to all the work done on the Debian side.

Amicalement,  Dirk

-- 
Hell, there are no rules here - we're trying to accomplish something. 
  -- Thomas A. Edison


--
Ce message est confidentiel. Son contenu ne represente en aucun cas un
engagement de la part du Groupe Soft Computing sous reserve de tout accord
conclu par ecrit entre vous et le Groupe Soft Computing. Toute publication,
utilisation ou diffusion, meme partielle, doit etre autorisee prealablement.
Si vous n'etes pas destinataire de ce message, merci d'en avertir
immediatement l'expediteur. 
This message is confidential. Its content does not constitute a commitment
by Soft Computing Group except where provided for in a written agreement
between you and Soft Computing Group. Any unauthorised disclosure, use or
dissemination, either whole or partial, is prohibited. If you are not the
intended recipient of this message, please notify the sender immediately. 
-- 



[[alternative HTML version deleted]]

__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


[R] tcltk library on linux

2006-08-10 Thread Yohan CHOUKROUN
R-users,

 

Sorry for my English, I'm French.

I want to use the Rcmdr package which depends on the tcltk library.

I'm on Linux Ubuntu.

 

I don't manage to use Rcmdr even if tcl and tk are installed.

I'm a newbie in Linux and I don't know how to specify Configtcl.sh 

and Configtk.sh location to R (I saw that on the mailing list archive).

 

I have installed all the packages tcl8.4, tcl8.4-dev, tk8.4, tk8.4-dev

 

In R, in the ./configure script, there is 3 options to set

the tcl.sh and tk.sh paths. But I don't know how to use it.

 

I have also use the binaries distribution of R and it is always the same
error : 

 

Loading Tcl/Tk interface ... Error in fun(...) : this isn't a Tk
application unknown color name Black

Error : .onLoad failed in 'loadNamespace' for 'tcltk'

 

I have the same error when I write : 

 

Install.package()

 

If someone could help me..

 

Thanks in advance.

 

 

Yohan

 

 

 

 

 



--
Ce message est confidentiel. Son contenu ne represente en aucun cas un
engagement de la part du Groupe Soft Computing sous reserve de tout accord
conclu par ecrit entre vous et le Groupe Soft Computing. Toute publication,
utilisation ou diffusion, meme partielle, doit etre autorisee prealablement.
Si vous n'etes pas destinataire de ce message, merci d'en avertir
immediatement l'expediteur. 
This message is confidential. Its content does not constitute a commitment
by Soft Computing Group except where provided for in a written agreement
between you and Soft Computing Group. Any unauthorised disclosure, use or
dissemination, either whole or partial, is prohibited. If you are not the
intended recipient of this message, please notify the sender immediately. 
-- 



[[alternative HTML version deleted]]

__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


[R] RE : how to use large data set ?

2006-07-20 Thread Yohan CHOUKROUN
Thank you for your answers.
So, I have to derive variables, reclassify, binning, aggregate, or merge
variables (data management). After that I have to do a logistic regression
to do scoring.
I have tried a MySQL database with RODBC but I did a mistake, I have 33
millions rows table and not 3 millions and the computer crashed..
So I will try your program.

Thank you

Yohan
 



-Message d'origine-
De : Greg Snow [mailto:[EMAIL PROTECTED] 
Envoyé : mercredi 19 juillet 2006 21:58
À : Yohan CHOUKROUN; r-help@stat.math.ethz.ch
Objet : RE: [R] how to use large data set ?

You did not say what analysis you want to do, but many common analyses
can be done as special cases of regression models and you can use the
biglm package to do regression models.

Here is an example that worked for me to get the mean and standard
deviation by day from an oracle database with over 23 million rows (I
had previously set up 'edw' as an odbc connection to the database under
widows, any of the database connections packages should work for you
though):

library(RODBC)
library(biglm)

con - odbcConnect('edw',uid='glsnow',pwd=pass)

odbcQuery(con, select ADMSN_WEEKDAY_CD, LOS_DYS from CM.CASEMIX_SMRY)

t1 - Sys.time()

tmp - sqlGetResults(con, max=10)

names(tmp) - c(Day,LoS)
tmp$Day - factor(tmp$Day, levels=as.character(1:7))
tmp - na.omit(tmp)
tmp - subset(tmp, LoS  0)

ff - log(LoS) ~ Day

fit - biglm(ff, tmp)

i - nrow(tmp)
while( !is.null(nrow( tmp - sqlGetResults(con, max=10) ) ) ){
names(tmp) - c(Day,LoS)
tmp$Day - factor(tmp$Day, levels=as.character(1:7))
tmp - na.omit(tmp)
tmp - subset(tmp, LoS  0)

fit - update(fit,tmp)

i - i + nrow(tmp)
cat(format(i,big.mark=','), rows processed\n)
}

summary(fit)

t2 - Sys.time()

t2-t1
 
Hope this helps,

-- 
Gregory (Greg) L. Snow Ph.D.
Statistical Data Center
Intermountain Healthcare
[EMAIL PROTECTED]
(801) 408-8111
 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Yohan CHOUKROUN
Sent: Wednesday, July 19, 2006 9:42 AM
To: 'r-help@stat.math.ethz.ch'
Subject: [R] how to use large data set ?

Hello R users,

 

Sorry for my English, i'm French.

 

I want to use a large dataset (3 millions of rows and 70 var) but I
don't know how to do because my computer crash quickly (P4 2.8Ghz, 1Go
).

I have also a bi Xeon with 2Go so I want to do computation on this
computer and show the results on mine. Both of them are on Windows XP...

 

To do shortly I have: 

 

1 server with a MySQL database

1computer

and I want to use them with a large dataset. 

 

I'm trying to use RDCOM to connect the database and installing (but it's
hard for me..) Rpad.

 

Is there another solutions ?

 

Thanks in advance

 

 

Yohan C.



--
Ce message est confidentiel. Son contenu ne represente en aucun cas un
engagement de la part du Groupe Soft Computing sous reserve de tout
accord conclu par ecrit entre vous et le Groupe Soft Computing. Toute
publication, utilisation ou diffusion, meme partielle, doit etre
autorisee prealablement.
Si vous n'etes pas destinataire de ce message, merci d'en avertir
immediatement l'expediteur. 
This message is confidential. Its content does not constitute a
commitment by Soft Computing Group except where provided for in a
written agreement between you and Soft Computing Group. Any unauthorised
disclosure, use or dissemination, either whole or partial, is
prohibited. If you are not the intended recipient of this message,
please notify the sender immediately. 
-- 



[[alternative HTML version deleted]]

__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide
http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


--
Ce message est confidentiel. Son contenu ne represente en aucun cas un
engagement de la part du Groupe Soft Computing sous reserve de tout accord
conclu par ecrit entre vous et le Groupe Soft Computing. Toute publication,
utilisation ou diffusion, meme partielle, doit etre autorisee prealablement.
Si vous n'etes pas destinataire de ce message, merci d'en avertir
immediatement l'expediteur. 
This message is confidential. Its content does not constitute a commitment
by Soft Computing Group except where provided for in a written agreement
between you and Soft Computing Group. Any unauthorised disclosure, use or
dissemination, either whole or partial, is prohibited. If you are not the
intended recipient of this message, please notify the sender immediately. 
-- 



[[alternative HTML version deleted

[R] how to use large data set ?

2006-07-19 Thread Yohan CHOUKROUN
Hello R users,

 

Sorry for my English, i'm French.

 

I want to use a large dataset (3 millions of rows and 70 var) but I don't
know how to do because my computer crash quickly (P4 2.8Ghz, 1Go ).

I have also a bi Xeon with 2Go so I want to do computation on this computer
and show the results on mine. Both of them are on Windows XP...

 

To do shortly I have: 

 

1 server with a MySQL database

1computer

and I want to use them with a large dataset. 

 

I'm trying to use RDCOM to connect the database and installing (but it's
hard for me..) Rpad.

 

Is there another solutions ?

 

Thanks in advance

 

 

Yohan C.



--
Ce message est confidentiel. Son contenu ne represente en aucun cas un
engagement de la part du Groupe Soft Computing sous reserve de tout accord
conclu par ecrit entre vous et le Groupe Soft Computing. Toute publication,
utilisation ou diffusion, meme partielle, doit etre autorisee prealablement.
Si vous n'etes pas destinataire de ce message, merci d'en avertir
immediatement l'expediteur. 
This message is confidential. Its content does not constitute a commitment
by Soft Computing Group except where provided for in a written agreement
between you and Soft Computing Group. Any unauthorised disclosure, use or
dissemination, either whole or partial, is prohibited. If you are not the
intended recipient of this message, please notify the sender immediately. 
-- 



[[alternative HTML version deleted]]

__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.