Re: [R] Error running lda example from Help File (MASS library )

2009-11-14 Thread Ronggui Huang
gt; > __ > R-help@r-project.org 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 c

Re: [R] creating custom package and functions

2009-11-10 Thread Ronggui Huang
rovide commented, minimal, self-contained, reproducible code. -- Wincent Ronggui HUANG Doctoral Candidate Dept of Public and Social Administration City University of Hong Kong http://asrr.r-forge.r-project.org/rghuang.html __ R-help@r-project.org mailing

[R] RGtk2:::gdkColorToString throws an error

2009-10-20 Thread Ronggui Huang
use I don't know where I can download the referred gdk library. Any information? Thank you. -- HUANG Ronggui, Wincent Doctoral Candidate Dept of Public and Social Administration City University of Hong Kong Home page: http://asrr.r-forge.r-project.org/rghuang.html __

Re: [R] Removing objects from workspace

2009-08-24 Thread Ronggui Huang
thz.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. > -- HUANG Ronggui, Wincent PhD Candidate Dept of Public and Social Administration City University of Hong Kong Home pag

Re: [R] CRAN (and crantastic) updates this week

2009-08-24 Thread Ronggui Huang
as a service for the R community by >> http://crantastic.org. >> >> Like it?  Hate it?  Please let us know: crana...@gmail.com. >> > >        [[alternative HTML version deleted]] > > __ > R-help@r-project.org mailing list

Re: [R] multiple linear regression

2009-08-21 Thread Ronggui Huang
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. > > -- HUANG Ronggui, Wincent PhD Candidate Dept of Public and Social Administration City Universit

Re: [R] why summary() does not work here???

2009-08-15 Thread Ronggui Huang
help@r-project.org 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. > -- HUANG Ronggui, Wincent PhD Candidate Dept of Publ

Re: [R] Estimate Discrete Choice Models with R

2009-08-15 Thread Ronggui Huang
glm can do probit regression, and glmer (lme4 package) and do mixed effect logit model. Ronggui 2009/8/16 Hongwei Dong : > Thanks for the replies. > What I'm really interest in are the functions that can do GEV, probit, and > mixed logit. I searched R, and I did find the function t

Re: [R] prop.test() - need algorithm or reference

2009-08-13 Thread Ronggui Huang
here? > > > > Thank you for any assistance you can provide. > > > > George Heine > > ghe...@mathnmaps.com > > ______ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do

Re: [R] Games in R

2009-08-12 Thread Ronggui Huang
ned, reproducible code. >> > > __ > R-help@r-project.org 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,

Re: [R] How to Import Excel file into R 2.9.0 version

2009-08-11 Thread Ronggui Huang
You can download it from http://treetron.googlepages.com/xlsreadwrite.htm Also, you may have a look at Data import/export manual, which has a relevant section. Ronggui 2009/8/11 rajclinasia : > > Hi Every one, > I have a problem with Reading Excel file into R 2.9.0 version. In older &

Re: [R] Example scripts for R Manual

2009-08-10 Thread Ronggui Huang
Is it really necessary? You can just copy the commands in the manual and paste them to R. Ronggui 2009/8/11 Peng Yu : > Hi, > > I am wondering if some experienced users would help put the > ready-to-run code of the examples in the manuals. It would help new > users  learn R faster

Re: [R] RES: Saving plots to file

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

Re: [R] import data into R

2009-08-05 Thread Ronggui Huang
; R-help@r-project.org 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. > > -- HUANG Ronggui, Wincent PhD Candi

Re: [R] Comparison of Output from "dwtest" and "durbin.watson"

2009-08-04 Thread Ronggui Huang
othesis: rho != 0 >> > > -- > View this message in context: > http://www.nabble.com/Comparison-of-Output-from-%22dwtest%22-and-%22durbin.watson%22-tp24783494p24808540.html > Sent from the R help mailing list archive at Nabble.com. > >

[R] status of boolean package

2009-08-03 Thread Ronggui Huang
FYI -- Forwarded message -- From: Bear Braumoeller Date: 2009/8/4 Subject: Re: Package boolean on CRAN To: "c...@datanalytics.com" Cc: Ronggui Huang , Ben Goodrich Gentlemen, Thanks for your enquiries.  Boolean is under active development, and we should have a n

Re: [R] Collinearity in Linear Multiple Regression

2009-08-02 Thread Ronggui Huang
I think perturb:colldiag implementes condition index as well as variance decomposition proportions. Ronggui 2009/7/21 Stephan Kolassa : > Hi Alex, > > I personally have had more success with the (more complicated) collinearity > diagnostics proposed by Belsley, Kuh & Wels

Re: [R] Likelihood Function for Multinomial Logistic Regression and its partial derivatives

2009-08-02 Thread Ronggui Huang
You may refer to mlogit for the ordinary multinomial regression. As fas as I know, there are no functions for multilevel multinomial regression. Ronggui 2009/8/2 nikolay12 : > > Hi, > > I would like to apply the L-BFGS optimization algorithm to compute the MLE > of a multile

[R] status of boolean?

2009-08-02 Thread Ronggui Huang
package of boolean has been removed from CRAN. Anyone know why? Thanks. -- HUANG Ronggui, Wincent PhD Candidate Dept of Public and Social Administration City University of Hong Kong Home page: http://asrr.r-forge.r-project.org/rghuang.html __ R-help@r

Re: [R] Compare lm() to glm(family=poisson)

2009-08-02 Thread Ronggui Huang
In practices, it is not easy to make such decision. One example is size of social ties in social network study. It is very common to use OLS thought it is count variable rather than normal. I think AIC is suggestive as well. Ronggui 2009/8/2 Alain Zuur : > > > > Mark Na wrote:

Re: [R] R book for economists

2009-08-01 Thread Ronggui Huang
How about Kleiber, C. & Zeileis, A. Applied Econometrics with R Springer, 2008? Ronggui 2009/8/1 Thiemo Fetzer : > Dear Group, > > I am an economics student starting with PhD work in London. As preparation I > would like to get to know R a little bit better. For Stata there are

Re: [R] Installing lme4 package in Windows Vista

2009-07-28 Thread Ronggui Huang
. > > ______ > R-help@r-project.org 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 c

Re: [R] r2 question

2009-07-25 Thread Ronggui Huang
summary(lm1) will show you R2 and adjusted R2 too. Ronggui 2009/7/26 Steve Lianoglou : > Hi Sarah, > > On Jul 25, 2009, at 8:25 AM, Buckmaster, Sarah wrote: > >> Hi everyone, >> >> I have a question about calculating r-squared in R. I have tried searching >> t

Re: [R] Error in object$coefficients : $ operator not defined for this S4 class

2009-07-07 Thread Ronggui Huang
009/7/7 Alessandra Galli : > Sure, sorry, > > I am fitting with beta distribution: > > y= rbeta(n <- 1000, shape1=exp(0), shape2=exp(1)) > fit = vglm (y ~ 1, betaff, trace =TRUE) > > Thanks > > 2009/7/7 Ronggui Huang >> >> What is fit in you

Re: [R] Error in object$coefficients : $ operator not defined for this S4 class

2009-07-07 Thread Ronggui Huang
What is fit in your example? Ronggui 2009/7/7 aledanda : > > Hallo, > > I received this error message while calculating the coefficents > > coef(fit, matrix=TRUE) > > Error in object$coefficients : $ operator not defined for this S4 class > > what is this? How can I

Re: [R] save the result into a word file

2009-07-03 Thread Ronggui Huang
How about export it to a HTML and then copy to MS word. I have packaged some code to export lm object to HTML in AJS style. You can have a look at ASAtable (http://r-forge.r-project.org/R/?group_id=328). Ronggui 2009/7/3 Suyan Tian : > Hi, everyone: > > I forget on how to save a result

Re: [R] Correlation Network Diagram?

2009-07-03 Thread Ronggui Huang
t;        [[alternative HTML version deleted]] > > __ > R-help@r-project.org 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-con

Re: [R] order by decerasing 1st variable and increasing 2nd variable

2009-06-24 Thread Ronggui Huang
sage is confidential and for use by the a...{{dropped:2}} > > __ > R-help@r-project.org 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 pro

Re: [R] Urgent - odfWeave produces graphs /images with Read-Error

2009-06-17 Thread Ronggui Huang
If you use lattice to produce the figures, you need to wrap them in print, say, <<>>= print(xyplot(y~x,data=dat)) @ Ronggui 2009/6/17 Fredrik Karlsson : > Dear list, > > I have been working on a report with around 60 images in it, and > everything has been fine, until no

Re: [R] The most straightfoward way to write a function that sums over the rows of a matrix

2009-06-16 Thread Ronggui Huang
Why not just use rowSums? Ronggui 2009/6/16 Stu @ AGS : > Hello! > > > > I am trying to write a function with vector and data.frame parameters that > uses the sum() function and values from the rows of the data.frame. > > I need to pass this function as a paramete

[R] How to capture output from a subprocess?

2009-06-13 Thread Ronggui Huang
a R object? In this case, it is "ANS_FILENAME='a.mp3'". I try sink(), but it doesn't work as what I want to capture is not a return from R. Thanks. -- HUANG Ronggui, Wincent PhD Candidate Dept of Public and Social Administration City Uni

Re: [R] Install local package

2009-06-10 Thread Ronggui Huang
## Check the package > R CMD check path.of.package ## Build the package > R CMD build pathof.package ## INSTALL the package > R CMD INSTALL path.of.package You can use _R --help _ (from within terminal) to get more information. Ronggui 2009/6/11 Jorge Cornejo : > Hi, I'm wor

Re: [R] Vista + R = *!!?@

2009-06-10 Thread Ronggui Huang
lmer will not produce p-value but glmer does. So, if you want to estimate a lmm model, you can use lme in nlme package instead. Ronggui 2009/6/11 John Townsend-Mehler : > Hello People of R, > > Is there any way that I can get R to function properly using Vista.  I get > very strange

Re: [R] graphically representing frequency of words in a speech?

2009-06-10 Thread Ronggui Huang
>> >>        [[alternative HTML version deleted]] >> >> __ >> R-help@r-project.org mailing list >> https://stat.ethz.ch/mailman/listinfo/r-help >> PLEASE do read the posting guide http://www.R-project.org/po

Re: [R] searchpaths

2009-06-09 Thread Ronggui Huang
e http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > -- HUANG Ronggui, Wincent PhD Candidate Dept of Public and Social Administration City University of Hong Kong Home page: http://asrr.r-forge.r-project.org/rghuang.html _

Re: [R] Writing Reports from R in Office Open XML format (ooxmlWeave?)

2009-06-09 Thread Ronggui Huang
, minimal, self-contained, reproducible code. > > __ > R-help@r-project.org 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 comme

Re: [R] SECOND MESSAGE: Re: Question about R an SPSS

2009-06-08 Thread Ronggui Huang
can do it. Of course, R can read data of SPSS format by read.spss function in foreign package. Ronggui 2009/6/9 DIEGO CHAVEZ : > Sent: Sunday, June 07, 2009 5:43 PM >  Subject: Question about R an SPSS > > >  Dears Sirs: >  Venables, Smith and  R-Development Core Team > > &

Re: [R] RGtk2 help: Show list of column names from dataset and categorize as factor or numeric

2009-06-04 Thread Ronggui Huang
I use gWidgetsRGtk2, which provides widgets such as notebook etc. You can start with gWidgetsRGtk2, and if you want to tailor the GUI according to your needs, you can modified them with RGtk2 package. Ronggui 2009/6/4 Harsh : > Hi UseRs, > I recently started working with the RGtk2 librar

Re: [R] Binning or grouping data

2009-06-04 Thread Ronggui Huang
Personally, I prefer the recode() in package of car. Ronggui 2009/6/4 Philipp Pagel : >> I'm attempting to "group" or "bin" data together in order to analyze them as >> a combined group rather than as discrete set.  I'll provide a simple exampl

Re: [R] Getting a column of values from a list - think I'm doing it the hard way

2009-06-03 Thread Ronggui Huang
<-length(HouseDatesList) > for(ii in 1:length_array) > { >        HouseYear<-HouseDatesList[[ii]][1] > >        HouseYear_array<-c(HouseYear_array, HouseYear) > } > > as.character(HouseYear_array) > > # Desired: > # [1] "1990" "1991" "1992" "

Re: [R] Abort run

2009-06-03 Thread Ronggui Huang
It depends on the OS you use. For windows user, the ESC key or "stop all computation" in the menu are the options. Ronggui 2009/6/3 Ali Mahani : > > How can I abort running a script if I determine it's taking too long? > Currently, I simply close the R window a

Re: [R] Return variable assignments from a function

2009-06-02 Thread Ronggui Huang
I don't know why you want to do this. But you can try _assign_ simple <- function(m,n) { assign("A",matrix(c(3,3,2,3),2,2),env=.GlobalEnv) assign("B",m,env=.GlobalEnv) assign("c",1:n,env=.GlobalEnv) } > simple(5,4) > A [,1] [,2] [1,] 32

Re: [R] Most used R editors

2009-06-02 Thread Ronggui Huang
Yes, Tinn-R is great for windows users. However, if you work under different OS, it would be great to have an OS-independent editor. Ronggui 2009/6/2 Bos, Roger : > I have not seen Tinn-R mentioned so I will mention it.  Its worked great for > me.  Eclipse is a nice IDE, but it

Re: [R] GTK Tooltips under Linux

2009-06-02 Thread Ronggui Huang
Thanks, Michael. 2009/6/2 Michael Lawrence : > I think I've got the threaded event loop working. Uploaded it to CRAN as > 2.12.12. Should appear in a few days. > > Michael > > On Fri, May 29, 2009 at 11:24 AM, Ronggui Huang > wrote: >> >> Noted with thanks.

Re: [R] Most used R editors

2009-06-02 Thread Ronggui Huang
I personally use ESS now. I think it is great for programming. I used kate under KDE once, and it worked fine. I quite like kate though I am not a fan of KDE. Ronggui 2009/6/2 Martial Sankar : > > Hi, > > I am a little lonely as R users in my group. So, I would like to know which

Re: [R] warning message when running quantile regression

2009-06-01 Thread Ronggui Huang
(http://www.econ.uiuc.edu/~roger/research/rq/FAQ) Ronggui 2009/6/1 : > Hi All, > > > > I am running quantile regression in a "for loop" starting with 1 > variable and adding a variable at a time reaching a maximum of 20 > variables. > > I get the following warn

Re: [R] (no subject)

2009-05-31 Thread Ronggui Huang
use _search()_ to see if the package is on the search path. If yes, use _detach("package:sn",unload=TRUE)_ to detach it and then try to install it again. Ronggui 2009/6/1 Roslina Zakaria : > Hi R-users, > > I try to use sn package but it give me the following message: > >

Re: [R] GTK Tooltips under Linux

2009-05-29 Thread Ronggui Huang
Noted with thanks. Regards Ronggui 2009/5/29 Michael Lawrence : > > > On Thu, May 28, 2009 at 7:35 PM, Ronggui Huang > wrote: >> >> Dear all, >> >> I want to set tool-tips for a gtkButton. I use the following code >> which works under Windows. However,

Re: [R] problem with "ls" command

2009-05-29 Thread Ronggui Huang
ils" "package:datasets" [7] "package:methods" "Autoloads" "package:base" > ls("package:graphics") [1] "abline" "arrows" "assocplot" "axis" Ronggui 2009/5/29

[R] GTK Tooltips under Linux

2009-05-28 Thread Ronggui Huang
a namespace (and not attached): [1] tools_2.8.0 -- HUANG Ronggui, Wincent PhD Candidate Dept of Public and Social Administration City University of Hong Kong Home page: http://asrr.r-forge.r-project.org/rghuang.html __ R-help@r-project.org mailing

Re: [R] split strings

2009-05-26 Thread Ronggui Huang
They look like file path, so you can make use of basename() first, then use gsub to strip the suffix. > x<-c("F:/Naval_Live_Oaks/2005/data//BE.tif","F:/Naval_Live_Oaks/2005/data//CH.tif") > x2<-sapply(x,basename,USE.NAMES=FALSE) > gsub("[.].{1,}$",&q

Re: [R] R under Ubuntu

2009-05-26 Thread Ronggui Huang
I think it is standard practice. If you want R to load a workspace automatically when R is launched, you can add the command in .Rprofile. See ?Startup for more on Initialization at Start of an R Session. Ronggui 2009/5/26 Luis Ridao Cruz : > R-help, > > I have installed R under Ubuntu

Re: [R] Draw a rectangle on top of an image using RGtk2?

2009-05-25 Thread Ronggui Huang
I see. So if I want to draw a rectangle by a function outside the expose_fn, I need to refer to the drawable within the expose_fn. One possibility is to use an environment, so I can refer to it dynamically. Thanks, Ronggui 2009/5/25 Michael Lawrence : > > > On Sat, May 23, 2009 a

Re: [R] Draw a rectangle on top of an image using RGtk2?

2009-05-23 Thread Ronggui Huang
t;]], event[["area"]][["x"]], event[["area"]][["y"]], event[["area"]][["width"]], event[["area"]][["height"]]) return(FALSE) } gSignalConnect(da,"expose-event",expose_fn) w<-gtkWindow(show=F) w$SetSizeRequest(400,300

[R] Draw a rectangle on top of an image using RGtk2?

2009-05-22 Thread Ronggui Huang
selected. I need some hints on what functions should I look for. I tried to google but don't know how. Thanks. -- HUANG Ronggui, Wincent PhD Candidate Dept of Public and Social Administration City University of Hong Kong Home page: http://asrr.r-forge.r-project.org/rghuang

Re: [R] Trouble installing package 'systemfit'

2009-05-20 Thread Ronggui Huang
sting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > -- HUANG Ronggui, Wincent PhD Candidate Dept of Public and Social Administration City University of Hong Kong Home page: http://asrr.r-forge.r-project.org/rghuang.ht

Re: [R] Remove objects names like character String

2009-05-19 Thread Ronggui Huang
Or you can use rm(list=ls(pattern=you pattern)), in my example, it is: rm(list=ls(pattern="site[1-3]_data")) Ronggui 2009/5/19 Katharina May : > Hi, > > how can I use rm() on objects named like: > paste("site",i,"_data",sep="") while looping >

Re: [R] How do you save in R?

2009-05-18 Thread ronggui
o/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > -- HUANG Ronggui, Wincent PhD Candidate Dept of Public and Social Administration City University of Hong Kong Home page: http://as

Re: [R] Do you use R for data manipulation?

2009-05-11 Thread ronggui
r-project.org 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. > -- HUANG Ronggui, Wincent PhD Candidate Dept of Public and

Re: [R] Splitting a vector into equal groups

2009-05-04 Thread ronggui
_ > R-help@r-project.org 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] Encoding issue with replacement operation

2009-05-03 Thread ronggui
lt;- "some chinese character with ' in it" Encoding(x) <- "UTF-8" Sys.setlocale(,"CHS") gsub("'","''",x) ## It would be great if I can achieve the same effect without the suitable locales setting (e.g. even the Sys.setlocal

Re: [R] evaluate a expression

2009-05-02 Thread ronggui
_ > R-help@r-project.org 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. >

Re: [R] issue building my own package... moving from Apple OS to Windows

2009-04-24 Thread ronggui
you won't need > Perl. > > oh, if you do do any of those tutorials and get any of them to woprk, let me > know because > I couldn't. thanks. > > __ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listi

Re: [R] issue building my own package... moving from Apple OS to Windows

2009-04-24 Thread ronggui
t; > thank you, Daryl > U. Washington Biostatistics > > __ > R-help@r-project.org 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 comm

Re: [R] Failing to print mer object in an RData image

2009-04-23 Thread ronggui
age:       lme4 > Version:       0.999375-28 > Date:          2008-12-13 > > Thanks, > RZ > > __ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project

Re: [R] R: R: how to split and handle a big R program into multiple files

2009-04-23 Thread ronggui
;> Exeter, Devon, >> EX4 4QL, UK >> >> Phone: +44 1392 264187 >> >> http://newton.ex.ac.uk/research/emag >> __ >> >> >> >> >> Alice Messenger ;-) chatti anche con gli amici di Win

Re: [R] to extract data

2009-04-20 Thread ronggui
hz.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. > -- HUANG Ronggui, Wincent PhD Candidate Dept of Public and Social Administration City University of Hong Kong Home page

Re: [R] explicit documentation (was: get() versus getAnywhere())

2009-04-19 Thread ronggui
### > Attention:\ This e-mail message is privileged and confid...{{dropped:9}} > > ______ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guid

Re: [R] Neural Networks in R - Query

2009-04-18 Thread ronggui
ural network are implemented > in package nnet as part of the VR  bundle (shipped with base R). > > HTH, > Tobias > > __ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-proje

Re: [R] source code for prompt()

2009-04-17 Thread ronggui
n deleted]] > > __ > R-help@r-project.org 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, reprodu

Re: [R] Using trace

2009-04-17 Thread ronggui
automate the process, and I can't figure out how to > use it to handle this most elementary and standard case.  Clearly I'm > missing something. > >              -s > > On Thu, Apr 16, 2009 at 9:26 PM, ronggui wrote: >> Can you just print what you need to know? Fo

Re: [R] Equivalent to Stata egen

2009-04-16 Thread ronggui
quarter. For other, it is either >> > a guesswork+CRANning+googling around or "Forget it, I'll just go back >> > to Stata to do it" after a few futile attempts. May be I just don't >> > know where to look for the good stuff, but it is certainly outsid

Re: [R] Using trace

2009-04-16 Thread ronggui
gt; >         -s > > ______ > R-help@r-project.org 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,

Re: [R] (no subject)

2009-04-11 Thread ronggui
EASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > -- HUANG Ronggui, Wincent PhD Candidate Dept of Public and Social Administration City University of Hong Kong Home page: http://asrr.r-forge.r

Re: [R] re trieve R session?

2009-04-02 Thread ronggui
-project.org 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. > -- HUANG Ronggui, Wincent PhD Candidate Dept of Public and

Re: [R] How can I use R through command line?

2009-04-01 Thread ronggui
at.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. > -- HUANG Ronggui, Wincent PhD Candidate Dept of Public and Social Administration City University o

Re: [R] R: package "sowas"

2009-03-22 Thread ronggui
it on Windows XP ? > Thank you. > Maura > > > > -----Messaggio originale- > Da: ronggui [mailto:ronggui.hu...@gmail.com] > Inviato: dom 22/03/2009 10.47 > A: mau...@alice.it; r-help@r-project.org > Oggetto: Re: [R] package "sowas" > > There

Re: [R] package "sowas"

2009-03-22 Thread ronggui
ls. > >                                                                -K. Mullis > > __ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.ht

Re: [R] Multilevel modeling using R

2009-03-17 Thread ronggui
rds, > Tommy > Research Assistant of HKIEd > ____ > From: ronggui [mailto:ronggui.hu...@gmail.com] > Sent: 17/3/2009 [Tue] 14:10 > To: WONG, Ka Yau > Cc: r-help@r-project.org > Subject: Re: [R] Multilevel modeling using R > > You can use in

Re: [R] errors when install RSQLite

2009-03-16 Thread ronggui
_ > R-help@r-project.org 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. > -- HUANG Ronggui, Wincent Tel: (008

Re: [R] Multilevel modeling using R

2009-03-16 Thread ronggui
at.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. > -- HUANG Ronggui, Wincent Tel: (00852) 3442 3832 PhD Candidate Dept of Public and Social Administration Ci

Re: [R] updating packages?

2009-03-13 Thread ronggui
hat mean? How can I update these packages? > > Thank you. > > Kevin > > __ > R-help@r-project.org 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 c

Re: [R] HAC corrected standard errors

2009-03-10 Thread ronggui
; Sent from the R help mailing list archive at Nabble.com. > > __ > R-help@r-project.org 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 comm

Re: [R] R on netbooks et al?

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

Re: [R] Inference for R Spam

2009-02-24 Thread ronggui
__ > R-help@r-project.org 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. > --

Re: [R] basic inquiry regarding write.csv

2009-02-17 Thread ronggui
CJ Rubio : > > thanks for your reply.. is there something wrong with the code i have? > because it doesn't write the file in the directory that i am using... > > for (i in names(y)) >> {write.csv(y[[i]], file=paste(i, ".csv", sep=","))} > &

Re: [R] basic inquiry regarding write.csv

2009-02-17 Thread ronggui
-write.csv-tp22073053p22073053.html > Sent from the R help mailing list archive at Nabble.com. > > __ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://w

Re: [R] Chinese language R email list?

2009-02-10 Thread ronggui
ead the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > -- HUANG Ronggui, Wincent Tel: (00852) 3442 3832 PhD Candidate Dept of Public and Social Administration City University of Hong

Re: [R] glm package

2009-02-06 Thread ronggui
ing 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. > -- HUANG Ronggui, Wincent Tel: (00852) 3442 3832 PhD Candidate Dept of Public and

Re: [R] Frequency and summary statistics table with different variables and categories

2009-01-22 Thread ronggui
__ > R-help@r-project.org 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. > -- HUANG Ronggui, W

Re: [R] converting a factor in numeric values with direct control of the numeric values

2009-01-17 Thread ronggui
(just > for the example) > > so that I get: > > [1] 3 3 5 > > > Thanks for any help! > > __ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html >

Re: [R] converting a factor in numeric values with direct control of the numeric values

2009-01-17 Thread ronggui
[1] 3 3 5 > > > Thanks for any help! > > __ > R-help@r-project.org 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 comme

[R] [R-pkgs] RQDA-0.1-6 is on CRAN

2009-01-03 Thread ronggui
relationship -- HUANG Ronggui, Wincent Tel: (00852) 3442 3832 PhD Candidate, City University of Hong Kong Website: http://ronggui.huang.googlepages.com/ RQDA project: http://rqda.r-forge.r-project.org/ ___ R-packages mailing list r-packa...@r-project.org

Re: [R] How do I reload sessions from a non-default directory in OS X?

2008-12-23 Thread ronggui
x.shtml > >[[alternative HTML version deleted]] > > __ > R-help@r-project.org 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

Re: [R] QCA adn Fuzzy

2008-12-22 Thread ronggui
> Romania > Tel./Fax: +40 21 3126618 \ > +40 21 3120210 / int.101 > > __ > r-h...@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.

Re: [R] Functions in R like lincom and nlcom of Stata

2008-12-13 Thread ronggui
There is function for linear combination in car package as well. Best Ronggui On Sun, Dec 14, 2008 at 1:42 PM, Andrew Robinson wrote: > > estimable in the gmodels package provides point estimates, standard > errors and confidence intervals for arbitrary linear combinations of > mode

Re: [R] How to mimic select.list using RGtk2/gWidgetsRGtk2?

2008-12-12 Thread ronggui
and=TRUE) } g<-gwindow(width=50) addSettingGUI (g) ## It seems that argument of width in gwindow has no effects on the resultant widget ## How can can re-scale the width of the resultant widget? ## thanks. Ronggui On Sat, Dec 13, 2008 at 1:12 PM, John Verzani wrote: > ronggui

[R] How to mimic select.list using RGtk2/gWidgetsRGtk2?

2008-12-12 Thread ronggui
uot;,"b")); foo()}, foo() only runs after I have clicked the OK button of select(). Any hints? Thanks. -- HUANG Ronggui, Wincent Tel: (00852) 3442 3832 PhD Candidate, City University of Hong Kong Website: http://ronggui.huang.googlepages.com/ RQDA project: http://rqda.r-forge.r-project.

Re: [R] Sorting problem

2008-12-11 Thread ronggui
Sorry for the last post. I didn't use the latest version of R. It works under Linux as well for R-2.8.0 patch. Best On Thu, Dec 11, 2008 at 11:34 PM, ronggui <[EMAIL PROTECTED]> wrote: > Sys.setlocale(,"C") > x1 <- as.character(date()) # I use date to record the

[R] Sorting problem

2008-12-11 Thread ronggui
ot;) X<-c(x1_2,x2_2) order(X) ## I want to get the permutation other than the sorted vector. ## order(X) works in windows but not Linux. any alternative way to the the permutation? -- HUANG Ronggui, Wincent Tel: (00852) 3442 3832 PhD Candidate, City University of Hong Kong Website: http:

  1   2   >