search for: ronggui

Displaying 20 results from an estimated 214 matches for "ronggui".

2008 May 14
2
basename/dirname produce incorrect results
...hat dirname/basename action on unit of byte instead of char, so the result in the following example is half of what is expected. > g<-"d:\\$BG!2L4^M-CfJ8(B\\$BG!2L4^M-CfJ8(B.txt" > dirname(g) [1] "d:/$BG!2L4^(B" > basename(g) [1] "$BG!2L4^M-(B" -- HUANG Ronggui, Wincent http://ronggui.huang.googlepages.com/ Bachelor of Social Work, Fudan University, China Master of sociology, Fudan University, China Ph.D. Candidate, CityU of HK. [[alternative HTML version deleted]]
2008 Jan 21
3
Need suggestions about GUI
What I want to do is: 1, creat a text box, insert text into that box. 2, select chunk of of the text by mouse, and link it to a lable. so I would like a way to get that chunk of text. Can I do such job with tcltk? Any relavant tutorial materials? Thanks -- HUANG Ronggui Bachelor of Social Work, Fudan University, China Master of sociology, Fudan University, China Ph.D. Student , CityU of HK, http://www.cityu.edu.hk/sa/psa_web2006/students/rdegree/huangronggui.html [[alternative HTML version deleted]]
2009 Aug 10
5
Example scripts for R Manual
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 by putting all the examples in an ready-to-run R script file. Can somebody help do so sometime and post the code along with the pdf manuals? http://cran.r-project.org/manuals.html Regards, Peng
2008 Dec 11
1
Sorting problem
...:%M:%S %Y") x2 <- as.character(date()) x2_2 <- strptime(x2, "%a %b %d %H:%M:%S %Y") 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://ronggui.huang.googlepages.com/ RQDA project: http://rqda.r-forge.r-project.org/
2009 Jun 17
2
Urgent - odfWeave produces graphs /images with Read-Error
Dear list, I have been working on a report with around 60 images in it, and everything has been fine, until now. I find that the image output that is produced by odfWeave produces images that are NOT readable by OpenOffice or NeoOffice. I get empty boxes with Read-Error written in them. While generating the file using odfWeave, I can see them being generated on the screen, and they all seem fine.
2005 Nov 27
2
multilevel models and sample size
...econd level unit has 19-23 units.I think the sample size is quite small,but just now I can't make the sample size much bigger.So I want to ask if I use the multilevel model to analysis the data set,will it be acceptable? or unacceptable because of the small sample size? Thank you very much! ronggui 2005-11-28 ------ Deparment of Sociology Fudan University My new mail addres is ronggui.huang at gmail.com Blog:http://sociology.yculblog.com
2004 Oct 18
3
how to study the code of R
i want to study R programming by studying the existing code from R itself,but i don't know how to read the code,can any one give me some guide? my R is installed in /usr/lib/R/ [ronggui at mylinux ronggui]$ /usr/lib/R/ afm bin doc etc include library modules share > version _ platform i586-mandrake-linux-gnu arch i586 os linux-gnu system i586, linux-gnu status major 1 minor 9.1 year 2004 month 06 day 21 language R...
2005 Mar 30
2
about memory
here is my system memory: ronggui at 0[ronggui]$ free total used free shared buffers cached Mem: 256728 79440 177288 0 2296 36136 -/+ buffers/cache: 41008 215720 Swap: 481908 60524 421384 and i want to cluster my data using hclust.my da...
2007 Jan 19
1
Where can I get the latex format manual?
In www.r-project.org I can find html and pdf format, and the R-x.x-x/doc/manual has texinfo format only. I can not find latex format manual. Am I miss something? Thanks for your hints. -- Ronggui Huang Department of Sociology Fudan University, Shanghai, China ?????? ????????????????
2007 May 19
2
What's wrong with my code ?
...factanal.fit.uls(covmat,2) $par bg2cost1 bg2cost2 bg2cost3 bg2cost4 bg2cost5 bg2cost6 0.7454829 0.7191459 0.6969019 0.7611750 0.6940870 0.6930580 $value [1] 0.02167674 $counts function gradient 21 21 $convergence [1] 52 $message [1] "ERROR: ABNORMAL_TERMINATION_IN_LNSRCH" -- Ronggui Huang Department of Sociology Fudan University, Shanghai, China
2006 Feb 22
2
does multinomial logistic model from multinom (nnet) has logLik?
...not have logLik.So my quetion is : is logLik meaningful to multinomial logistic model from multinom?If it does, how can I get it? Thank you! ps: I konw VGAM has function to get the multinomial logistic model with logLik, but I prefer use the function from "official" R packages . -- ronggui Deparment of Sociology Fudan University
2011 Jan 12
1
how to change strip text of effect plot
...such as "high level" on the fly? library(effects) Cowles$ex2 <- cut(Cowles$extraversion,3) mod.cowles <- glm(volunteer ~ sex+neuroticism*ex2,data=Cowles, family=binomial) eff.cowles <- allEffects(mod.cowles) plot(eff.cowles, 'neuroticism:ex2',factor.names=F) Thank you. Ronggui -- Wincent Ronggui HUANG (Ph.D.) City University of Hong Kong http://asrr.r-forge.r-project.org/rghuang.html
2007 May 27
2
Question about "evalq"
....frame(2)) > f1(list(x1=1)) [1] 2 $x1 [1] 2 > > f1 <- function(x,digits=5) lapply(x, f2) > f2 <- function(x) evalq(print(x+1,digits=digits),list(x=x),parent.frame(2)) > f1(list(x1=1)) Error in print.default(x + 1, digits = digits) : object "digits" not found -- Ronggui Huang Department of Sociology Fudan University, Shanghai, China
2005 Oct 15
2
how to import such data to R?
...are numeric and some are character. I though the scan can read it in ,but it seems somewhat tricky as the mixed type of variables.any suggestions? the attachmen is the raw data and the description of the data. 2005-10-15 ------ Deparment of Sociology Fudan University My new mail addres is ronggui.huang at gmail.com Blog:http://sociology.yculblog.com
2008 Jun 07
1
Problem of installing Matrix
...i386-portbld-freebsd7.0 arch i386 os freebsd7.0 system i386, freebsd7.0 status major 2 minor 6.1 year 2007 month 11 day 26 svn rev 43537 language R version.string R version 2.6.1 (2007-11-26) -- HUANG Ronggui, Wincent http://ronggui.huang.googlepages.com/ Bachelor of Social Work, Fudan University, China Master of sociology, Fudan University, China Ph.D. Candidate, CityU of HK.
2006 May 09
1
Fwd: Re: read.table (Error in file(file, "r") : unable to open connection)
...rd slashes, exactly the same as in Unix. This has the advantage of being portable, especially if you make it relative to a starting directory. read.table("c:/a/b/c.dat") read.table("c:\\a\\b\\c.dat") ---- Original message ---- >Date: Tue, 9 May 2006 09:42:03 +0800 >From: ronggui <ronggui.huang at gmail.com> >Subject: Re: [R] read.table (Error in file(file, "r") : unable to open connection) >To: "David.Lowery at csiro.au" <David.Lowery at csiro.au> >Cc: r-help at stat.math.ethz.ch > >I guess you use R under windows,then use...
2006 Nov 23
2
writing character to a file in UTF-8
Dear lister, I would like to now if there a universal way to writing a character vector to a file in UTF-8 encoding? By " universal", I mean a way which works under Linux, Windows and Mac. Thanks in advance! -- Ronggui Huang Department of Sociology Fudan University, Shanghai, China
2006 Oct 20
2
how to replace the second "-"
I have a string vector like these: [1] "1-1-1" "1-1-2" "1-2-1" And I wanna replace the second "-" with "0", that is, I wanna get the result like: [1] "1-101" "1-102" "1-201". How should I write the Regular Expressions? Thanks! -- »ÆÈÙ¹ó Department of Sociology Fudan University [[alternative HTML version deleted]]
2008 May 12
1
Insert a recorde into a table using SQL
...sprintf("insert into dd (txt) values (\"%s\")",dd[1,1])) Error in sqliteExecStatement(con, statement, bind.data) : RS-DBI driver: (error in statement: unrecognized token: "")") How can I insert a (key, value) pair into a table by dbGetQuery? Thanks. -- HUANG Ronggui, Wincent Bachelor of Social Work, Fudan University, China Master of sociology, Fudan University, China Ph.D. Candidate, CityU of HK.
2008 Dec 12
1
How to mimic select.list using RGtk2/gWidgetsRGtk2?
...t;selected",value,env=h$action$env) dispose(x1) },action=list(env=ans)) ans } However, it doesn't behave as what I want. What I want is that: for {select(c("a","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.org/