Re: [R] problem with RGtk

2010-02-18 Thread Wincent
sRGtk2' could not be loaded > > ___ > > > Thank you very much in advance. I will appreciate very much any > suggestions. > > Anna Ogan > > __ > R-help@r-project

[R] [R-pkgs] RQDA 0.1-9 is on CRAN now

2010-03-01 Thread Wincent
ious bugfixes. As always, feedbacks and suggestions are more than welcome. Regars -- 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-pack

Re: [R] RGtk2:::gdkColorToString throws an error

2010-03-08 Thread Wincent
;, object, PACKAGE = "RGtk2") : >>  gdk_color_to_string exists only in Gdk >= 2.12.0 >> >> I know what it means, but don't know to solve this problem because I >> don't know where I can download the referred gdk library. Any >> information? Thank you.

Re: [R] RGtk2:::gdkColorToString throws an error

2010-03-15 Thread Wincent
#x27;ll >> ask >> Uwe about getting a newer version of GTK+. > > This actually is GTK+ > 2.12.0. > We can try to upgrade, but that tunred out to be not very easy in the past. > > Uwe > > >> >> On Mon, Mar 8, 2010 at 7:29 PM, Wincent  wrote: >> &

Re: [R] Loading workspaces from the command line

2010-03-16 Thread Wincent
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, s

Re: [R] SEM PACKAGE

2010-03-22 Thread Wincent
; 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. > > -- Wincent Ronggui HUANG Doctoral Candidate D

Re: [R] how to analyze repeated measures count data?

2010-03-22 Thread Wincent
oisson)? > > Regards, René > > __ > 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] Transform data set

2010-03-23 Thread Wincent
eatly appreciated! > > With kind regards, > Thomas > > __ > 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

[R] how to put two mosaic plots together

2010-04-08 Thread Wincent
I would like to put the two mosaic plots together, the first one at the left and the second one at the right. How can I do this? Thanks -- Wincent Rong-gui HUANG Doctoral Candidate Dept of Public and Social Administration City University of Hong Kong http://asrr.r-forge.r-project.org/rghuang.ht

Re: [R] predict.lm with NAs

2010-04-14 Thread Wincent
as > the empirical values (with NAs)? > > > thanks! > > __ > 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 > an

Re: [R] Serverless databases in R

2010-04-17 Thread Wincent
ilman/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. > -- Wincent Rong-gui HUANG Doctoral Candidate Dept of Public and Social Administration City University of Hong

[R] suggestion on method dispatch

2010-04-27 Thread Wincent
. To directly call a method is not a good coding style, right? Thanks very much for your suggestion in advance. -- Wincent Rong-gui HUANG Doctoral Candidate Dept of Public and Social Administration City University of Hong Kong http://asrr.r-forge.r-project.org/rghuang.html _

Re: [R] suggestion on method dispatch

2010-04-27 Thread Wincent
en use NextMethod as shown: > > fn <- function(x,...) UseMethod("fn") > > fn.default <- > fn.foo1 <- function(x, commonA=1, ...) { >        print("fn.foo1 is called.") > } > > fn.foo2 <- function(x, uniqueFoo2, common=1, ...){ >

Re: [R] some QCA questions

2010-04-27 Thread Wincent
__ > 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. > -- Wincent Rong-gui HUANG Do

[R] replace elements in a list

2010-04-29 Thread Wincent
to know if there is vectorized way (or other ways) to do it? Thanks -- Wincent Rong-gui 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.

Re: [R] replace elements in a list

2010-04-29 Thread Wincent
Thanks. On 30 April 2010 12:14, Erik Iverson wrote: > Wincent wrote: >> >> Dear all, I have a list like this:  l <- list(list(a=1,b=NULL), >> list(a=2,b=2)) >> I want to find out the elements with value of NULL and replace them with >> NA. >> The act

Re: [R] Learning R - View datasets

2009-11-27 Thread Wincent
__ > 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] Is R-2.10.0 released already

2009-12-01 Thread Wincent
> Hiroto Miyoshi > hiroto_miyo...@nexyzbb.ne.jp > > __ > 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 > an

Re: [R] Is SEM package of R suitable for sem analysis

2009-12-26 Thread Wincent
istinfo/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-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help

Re: [R] Is SEM package of R suitable for sem analysis

2009-12-27 Thread Wincent
tinfo/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-help@r-project.org mailing list > https://stat.ethz.ch/

[R] Visualization of coefficients

2010-07-01 Thread Wincent
Kolloquien/VisualisierungModellierung__Beitrag,property=file.pdf ) looks pretty good. I wonder if there is any function for such plot? Or any suggestion on how to present statistical models in a presentation? Thank you. -- Wincent Rong-gui HUANG Doctoral Candidate Dept of Public and Social Administration City Universi

Re: [R] Composing Music - R Package

2010-09-20 Thread Wincent
g-guide.html > and provide commented, minimal, self-contained, reproducible code. > -- Wincent Rong-gui HUANG Doctoral Candidate Dept of Public and Social Administration City University of Hong Kong http://asrr.r-forge.r-project.org/rghuang.html

[R] how to change strip text of effect plot

2011-01-11 Thread Wincent
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 __

Re: [R] how to change strip text of effect plot

2011-01-11 Thread Wincent
uot;medium", "high")) > mod.cowles <- glm(volunteer ~ sex+neuroticism*ex2,data=Cowles, > family=binomial) > eff.cowles <- allEffects(mod.cowles) > plot(eff.cowles, 'neuroticism:ex2',factor.names=F) > > Cheers, > > Josh > > On Tue, Jan 11, 2

[R] rJava question

2010-08-07 Thread Wincent
In a HTML file, a java applet can be launch by What is the equivalent rJava command(s) to do the same? Thank you Best -- Wincent Rong-gui HUANG Doctoral Candidate Dept of Public and Social Administration City University of Hong Kong http://asrr.r-forge.r-project.org/rghuang.html

Re: [R] Vermunt's LEM in R

2011-05-05 Thread Wincent
__ > 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. > -- Wincent Ronggui HUANG Sociology Department of F

Re: [R] Vermunt's LEM in R

2011-05-09 Thread Wincent
ermunt's LEM in R > From: i.vis...@uva.nl > To: ronggui.hu...@gmail.com > CC: jo...@hotmail.com; r-help@r-project.org > > poLCA is an option, as is randomLCA, flexmix, and depmixS4, and there are > likely to be more > What specific models are you interested in? > Best, Ingma

Re: [R] network package in R

2011-05-28 Thread Wincent
r-help > PLEASE do read the posting guide > http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > -- Wincent Ronggui HUANG Sociology Department of Fudan University PhD of City U

[R] help with restart

2010-05-05 Thread Wincent
occurs, I put R to sleep for say 60 seconds, and redo the readLines on the same link. I did some search and guess withCallingHandlers and withRestarts will do the trick. Yet, I didn't find much example on the usage of them. Can you give me some suggestions? Thanks. -- Wincent Rong-gui HUANG

Re: [R] R Statistical Package Installation

2011-03-05 Thread Wincent
on contains c...{{dropped:16}} > > __ > 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-co

Re: [R] Trojan in R 2.13.0?

2011-04-14 Thread Wincent
d, minimal, self-contained, reproducible code. > -- Wincent Ronggui HUANG Sociology Department of Fudan University PhD of City University of Hong Kong http://asrr.r-forge.r-project.org/rghuang.html __ R-help@r-project.org mailing list https://stat.et

Re: [R] odfWeave \ odfTable and encoding

2011-04-20 Thread Wincent
nue Claude Vellefaux > 75475 PARIS Cedex 10 > > Tel : +33 (0)1 42 49 97 48 > Sec : +33 (0)1 42 49 97 42 > Fax : +33 (0)1 42 49 97 45 > > >        [[alternative HTML version deleted]] > > > __ > R-help@r-project.org mailing

Re: [R] rJava Help

2011-04-25 Thread Wincent
ed > object file: No such file or directory > > > I would really appreciate if you could help me out in this regard. > > -- Wincent Ronggui HUANG Sociology Department of Fudan University PhD of City University of Hong Kong http://asrr.r-forge.r-project.org/rghuang.html _

[R] [R-pkgs] RQDA 0.2-2 has been released

2011-12-27 Thread Wincent
* export attribute items in pop-up menu * new function of codingBySearch, for auto-coding * new function of exportCodedFile * enhancement related to encoding * various bugfixes More can be found in the changelog. As always, comments, suggestions and contributions are highly welcome. Best -- Wincent

[R] Long command in Sweave

2012-04-13 Thread Wincent
ude",case="CASEID") It is longer than the width a page and part of it will become "missing". Currently, I have to manually break the command into multiple lines. Is there a better way to handle such issue? It seems that others have raised similar question which seems to remain

Re: [R] Long command in Sweave

2012-04-13 Thread Wincent
Thanks, Gavin and Duncan. In that case, what I need is a suitable editor which can break the command properly. All the best On 13 April 2012 19:33, Gavin Simpson wrote: > On Fri, 2012-04-13 at 17:46 +0800, Wincent wrote: >> Dear useRs, >> >> I am writing a vignette

[R] file path

2012-05-09 Thread Wincent
characters such as ? < >, unacceptable in Windows OS. What I do at this moment is to strip such characters off with gsub(). Is there any direct way to make legitimate file path without detailed knowledge about the naming rule specific to a OS? Best -- Wincent Ronggui HUANG Sociology Department of

Re: [R] file path

2012-05-09 Thread Wincent
Hmm, I don't think it gives what I want. For example, I assign a file name to f, > f <- "a?b.txt" > file.path("e:",f) [1] "e:/a?b.txt" The resultant character is not accepted as a file name by Windows OS. On 9 May 2012 20:32, Tal Galili wrote:

Re: [R] file path

2012-05-10 Thread Wincent
e to a specific location, > as in your example. > > steve > > -Original Message- > From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On > Behalf Of Wincent > Sent: Wednesday, May 09, 2012 11:15 AM > To: Tal Galili > Cc: r help > Subject: R

Re: [R] file path

2012-05-14 Thread Wincent
ot;. How can I do it with gsub() ? Thanks again. On 9 May 2012 22:40, Duncan Murdoch wrote: > On 09/05/2012 4:03 AM, Wincent wrote: >> >> Dear all, is there any function to assert whether a file path is >> legitimate, and to convert any potential file path to a legitimate

Re: [R] file path

2012-05-14 Thread Wincent
d file name depends on the OS and prior knowledge is needed. Best On 10 May 2012 20:53, jim holtman wrote: > Has any mentioned > > ?make.names > > On Thu, May 10, 2012 at 8:39 AM, Wincent wrote: >> As I said, the file name is derived automatically from text processing. >

Re: [R] file path

2012-05-14 Thread Wincent
Emm, my bad. I meant str <- "abc\d". Any ideas? On 14 May 2012 18:02, Baoqiang wrote: > This works on Mac: > > str <- "abc/d" > gsub("/", "", str) > > Return: > "abcd" > > > Sent from my iPhone > > On M

Re: [R] R Memory Issues

2012-05-20 Thread Wincent
Try memory.limit(92000) sent from my HTC On May 21, 2012 1:27 AM, "Emiliano Zapata" wrote: > -- Forwarded message -- > From: Emiliano Zapata > Date: Sun, May 20, 2012 at 12:09 PM > Subject: > To: R-help@r-project.org > > > Hi, > > I have a 64 bits machine (Windows) with a total