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 ezapata...@gmail.com wrote: -- Forwarded message -- From: Emiliano Zapata ezapata...@gmail.com Date: Sun, May 20, 2012 at 12:09 PM Subject: To: R-help@r-project.org Hi, I have a 64 bits

Re: [R] file path

2012-05-14 Thread Wincent
() ? Thanks again. On 9 May 2012 22:40, Duncan Murdoch murdoch.dun...@gmail.com 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 file path? I automate a batch of files

Re: [R] file path

2012-05-14 Thread Wincent
knowledge is needed. Best On 10 May 2012 20:53, jim holtman jholt...@gmail.com wrote: Has any mentioned ?make.names On Thu, May 10, 2012 at 8:39 AM, Wincent ronggui.hu...@gmail.com wrote: As I said, the file name is derived automatically from text processing. Thanks all the same. On 10 May

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 bqcaom...@gmail.com wrote: This works on Mac: str - abc/d gsub(/, , str) Return: abcd Sent from my iPhone On May 14, 2012, at 4:28 AM, Wincent ronggui.hu...@gmail.com wrote: Thanks for the suggestion

Re: [R] file path

2012-05-10 Thread Wincent
to write 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: Re: [R] file path Hmm, I don't think

[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 Fudan

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 tal.gal...@gmail.com wrote: Hi Wincent, Have a look

[R] Long command in Sweave

2012-04-13 Thread Wincent
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 unsolved in a satisfactory fashion. Thanks for your kind attention in advance. -- Wincent Ronggui HUANG Sociology Department

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 gavin.simp...@ucl.ac.uk wrote: On Fri, 2012-04-13 at 17:46 +0800, Wincent wrote: Dear useRs, I am writing a vignette

[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

Re: [R] network package in R

2011-05-28 Thread Wincent
, 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 [[alternative HTML version deleted]] __ R-help@r

Re: [R] Vermunt's LEM in R

2011-05-09 Thread Wincent
...@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, Ingmar On Fri, May 6, 2011 at 6:13 AM, Wincent ronggui.hu...@gmail.com wrote: I guess LEM

Re: [R] Vermunt's LEM in R

2011-05-05 Thread Wincent
://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 Fudan University PhD of City University of Hong Kong http://asrr.r

Re: [R] rJava Help

2011-04-25 Thread Wincent
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-help@r-project.org

Re: [R] odfWeave \ odfTable and encoding

2011-04-20 Thread Wincent
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 University of Hong Kong http://asrr.r-forge.r-project.org/rghuang.html

Re: [R] Trojan in R 2.13.0?

2011-04-14 Thread Wincent
. -- 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.ethz.ch/mailman/listinfo/r-help PLEASE do read

Re: [R] R Statistical Package Installation

2011-03-05 Thread Wincent
://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 Fudan University PhD of City University of Hong Kong http

[R] how to change strip text of effect plot

2011-01-11 Thread Wincent
) 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 __ R-help@r-project.org mailing list

Re: [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) Cheers, Josh On Tue, Jan 11, 2011 at 7:21 PM, Wincent ronggui.hu...@gmail.com wrote: Dear r heper, How can I change the strip text, for example (16,23] in the following example

Re: [R] Composing Music - R Package

2010-09-20 Thread Wincent
-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-help@r-project.org mailing list https://stat.ethz.ch

[R] rJava question

2010-08-07 Thread Wincent
In a HTML file, a java applet can be launch by applet code=xx.xxx.class name=Applet archive=example.jar align=top height=600 width=800 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

[R] Visualization of coefficients

2010-07-02 Thread Wincent
/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 University of Hong

[R] help with restart

2010-05-05 Thread Wincent
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 Doctoral Candidate Dept of Public and Social Administration City University of Hong Kong http://asrr.r

[R] replace elements in a list

2010-04-29 Thread Wincent
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.org

Re: [R] replace elements in a list

2010-04-29 Thread Wincent
Thanks. On 30 April 2010 12:14, Erik Iverson er...@ccbr.umn.edu 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 actual case has a very long list, so manually

[R] suggestion on method dispatch

2010-04-27 Thread Wincent
. -- 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.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do

Re: [R] suggestion on method dispatch

2010-04-27 Thread Wincent
, uniqueFoo2, common=1, ...){        NextMethod(fn, x = uniqueFoo2) } y -  y; class(y) - foo2 fn(x=y, unique argument) On Tue, Apr 27, 2010 at 10:40 AM, Wincent ronggui.hu...@gmail.com wrote: Dear all, I have define a function  and its methods as follows: beginning of code fn - function(x

Re: [R] some QCA questions

2010-04-27 Thread Wincent
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 Kong http://asrr.r-forge.r-project.org/rghuang.html

Re: [R] Serverless databases in R

2010-04-17 Thread Wincent
-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 Kong http://asrr.r-forge.r

Re: [R] predict.lm with NAs

2010-04-14 Thread Wincent
)? 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 and provide commented, minimal, self-contained, reproducible code. -- Wincent

[R] how to put two mosaic plots together

2010-04-08 Thread Wincent
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.html [[alternative HTML

Re: [R] Transform data set

2010-03-23 Thread Wincent
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 Dept of Public and Social Administration City

Re: [R] SEM PACKAGE

2010-03-22 Thread Wincent
/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 Dept of Public and Social Administration City University of Hong Kong http://asrr.r-forge.r

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

2010-03-22 Thread Wincent
-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 Dept of Public and Social

Re: [R] Loading workspaces from the command line

2010-03-16 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 Dept

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

2010-03-15 Thread Wincent
to solve this problem because 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] RGtk2:::gdkColorToString throws an error

2010-03-08 Thread Wincent
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. -- HUANG Ronggui, Wincent Doctoral Candidate Dept of Public and Social Administration City University of Hong Kong

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

2010-03-01 Thread Wincent
, 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-packages mailing list r-packa

Re: [R] problem with RGtk

2010-02-18 Thread Wincent
-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 Dept of Public and Social

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

2009-12-27 Thread Wincent
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 Dept of Public and Social Administration City University of Hong Kong http://asrr.r-forge.r-project.org

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

2009-12-26 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 Dept of Public

Re: [R] Is R-2.10.0 released already

2009-12-01 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 Dept

Re: [R] Learning R - View datasets

2009-11-27 Thread Wincent
://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 Dept of Public and Social Administration City University of Hong Kong http