[R] extract variance components

2008-08-28 Thread huang min
HI, I would like to extract the variance components estimation in lme function like a.fit<-lme(distance~age, data=aaa, random=~day/subject) There should be three variances \sigma_day, \sigma_{day %in% subject } and \sigma_e. I can extract the \sigma_e using something like a.fit$var. However, I

[R] choosing of CPU's to run R

2009-08-27 Thread huang min
Dear All, I am considering to buy a workstation. For the CPUs, I wonder whether anybody have the experience in choosing one for the R. Intel Xeon W3540 2.93 8MB/1066 QC CPU is much cheaper as compared with the Intel Xeon E5540 2.53 8MB/1066 QC CPU. However, its Hz 2.93 is bigger than 2.53. I won

Re: [R] choosing of CPU's to run R

2009-08-27 Thread huang min
at for certain. > > I hope that at least gives you a bit more information about them. Sorry I > cannot give a straightforward answer. > > Best, > > Joshua > > On Thu, Aug 27, 2009 at 1:00 AM, huang min wrote: > >> Dear All, >> >> I am considering to

Re: [R] 64 bit compiled version of R on windows

2009-07-27 Thread huang min
Did anybody try the REvolution R Enterprise 2.0? Is it worthwhile to buy for the 64bit windows OS? Thanks. Huang On Tue, Mar 31, 2009 at 2:43 AM, Duncan Murdoch wrote: > On 3/30/2009 12:46 PM, Vadlamani, Satish {FLNA} wrote: > >> Hi: >> 1) Does anyone have experience with 64 bit compiled version

[R] tuning parameter in lasso

2009-09-26 Thread huang min
Dear All, I understand in package lasso2 or lars, the default way to select the tuning parameter is the CV. How can I manually set the tuning parameter $\lambda$? I cannot figure out this according to the help file. Thank you. Huang [[alternative HTML version deleted]] _

Re: [R] Sweave, Texshop, and sync with included Rnw file

2013-01-17 Thread huang min
Anybody know if it is possible to use texshop and knitr with the sync working? I add a knitr engine but cannot sync. PS, I am comfortable with texshop but not RStudio. Huang On Fri, Jan 18, 2013 at 7:33 AM, michele caseposta wrote: > Hi, > I just updated R and patchDVI (from CRAN). > Now I can

Re: [R] How to handle Chinese character in R plot?

2012-10-11 Thread huang min
I think this only works when you already have a Chinese OS. Huang On Fri, Oct 12, 2012 at 11:01 AM, Jinsong Zhao wrote: > On 2012-10-12 10:16, Manish Gupta wrote: > >> Hi, >> >> I am working on Chinese language plot. >> >> But names and labels are in chinese language. How can i print chineese >

Re: [R] Is there a bisection method in R?

2010-09-10 Thread huang min
uniroot On Sat, Sep 11, 2010 at 6:10 AM, Gregory Gentlemen < gregory_gentle...@yahoo.ca> wrote: > Dear fellow R-users, > > Is there a function that does the bisection method? I was unable to find > one. > > Thanks in advance. > Gregory > > > >[[alternative HTML version deleted]] > > _

Re: [R] Binaries of R.12.0 for Windows: where are RGUI and Rterm ?

2010-10-16 Thread huang min
The download file is about 37mb. On Sat, Oct 16, 2010 at 4:24 PM, Prof Brian Ripley wrote: > The installer (unlike, say, the 2.12.0 RC version) seems to have been built > without 32-bit files (it is too small ... it should be ca 37Mb). > > Please try again once Duncan has had a chance to rebuild

Re: [R] Can't install Sweave

2010-12-11 Thread huang min
Sweave is not a package. It is a function which comes with the base R. Huang On Sat, Dec 11, 2010 at 9:07 PM, Rainer Schuermann < rainer.schuerm...@gmx.net> wrote: > Hi there! > > I tried to work with Sweave, assuming that it is part of the standard > installation - which it was not for my syste

Re: [R] editor for MacOS

2010-12-16 Thread huang min
Dear David, I also use the build-in editor and textwrangler. How can I get the syntax highlighting in textwrangler? Huang On Fri, Dec 17, 2010 at 12:02 AM, David L. Van Brunt, Ph.D. < dlvanbr...@gmail.com> wrote: > Frankly, the built-in R editor for OS X is far better than the built-in > editor

Re: [R] editor for MacOS

2010-12-17 Thread huang min
I tried Jonathan's applescript. It doesn't work too. For the R.plist, did you get the auto-completion etc? It seems only the syntax coloring works. Huang On Sat, Dec 18, 2010 at 5:27 AM, Gene wrote: > > I'm the original author of the R colorzing code for TextWrangler/BBEdit > mentioned by Stev

Re: [R] editor for MacOS

2010-12-17 Thread huang min
I use Textwrangler. I cannot find the option you mention. Huang On Sat, Dec 18, 2010 at 7:06 AM, Jonathan Marc Bearak < jonathan.bea...@gmail.com> wrote: > Are text completions turned on under BBEdit:Preferences:Editing--General? > > Jonathan > > On Dec 17, 2010, at 5:1

Re: [R] Rubin's rules of multiple imputation

2011-01-31 Thread huang min
It seems Prof. Lumley has moved to Auckland. On Mon, Jan 31, 2011 at 11:33 PM, John Fox wrote: > Dear Joe, > > Take a look at the mitools package, written by Thomas Lumley, who's a > faculty member at your university. > > Best, > John > > > John Fox > Senator Wi

Re: [R] extract variance components

2008-09-09 Thread huang min
the design matrix for the fixed effect by model.matrix(lme.fit2). How to deal with the parts for the random effects? Thank you. Huang On Fri, Aug 29, 2008 at 11:30 AM, huang min <[EMAIL PROTECTED]> wrote: > HI, > > I would like to extract the variance components estimation in lme

Re: [R] extract variance components

2008-09-10 Thread huang min
gain at help(getVarCov). > > > > Mark Lyman, Statistician > > ATK Launch Systems > > [EMAIL PROTECTED] > > *From:* huang min [mailto:[EMAIL PROTECTED] > *Sent:* Tuesday, September 09, 2008 10:02 PM > *To:* r-help@r-project.org > *Cc:* [EMAIL PROTECTED] >

[R] Sweave problem in Windows

2007-09-27 Thread huang min
Hi, I have searched the lists but still can not solve the problem. I am using a windows machine. After I sweave some Rnw file, I got a tex file. However, the tex file can not be compiled. I know the problem is in the line \usepackage{C:/PROGRA~1/R/R-25~1.1/share/texmf/Sweave} and I need to modify