Re: [R] Vignettes do not appear on CRAN if files are placed in /vignette subdirectory - but they do appear if placed in /inst/doc

2013-06-30 Thread Søren Højsgaard
Yes, these packages are all installed. Søren -Original Message- From: Duncan Murdoch [mailto:murdoch.dun...@gmail.com] Sent: 1. juli 2013 01:59 To: Søren Højsgaard Cc: Martin Morgan; R hELP (r-h...@stat.math.ethz.ch) Subject: Re: [R] Vignettes do not appear on CRAN if files are placed in

Re: [R] Vignettes do not appear on CRAN if files are placed in /vignette subdirectory - but they do appear if placed in /inst/doc

2013-06-30 Thread Duncan Murdoch
On 13-06-30 7:54 PM, Søren Højsgaard wrote: gRbase use graph, RBGL and Rgraphviz from bioconductor. My understanding is that if I put vignettes into /vignettes then R CMD build will build the vignettes and put them into /inst/doc and this works: gRbase/inst/ gRbase/inst/CITATION gRbase/inst/do

Re: [R] Vignettes do not appear on CRAN if files are placed in /vignette subdirectory - but they do appear if placed in /inst/doc

2013-06-30 Thread Søren Højsgaard
gRbase use graph, RBGL and Rgraphviz from bioconductor. My understanding is that if I put vignettes into /vignettes then R CMD build will build the vignettes and put them into /inst/doc and this works: gRbase/inst/ gRbase/inst/CITATION gRbase/inst/doc/ gRbase/inst/doc/gRbase-arrayops1.R gRbase/i

Re: [R] Vignettes do not appear on CRAN if files are placed in /vignette subdirectory - but they do appear if placed in /inst/doc

2013-06-30 Thread Duncan Murdoch
On 13-06-30 5:28 PM, Søren Højsgaard wrote: Sorry, yes it is plural - but changing to plural has no effect. CRAN has had some problems building vignettes in cases where the vignette depends on packages that are not installed on CRAN. Could that be the problem? (They are working on fixing th

Re: [R] interpreting GLM results and plotting fits

2013-06-30 Thread Ista Zahn
Hi Robert, On Sun, Jun 30, 2013 at 1:40 AM, Robert Lynch wrote: > I am trying to interpret the output of GLM and I am not sure how it is > treating the factor GENDER with levels G-M and G-F. Probably using dummy codes (or "treatment contrasts" as useRs refer to them) unless you've changed the de

Re: [R] Vignettes do not appear on CRAN if files are placed in /vignette subdirectory - but they do appear if placed in /inst/doc

2013-06-30 Thread Søren Højsgaard
Sorry, yes it is plural - but changing to plural has no effect. Regards Søren -Original Message- From: Martin Morgan [mailto:mtmor...@fhcrc.org] Sent: 30. juni 2013 23:09 To: Søren Højsgaard Cc: R hELP (r-h...@stat.math.ethz.ch) Subject: Re: [R] Vignettes do not appear on CRAN if files ar

Re: [R] Vignettes do not appear on CRAN if files are placed in /vignette subdirectory - but they do appear if placed in /inst/doc

2013-06-30 Thread Martin Morgan
On 06/30/2013 01:31 PM, Søren Højsgaard wrote: Dear all, In my gRbase package there are 3 vignettes placed in the /vignette subdirectory. These vignettes do not appear on http://cran.r-project.org/web/packages/gRbase/index.html and neither do they appear if I open a browser with help("gRbase")

[R] Vignettes do not appear on CRAN if files are placed in /vignette subdirectory - but they do appear if placed in /inst/doc

2013-06-30 Thread Søren Højsgaard
Dear all, In my gRbase package there are 3 vignettes placed in the /vignette subdirectory. These vignettes do not appear on http://cran.r-project.org/web/packages/gRbase/index.html and neither do they appear if I open a browser with help("gRbase"). However, if instead I place the vignettes in

Re: [R] Help: argument is not numeric or logical: returning NA

2013-06-30 Thread arun
Hi, One problem with your example dataset is that you have 11 list elements with the last one having different dimensions.  I think it was based on `summarized`. Then, the second problem I encountered for testing is that the dataset you provided doesn't fulfill the criteria. lst1<- list(structur

Re: [R] Lexical scoping is not what I expect

2013-06-30 Thread David Winsemius
On Jun 30, 2013, at 5:35 AM, Duncan Murdoch wrote: > On 13-06-29 11:58 PM, Greg Snow wrote: >> If you want to write really confusing code it is possible to do: >> >> `1` <- 2 >> >> `1` + 1 >> >> and things like that, but it is probably a good idea not to. > > This is actually pretty simple, a

Re: [R] 2SLS / TSLS / SEM non-linear

2013-06-30 Thread hck
Dear Arne Generally I would have the following equations X_i = IV3_i + IV4_i * Y_i applying for every company (i). In a first step, I am interested in estimating the relationship between X and Y: Y_i = a + b * X_i + u to ultimatly estimate X_i by substituting the Y_i and solving for X_i to be able

Re: [R] Weighted SUR/NSUR

2013-06-30 Thread Arne Henningsen
Dear Tarquinio On 29 Jun 2013 21:01, "Tarquinio magalhaes" wrote: > Is it possible > to run SUR with weights using systemfit? I mean weighted seemingly unrelated > regression (weighted SUR) Currently, systemfit cannot estimate (SUR) models with observation-specific weights :-( > or weighted non

Re: [R] 2SLS / TSLS / SEM non-linear

2013-06-30 Thread Arne Henningsen
Dear HC On 30 Jun 2013 13:02, "hck" wrote: > I started having a look into the systemfit. > > Basically, my two equations are: > > 1. Y = IV1 + IV2 x X > 2. Y = a + b x X + u > > where Y and X are the two endogenous variables, IV1 and IV2 are the > instruments, and u is the error term. I do not u

Re: [R] Lexical scoping is not what I expect

2013-06-30 Thread Duncan Murdoch
On 13-06-29 11:58 PM, Greg Snow wrote: If you want to write really confusing code it is possible to do: `1` <- 2 `1` + 1 and things like that, but it is probably a good idea not to. This is actually pretty simple, as the White Knight could tell you. `1` is what the name of 2 is called. Th

Re: [R] 2SLS / TSLS / SEM non-linear

2013-06-30 Thread hck
Thank you John and Paul, I started having a look into the systemfit. Basically, my two equations are: 1. Y = IV1 + IV2 x X 2. Y = a + b x X + u where Y and X are the two endogenous variables, IV1 and IV2 are the instruments, and u is the error term. -- View this message in context: http://r

Re: [R] Lexical scoping is not what I expect

2013-06-30 Thread Rolf Turner
On 30/06/13 15:58, Greg Snow wrote: If you want to write really confusing code it is possible to do: `1` <- 2 `1` + 1 and things like that, but it is probably a good idea not to. Fortune? cheers, Rolf __ R-help@r-project.org mailing