Re: [Rd] model.matrix() may be misleading for "lme" models

2024-09-23 Thread John Fox
t 3:54 PM Ivan Krylov via R-devel wrote: В Sun, 22 Sep 2024 10:23:50 -0400 John Fox пишет: Evaluating object$call$data in the environment of the suggested nlme:::model.matrix.lme function may also not work right. Without an explicit copy of the data, the best environment to evaluate it in

Re: [Rd] model.matrix() may be misleading for "lme" models

2024-09-22 Thread John Fox
ernal email. Dear Prof. John Fox, В Sat, 21 Sep 2024 12:47:49 -0400 John Fox пишет: NextMethod(formula(object), data=eval(object$call$data), contrasts.arg=object$contrasts) The use of NextMethod worries me a bit. It will work as intended as long as everyone gives

Re: [Rd] model.matrix() may be misleading for "lme" models

2024-09-21 Thread John Fox
49 p.m., John Fox wrote: Caution: External email. Dear r-devel list members, I'm posting this message here because it concerns the nlme package, which is maintained by R-core. The problem I'm about to describe is somewhere between a bug and a feature request, and so I thought it a good

[Rd] model.matrix() may be misleading for "lme" models

2024-09-20 Thread John Fox
attice_0.22-6 - snip - Although this apparently solves the problem for car::Anova(), the problem is likely more general. For example, insight::get_modelmatrix() also reports the wrong model matrix for the "lme" model m above. My suggestion

Re: [Rd] Strange Behavior in RNG

2024-08-16 Thread John Fox
I hope this helps, John -- John Fox, Professor Emeritus McMaster University Hamilton, Ontario, Canada web: https://www.john-fox.ca/ -- On 2024-08-16 8:45 p.m., Jiefei Wang wrote: Caution: External email. Hi, I just observed a strange behavior in R. The rnorm function does not give me the n

Re: [Rd] On read.csv and write.csv

2021-07-01 Thread John Fox
cause the column names to be misaligned. As others have pointed out, .csv files are meant as a sort of least-common-denominator of data exchange, and so following the standard is probably a good idea. Best, John John Fox, Professor Emeritus McMaster University Hamilton, Ontario, Canada

Re: [Rd] Graphical User Interface (GUI)

2015-07-08 Thread John Fox
< http://www.r-project.org/doc/Rnews/Rnews_2007-3.pdf > and the Journal of Statistical Software <http://www.jstatsoft.org/v49/i07>. Best, John ------- John Fox, Professor McMaster University Hamilton, Ontario, Canada http://socs

Re: [Rd] RFC: Declaring "foo.bar" as nonS3method() ?!

2015-06-13 Thread John Fox
>> method, it might be masked by the one in effects. > >> > >> Duncan Murdoch > >> > >>> > >>> Hadley > >>> > >>> On Fri, Jun 12, 2015 at 6:52 AM, Kurt Hornik > wrote: > >&g

Re: [Rd] RFC: Declaring "foo.bar" as nonS3method() ?!

2015-06-12 Thread John Fox
be treated as a regular R > > function. > > > I would very much like such a feature in R, and for that reason, > > I'm cross posting this (as one of the famous exceptions that > > accompany real-life rules!!) to R-devel. > > and actually I di

Re: [Rd] problem with update.packages() in R-Devel (3.2.0) on Windows

2015-01-27 Thread John Fox
Dear Dan and Henrik, Yes -- thanks. I discovered that earlier today. Best, John > -Original Message- > From: R-devel [mailto:r-devel-boun...@r-project.org] On Behalf Of Dan > Tenenbaum > Sent: January-27-15 1:25 PM > To: Henrik Bengtsson > Cc: John Fox; R-devel

[Rd] problem with update.packages() in R-Devel (3.2.0) on Windows

2015-01-26 Thread John Fox
.packages("zoo") trying URL 'http://cran.utstat.utoronto.ca/bin/windows/contrib/3.2/zoo_1.7-11.zip' Content type 'application/zip' length 878614 bytes (858 KB) opened URL downloaded 858 KB package 'zoo' successfully unpacked and MD5 sums checked Th

Re: [Rd] strange behavior for RcmdrPlugin.qual

2013-09-16 Thread John Fox
ge...@uhd.edu<mailto:hodge...@uhd.edu> > > > [[alternative HTML version deleted]] > > __ > R-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel John Fox McMaster University Hamilton, Onta

Re: [Rd] declaring package dependencies

2013-09-13 Thread John Fox
Dear Duncan and Michael, > -Original Message- > From: r-devel-boun...@r-project.org [mailto:r-devel-bounces@r- > project.org] On Behalf Of Duncan Murdoch > Sent: Friday, September 13, 2013 9:51 AM > To: Michael Friendly > Cc: r-devel > Subject: Re: [Rd] declaring package dependencies > >

Re: [Rd] legitimate use of :::

2013-08-26 Thread John Fox
Dear Duncan, > -Original Message- > From: r-devel-boun...@r-project.org [mailto:r-devel-bounces@r- > project.org] On Behalf Of Duncan Murdoch > Sent: Monday, August 26, 2013 2:24 PM > To: Benjamin Hofner > Cc: r-devel@r-project.org > Subject: Re: [Rd] legitimate use of ::: > > On 26/08/20

Re: [Rd] legitimate use of :::

2013-08-22 Thread John Fox
Dear Gray, On Thu, 22 Aug 2013 19:41:58 -0500 Gray wrote: > Peter Meilstrup: (05:01PM on Thu, Aug 22) > >One most often encounters namespace conflicts at the user level, when > >loading two packages that have no logical connection other than both > >bearing on your problem of the moment. > > Un

Re: [Rd] legitimate use of :::

2013-08-22 Thread John Fox
Dear Peter, > -Original Message- > From: r-devel-boun...@r-project.org [mailto:r-devel-bounces@r- > project.org] On Behalf Of peter dalgaard > Sent: Thursday, August 22, 2013 4:45 PM > To: Michael Friendly > Cc: R-devel; Uwe Ligges > Subject: Re: [Rd] legitimate use of ::: > > > On Aug 2

Re: [Rd] legitimate use of :::

2013-08-22 Thread John Fox
kage unexported utility > functions > that don't pass Uwe's iff test, but I, as maintainer, > want to use in my package. > > Cases in point: in heplots, I had used stats:::Pillai, stats:::Wilks, > stats:::Roy and stats:::LH for calculation in one of my functions. >

Re: [Rd] package file permissions problem R 3.0.0/Windows OS

2013-04-15 Thread John Fox
is unique to me, I can certainly work around it. I know that it's hard to diagnose this kind of problem long-distance via email. Best, John On Mon, 15 Apr 2013 20:19:21 +0100 Prof Brian Ripley wrote: > On 15/04/2013 14:11, John Fox wrote: > > Dear Brian, > > > > On Mon,

Re: [Rd] package file permissions problem R 3.0.0/Windows OS

2013-04-15 Thread John Fox
, which is first on my path. I don't have Cygwin installed on this machine independently of Rtools. What's curious to me is that I'm seeing the problem on two different Windows system but, AFAIK, no one else has experienced a similar problem. Thanks for your help, John > >

Re: [Rd] nobs() with glm(family="poisson")

2013-02-27 Thread John Fox
Dear Milan and Steven, At the risk of muddying the water further, I think that the potential confusion here is that Poisson GLMs are applied in two formally equivalent but substantively different situations: (1) where the counts are cells in a contingency table, in which case the Poisson GLM is

Re: [Rd] Private environments and/or assignInMyNamespace

2013-02-13 Thread John Fox
n() > instead of errorCondition(), so that the dialog is left as-is. To tell > the user that something is wrong, you can use Message(), or show an > error dialog or a label in the original dialog right before calling > return(). This is the simplest solution and it does not require any >

Re: [Rd] Regression stars

2013-02-07 Thread John Fox
Dear Frank, I'd like to second your implicit motion to make options(show.signif.stars=FALSE) the default. Thanks for raising this point. John On Thu, 7 Feb 2013 05:32:04 -0800 (PST) Frank Harrell wrote: > Today's GNU R tutorial in > http://how-to.linuxcareer.com/a-quick-gnu-r-tutorial-to-sta

Re: [Rd] Declaring/importing non-exported functions [car] in another package

2013-01-16 Thread John Fox
t; > Questions: > > 1. Why doesn't this work? > > I think you misread the manual. It is talking about ways to access functions > other than by using importFrom. You can use car:::df.terms in your functions. > > > 2. Is my only alternative to

Re: [Rd] contr.sum() and contrast names

2012-10-30 Thread John Fox
Hi Milan, On Tue, 30 Oct 2012 10:25:56 +0100 Milan Bouchet-Valat wrote: > Le samedi 27 octobre 2012 à 10:44 -0400, John Fox a écrit : > > Hi Milan, > > > > Take a look at the contr.Sum() and contr.Treatment() functions in the > > car package. > Yeah, this is the

Re: [Rd] contr.sum() and contrast names

2012-10-27 Thread John Fox
Hi Milan, Take a look at the contr.Sum() and contr.Treatment() functions in the car package. (I recall, BTW, the sometimes acrimonious previous discussion of this issue.) Best, John John Fox Sen. William McMaster Prof. of Social Statistics

Re: [Rd] if(--as-cran)?

2012-09-04 Thread John Fox
Dear all, I'd like to second this fairly simple request. I currently enclosed some of the examples in the effects package in \donttest{} blocks to satisfy the CRAN timing requirements for examples. It would be nice to have something like a \donttestcran{} block that suppresses the tests when --as-

Re: [Rd] globalVariables()

2012-06-24 Thread John Fox
bals) globals <- sub(" *$", "", globals) whichentries <- which(grepl(":", globals)) if (length(whichentries > 1)) globals <- globals[-whichentries] globals <- gsub(".* ", "", globals) globals <- unique(globals) cmd <- paste(&

[Rd] globalVariables()

2012-06-23 Thread John Fox
ommander.done' is in the call to globalVariables(): - snip * checking R code for possible problems ... NOTE Commander: no visible binding for '<<-' assignment to '.commander.done' (C:/Users/John Fox/workspace/Rcmdr/R/commander.R:653) clos

[Rd] using predict() with poly(x, raw=TRUE)

2012-03-14 Thread John Fox
maintaining a local version of poly(), but why should it not be possible to get predictions under these circumstances? Best, John John Fox Senator William McMaster Professor of Social Statistics Department of Sociology Mc

Re: [Rd] need gui matrix editor: does R Core team have advice on how?

2012-01-28 Thread John Fox
ster.ca/jfox/Misc/Rcmdr/installation-notes.html>. I hope this helps, John -------- John Fox Senator William McMaster Professor of Social Statistics Department of Sociology McMaster University Hamilton, Ontario, Canada http://socserv.mcmaster.ca/jfox > -Original

Re: [Rd] How to deal with package conflicts

2011-11-27 Thread John Fox
the survey package under Suggests. Best, John > -Original Message- > From: r-devel-boun...@r-project.org [mailto:r-devel-bounces@r- > project.org] On Behalf Of John Fox > Sent: November-25-11 11:47 AM > To: 'Michael Friendly' > Cc: 'Terry Therneau'; r-dev

Re: [Rd] How to deal with package conflicts

2011-11-25 Thread John Fox
Therneau > Cc: r-devel@r-project.org; John Fox; Duncan Murdoch > Subject: Re: [Rd] How to deal with package conflicts > > On 11/25/2011 9:10 AM, Terry Therneau wrote: > > The ridge() function was put into the survival package as a simple > > example of what a user

Re: [Rd] parallel::mclapply() dummy function on Windows?

2011-10-08 Thread John Fox
Dear Brian, > -Original Message- > From: Prof Brian Ripley [mailto:rip...@stats.ox.ac.uk] > Sent: October-08-11 9:57 AM > To: John Fox > Cc: 'Martin Morgan'; ttri...@usc.edu; 'r-devel' > Subject: RE: [Rd] parallel::mclapply() dummy function on Wind

Re: [Rd] parallel::mclapply() dummy function on Windows?

2011-10-08 Thread John Fox
ows") base::lapply else parallel::mclapply in his package? Best, John > -Original Message- > From: r-devel-boun...@r-project.org [mailto:r-devel-boun...@r-project.org] On > Behalf Of Martin Morgan > Sent: October-08-11 8:16 AM > To: John Fox > Cc: ttri...@usc.edu; &#x

Re: [Rd] parallel::mclapply() dummy function on Windows?

2011-10-07 Thread John Fox
Dear Tim, > -Original Message- > From: r-devel-boun...@r-project.org [mailto:r-devel-boun...@r-project.org] On > Behalf Of Tim Triche, Jr. > Sent: October-07-11 3:05 PM > To: Prof Brian Ripley > Cc: r-devel > Subject: Re: [Rd] parallel::mclapply() dummy function on Windows? > > On Thu, Oc

Re: [Rd] testing a Windows custom installer

2011-07-20 Thread John Fox
h [mailto:murdoch.dun...@gmail.com] > Sent: July-20-11 10:57 AM > To: John Fox > Cc: R-devel@r-project.org > Subject: Re: [Rd] testing a Windows custom installer > > On 20/07/2011 10:29 AM, John Fox wrote: > > Dear R-devel list members, > > > > For several years, I&#x

[Rd] testing a Windows custom installer

2011-07-20 Thread John Fox
installed, but that's inconvenient (and, as R proliferates will, I hope, become impossible!). Is there a better approach? Thanks, John -------- John Fox Senator William McMaster Professor of Social Statistics Department of Sociology McMaster University Hamilton,

Re: [Rd] Standardized Pearson residuals

2011-03-17 Thread John Fox
or Statistics, Copenhagen Business > >> School Solbjerg Plads 3, 2000 Frederiksberg, Denmark > >> Phone: (+45)38153501 Email: pd@cbs.dk Priv: > >> pda...@gmail.com > > > >> __ > >> R-devel@r-pro

Re: [Rd] coxph and drop1

2011-03-14 Thread John Fox
values isn't supplied. Best, John -------- John Fox Sen. William McMaster Prof. of Social Statistics Department of Sociology McMaster University Hamilton, Ontario, Canada http://socserv.mcmaster.ca/jfox/ On Mon, 14 Mar 2011 11:42:04 -0500 Terry Th

Re: [Rd] Problem with confint function

2011-02-11 Thread John Fox
rvals on the likelihood is more computationally intensive but should be more accurate. I hope this helps, John John Fox Senator William McMaster Professor of Social Statistics Department of Sociology McMaster University Hamilton, Ontario, Canada

Re: [Rd] scoping/non-standard evaluation issue

2011-01-05 Thread John Fox
lot of code. It would seem desirable, though, for mod.1 and mod.2 to behave the same. Best, John > -Original Message- > From: peter dalgaard [mailto:pda...@gmail.com] > Sent: January-05-11 10:51 AM > To: John Fox > Cc: 'Gabor Grothendieck'; 'Sanford Weisbe

Re: [Rd] scoping/non-standard evaluation issue

2011-01-05 Thread John Fox
Dear Gabor, I used str() to look at the two objects but missed the difference that you found. What I didn't quite understand was why one model worked but not the other when both were defined at the command prompt in the global environment. Thanks, John Joh

Re: [Rd] scoping/non-standard evaluation issue

2011-01-05 Thread John Fox
Dear Peter, I played around a bit with your suggestion but wasn't able to get it to work. Thanks for this. John John Fox Senator William McMaster Professor of Social Statistics Department of Sociology McMaster University Hamilton, Ontario, Canad

Re: [Rd] scoping/non-standard evaluation issue

2011-01-04 Thread John Fox
Dear all, A small correction: I had a stray line in my f2(), env <- new.env(parent=.GlobalEnv) left over from yet another attempt; it can simply be removed. Sorry for the confusion, John ---- John Fox Senator William McMaster Professor of Soc

[Rd] scoping/non-standard evaluation issue

2011-01-04 Thread John Fox
394e-03 6.909e-02-3.971e-03-8.595e-03 Population Year 1.164e+00-1.911e+00 - snip --- The problem with f1() is that it will clobber a variable named .subs in the global environment; the problem with f2() is that .subs can be masked by a variable in t

Re: [Rd] Building a custom Windows installer

2010-07-14 Thread John Fox
Dear Brian, > -Original Message- > From: Prof Brian Ripley [mailto:rip...@stats.ox.ac.uk] > Sent: July-14-10 3:15 AM > To: John Fox > Cc: r-devel@r-project.org > Subject: Re: [Rd] Building a custom Windows installer > > John, > > It is not clear to me w

[Rd] Building a custom Windows installer

2010-07-13 Thread John Fox
adding MD5 checksums perl JRins.pl R-2.11.1 c:/temp/R-2.11.1 1 1 0 R-core "/iscc" R.iss > myR.log /iscc: not found make: *** [myR] Error 127 --- snip --- Any help would be appreciated. John John Fox Senator William McMaster Profess

Re: [Rd] problem with Rcmdr Plugins

2010-04-25 Thread John Fox
he same is true of tseries, abind, and MASS. I hope this helps, John -------- John Fox Senator William McMaster Professor of Social Statistics Department of Sociology McMaster University Hamilton, Ontario, Canada web: socserv.mcmaster.ca/jfox > -Original Messag

Re: [Rd] a side note to the Rcmdr issue

2010-04-25 Thread John Fox
Dear Erin, Unlike in previous version of R for Windows, the package list is alphabetized with uppercase letters preceding lowercase letters. Thus look under uppercase "R" and then lowercase "c". Regards, John -------- John Fox Senator William McMa

Re: [Rd] R CMD check tells me 'no visible binding for globalvariable ', what does it mean?

2010-04-16 Thread John Fox
hat works correctly and that I don't know how to rewrite to get rid of the notes -- not to say that it would necessarily be impossible to do so. Eliminating all packages that produce R CMD check notes from CRAN is not a good idea, in my opinion. Best, John -------

Re: [Rd] Why is there no c.factor?

2010-02-04 Thread John Fox
Dear Thomas and Hadley, I'd propose the following: If the sets of levels of all arguments are the same, then c.factor() would return a factor with the common set of levels; if the sets of levels differ, then, as Hadley suggests, the level-set of the result would be the union of sets of levels of t

Re: [Rd] Request: bring back windows chm help support (PR#14034)

2009-11-02 Thread John Fox
Dear Alexios and Duncan, I think that there's one more thing to be said in favour of chm help, and that's that its format is familiar to Windows users. I've been using html help on Windows myself for a long time, but before R 2.10.0 recommended chm help to new Windows users of R. That said, I expe

Re: [Rd] Rcmdr package dependencies

2009-09-22 Thread John Fox
Dear Seth, > -Original Message- > From: Seth Falcon [mailto:s...@userprimary.net] > Sent: September-22-09 5:13 PM > To: Uwe Ligges > Cc: John Fox; r-devel@r-project.org > Subject: Re: [Rd] Rcmdr package dependencies > > * On 2009-09-22 at 20:16 +0200 Uwe Ligges wr

Re: [Rd] Rcmdr package dependencies

2009-09-22 Thread John Fox
separate RcmdrInstall package or advise users to install the Rcmdr itself with dep=TRUE. Best, John > -Original Message- > From: Gabor Grothendieck [mailto:ggrothendi...@gmail.com] > Sent: September-22-09 3:09 PM > To: John Fox > Cc: r-devel@r-project.org > Subject: Re:

Re: [Rd] Rcmdr package dependencies

2009-09-22 Thread John Fox
and avoid the recursive installation of suggested packages. Maybe the idea is a good one after all. Thank you, John > -Original Message- > From: Gabor Grothendieck [mailto:ggrothendi...@gmail.com] > Sent: September-22-09 2:32 PM > To: John Fox > Cc: r-devel@r-project.org >

Re: [Rd] Rcmdr package dependencies

2009-09-22 Thread John Fox
Dear Uwe, > -Original Message- > From: Uwe Ligges [mailto:lig...@statistik.tu-dortmund.de] > Sent: September-22-09 2:17 PM > To: John Fox > Cc: r-devel@r-project.org > Subject: Re: [Rd] Rcmdr package dependencies > > > > John Fox wrote: > > De

[Rd] Rcmdr package dependencies

2009-09-22 Thread John Fox
nder whether I've missed something. Is there a way for me to arrange the Rcmdr package dependencies so that only the necessary packages (those currently listed under both "depends" and "suggests" and the packages on which they "depend") are installed along

Re: [Rd] Display image in tcl/tk information window: path to file ?

2009-09-17 Thread John Fox
(package="Rcmdr")[1], "etc"). I hope this helps, John ---------- John Fox, Professor Department of Sociology McMaster University Hamilton, Ontario, Canada web: socserv.mcmaster.ca/jfox > -Original Message- > From: r-devel-boun...@r-project.org

Re: [Rd] R 2.10.0 devel package check error

2009-08-27 Thread John Fox
u for the information (and the admonishment). John > -Original Message- > From: Prof Brian Ripley [mailto:rip...@stats.ox.ac.uk] > Sent: August-27-09 11:53 AM > To: John Fox > Cc: r-devel@r-project.org > Subject: Re: [Rd] R 2.10.0 devel package check error > >

[Rd] R 2.10.0 devel package check error

2009-08-27 Thread John Fox
, Autoloads, package:base - snip --- The offending package, Rcmdr 2.5-0, is available on R-Forge. Any help would be appreciated. Thanks, John -- John Fox, Professor Department of Sociology McMaster University Hamilton, Ontario, Canada web: so

Re: [Rd] crash after using graphics in Rcmdr (PR#13679)

2009-04-30 Thread John Fox
Dear Neil, I had R 2.8.0 installed on my Mac Book, also with OS X 10.5.6, and was unable to duplicate this problem. I then installed R 2.9.0 and observed the same problem that you did. In both cases, I used the latest version of the Rcmdr package, 1.4-10. I also observed the following: (1) The p

[Rd] wish list: automatic package installation

2009-04-18 Thread John Fox
s (perhaps if an option is set). Regards, John ------ John Fox, Professor Department of Sociology McMaster University Hamilton, Ontario, Canada web: socserv.mcmaster.ca/jfox __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] plot.lm: "Cook's distance" label can overplot point labels

2009-02-20 Thread John Fox
ty of perceptual problems. Regards, John > -Original Message- > From: Thomas Lumley [mailto:tlum...@u.washington.edu] > Sent: February-20-09 4:32 AM > To: John Fox > Cc: 'John Maindonald'; 'Prof Brian Ripley'; r-devel@r-project.org; 'Martin > Maechle

Re: [Rd] plot.lm: "Cook's distance" label can overplot point labels

2009-02-19 Thread John Fox
ohn.maindon...@anu.edu.au] > Sent: February-19-09 2:54 AM > To: Prof Brian Ripley > Cc: John Fox; r-devel@r-project.org; 'Martin Maechler' > Subject: Re: [Rd] plot.lm: "Cook's distance" label can overplot point labels > > Actually, the contours and the s

Re: [Rd] plot.lm: "Cook's distance" label can overplot point labels

2009-02-18 Thread John Fox
Dear John, > -Original Message- > From: John Maindonald [mailto:john.maindon...@anu.edu.au] > Sent: February-18-09 4:57 PM > To: John Fox > Cc: 'Martin Maechler'; r-devel@r-project.org > Subject: Re: [Rd] plot.lm: "Cook's distance" label can o

Re: [Rd] plot.lm: "Cook's distance" label can overplot point labels

2009-02-17 Thread John Fox
Dear John, It occurs to me that the title above the graph, "Residuals vs. Leverage," is entirely redundant since the x-axis is labelled "Leverage" and the y-axis "Studentized residuals." Why not use the title above the graph for "Cook's distance countours"? Regards, John > -Original Message

Re: [Rd] possible tcltk event loop problem

2008-11-03 Thread John Fox
Dear Peter, > -Original Message- > From: Peter Dalgaard [mailto:[EMAIL PROTECTED] > Sent: November-03-08 4:58 PM > To: John Fox > Cc: r-devel@r-project.org; 'Richard M. Heiberger'; 'Erich Neuwirth'; 'Prof > Brian Ripley'; 'Duncan M

[Rd] possible tcltk event loop problem

2008-11-03 Thread John Fox
Message <- function(message, type=c("note", "error", "warning")){ Sys.sleep(0.01) .message <- MessagesWindow() if (!missing(message)) { tkinsert(.message, "end", paste("\n", message, "\n"

Re: [Rd] R CMD INSTALL problem

2008-10-21 Thread John Fox
ction. John > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On > Behalf Of Deepayan Sarkar > Sent: October-21-08 7:16 PM > To: John Fox > Cc: r-devel@r-project.org > Subject: Re: [Rd] R CMD INSTALL problem > > On Tue, Oct 21, 2008 at 3:2

[Rd] R CMD INSTALL problem

2008-10-21 Thread John Fox
Dear list members, I've run into a problem with R CMD INSTALL under Windows Vista and R 2.8.0: - snip --- C:\Users\John Fox\workspace>c:\R\R-2.8.0\bin\R CMD INSTALL car installing to '' -- Making package car adding build stamp to DESCRI

Re: [Rd] weird behavior of drop1() for polr models (MASS)

2008-09-30 Thread John Fox
terest. What is the attraction of "type-III" tests as opposed to "type-II" tests? These questions are sufficiently complicated that they're hard to address in an email. They are addressed in Sec. 8.2 and 10.4 of my Applied Regression text (either edition). Regards, John

Re: [Rd] weird behavior of drop1() for polr models (MASS)

2008-09-30 Thread John Fox
Note: I'm responding to this message on the r-devel list where it was posted, but this is really a question for r-help. I hope this helps, John ------ John Fox, Professor Department of Sociology McMaster University Hamilton, Ontario, Canada web: socserv.mcmaster.ca/

Re: [Rd] Addendum to wishlist bug report #10931 (factanal) (PR#12754)

2008-09-09 Thread John Fox
Dear Ulrich, I'd frankly forgotten about this, but can't see an argument for not making this (or a similar) change. Thanks for reviving the issue. John ------ John Fox, Professor Department of Sociology McMaster University Hamilton, Ontario,

Re: [Rd] Problem with UTF-8 text in the Rcmdr package

2008-09-08 Thread John Fox
Dear Brian, > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On > Behalf Of Prof Brian Ripley > Sent: September-08-08 5:46 AM > To: John Fox > Cc: 'Jaro.Lajovic'; 'R-devel' > Subject: Re: [Rd] Problem with UTF-8 text in

[Rd] Problem with UTF-8 text in the Rcmdr package

2008-09-05 Thread John Fox
to turn up anything that seemed relevant. Frankly, however, my understanding of how various character sets are handled is only partial. Any help would be appreciated. John ---------- John Fox, Professor Department of Sociology McMaster University Hamilton, Ontario, Canada web:

Re: [Rd] RFC: What should ?foo do?

2008-04-25 Thread John Fox
Dear all, Why not leave ? more-or-less as it is (at least for ?foo) and add arguments to help() for other kinds of searches? Perhaps the kind of search that help() does by default could be set as an option. Regards, John -- John Fox, Professor Department of

Re: [Rd] package building problem under Windows Vista

2008-04-19 Thread John Fox
Dear Gabor, > -Original Message- > From: Gabor Grothendieck [mailto:[EMAIL PROTECTED] > Sent: April-19-08 9:10 AM > To: John Fox > Cc: R-devel > Subject: Re: [Rd] package building problem under Windows Vista > > Note that CRAN is also having a problem with the p

Re: [Rd] package building problem under Windows Vista

2008-04-19 Thread John Fox
0.3-0.tar.gz' d:\R-packages> snip - Thank you for the suggestion, John > -----Original Message- > From: Prof Brian Ripley [mailto:[EMAIL PROTECTED] > Sent: April-19-08 8:53 AM > To: John Fox > Cc: 'R-devel' > Subject: Re: [Rd] packa

[Rd] package building problem under Windows Vista

2008-04-19 Thread John Fox
people (e.g., my students) buying new Windows machines will be getting it. Although I've read section 2.24 of the R for Windows FAQ, it's quite possible that I've missed something of relevance there. Any help would be appreciated. Thanks in advance, John

Re: [Rd] Aliasing a function

2008-02-23 Thread John Fox
Dear Hadley, Why not just f <- g ? Regards, John ---- John Fox, Professor Department of Sociology McMaster University Hamilton, Ontario, Canada L8S 4M4 905-525-9140x23604 http://socserv.mcmaster.ca/jfox > -Original Message- > From: [EMAIL

Re: [Rd] argument order for Math2 group functions in R 2.6.x (PR#10683)

2008-02-03 Thread John Fox
Dear Brian, Are there many primitives that take more than one argument? I see, for example, that round() is another. Might it not be a good idea to provide a warning in the help file(s) that arguments must be supplied in the correct order? Regards, John > -Original Message- > From: [EM

Re: [Rd] argument order for Math2 group functions in R 2.6.x (PR#10679)

2008-02-02 Thread John Fox
and what I'm > used to getting using earlier versions.) Similar things happen with > round(). > > I haven't yet had the opportunity to investigate whether I'd see the > same > behavior on other platforms. > > Best wishes, > Ben > > _______

[Rd] pseudo dataframes with RODBC

2008-01-23 Thread John Fox
sted them (at various times) only with PostgreSQL, MySQL, and MS/Access under Windows, but I don't see why they shouldn't work generally. Regards, John John Fox, Professor Department of Sociology McMaster University Hamilton, Ont

Re: [Rd] Wishlist- Windows Gui (PR#10589)

2008-01-18 Thread John Fox
issue is whether we want the GUI to edit the Rprofile > (probably not) or add yet another configuration file that would be > overridden (probably not) by or override (probably not either) the > hand-written Rprofile files > > -p > > Regards, > > John

Re: [Rd] Wishlist- Windows Gui (PR#10589)

2008-01-18 Thread John Fox
?Startup). Of course, you would adjust CRAN to point to a CRAN mirror near you. BTW, this isn't really a bug report, is it? Regards, John -------- John Fox, Professor Department of Sociology McMaster University Hamilton, Ontario, Canada L8S 4M4 905-525-9140x23604 h

Re: [Rd] Using Fortran 95 in an R package?

2007-12-09 Thread John Fox
Dear Brian, Thank you for this. John > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Prof Brian Ripley > Sent: Sunday, December 09, 2007 1:05 PM > To: John Fox > Cc: r-devel@r-project.org > Subject: Re: [Rd] Using Fortr

[Rd] Using Fortran 95 in an R package?

2007-12-09 Thread John Fox
in a package? For example, I see that Rtools for Windows now include the gfortran compiler. (I know that this question has come up before, but not, as far as I can see, in the last year.) Thanks, John John Fox, Professor Department of Sociology McMaster University Ham

Re: [Rd] Saving Graphics File as .ps or .pdf (PR#10403)

2007-11-07 Thread John Fox
Dear Martin, Jari, et al., Another relevant point (which I haven't seen in this discussion -- perhaps I missed it) is that one can read the CHANGES and NEWS files on CRAN without downloading or installing R-patched. Regards, John > -Original Message- > From: [EMAIL PROTECTED] > [mailt

Re: [Rd] slow tcl/tk

2007-10-31 Thread John Fox
Dear Peter, Thank you for pursuing this. Regards, John > -Original Message- > From: Peter Dalgaard [mailto:[EMAIL PROTECTED] > Sent: Wednesday, October 31, 2007 12:01 PM > To: John Fox > Cc: r-devel@r-project.org; 'Adrian Dusa' > Subject: Re: [Rd] slow tc

Re: [Rd] slow tcl/tk

2007-10-31 Thread John Fox
Dear Peter, > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Peter Dalgaard > Sent: Wednesday, October 31, 2007 9:54 AM > To: Adrian Dusa > Cc: r-devel@r-project.org > Subject: Re: [Rd] slow tcl/tk > > Adrian Dusa wrote: > > Dear list, > > > > Build

Re: [Rd] slow tcl/tk

2007-10-31 Thread John Fox
I suspect, of its complexity. Since I'd like to insure that the Rcmdr works reasonably well under Linux systems, it would help to know the source of the problem. Thanks, John -------- John Fox, Professor Department of Sociology McMaster University Hamilton, Ontario

Re: [Rd] misbehaviour of some tk windows, R 2.6.0 on SUSE 10.1?

2007-10-09 Thread John Fox
Dear Peter and David, For what it's worth, I observe this behaviour after upgrading to R 2.6.0 under Ubuntu 7.04. When David previously reported the problem to me, I tested on R 2.5.1 (again with Ubuntu 7.04) and did not observe the problem. Regards, John > -Original Message- > From: [E

Re: [Rd] Warning under R 2.6.0: Rd files with unknown encoding

2007-06-12 Thread John Fox
Dear Brian, > -Original Message- > From: Prof Brian Ripley [mailto:[EMAIL PROTECTED] > Sent: Tuesday, June 12, 2007 7:45 AM > To: John Fox > Cc: r-devel@r-project.org > Subject: Re: [Rd] Warning under R 2.6.0: Rd files with > unknown encoding > > On Tue,

[Rd] Warning under R 2.6.0: Rd files with unknown encoding

2007-06-12 Thread John Fox
, residuals.Rd is similar to the other .Rd files in the package. At least for the time being, I won't reproduce residuals.Rd here in the interest of brevity. Any help would be appreciated. John John Fox, Professor Department of Sociology McMaster University Hamilton, On

Re: [Rd] Problems with R 2.5.0 (PR#9708)

2007-05-24 Thread John Fox
27;t a bug in R and so really shouldn't have been filed as a bug report. Regards, John -------- John Fox, Professor Department of Sociology McMaster University Hamilton, Ontario Canada L8S 4M4 905-525-9140x23604 http://socserv.m

Re: [Rd] section needed in FAQ - Using R (PR#9698)

2007-05-21 Thread John Fox
Dear, My spelling correction was poorly phrased, since there are actually two p's in "apropos," but there aren't two adjacent p's. I agree that a reference to apropos on the help page for help is a good idea. Regards, John ---- John Fox

Re: [Rd] section needed in FAQ - Using R (PR#9698)

2007-05-21 Thread John Fox
Dear Peter and Ray, I think that Ray's problem finding apropos is that "apropos" has one "p." Interestingly, help.search("appropos") (as suggested by Peter) is able to accommodate the spelling error. Regards, John -------- John Fox

Re: [Rd] Behaviour of read.table with empty columns

2007-05-09 Thread John Fox
Dear Brian (and Gabor), Thanks -- that makes sense. John John Fox, Professor Department of Sociology McMaster University Hamilton, Ontario Canada L8S 4M4 905-525-9140x23604 http://socserv.mcmaster.ca/jfox > -Origi

[Rd] Behaviour of read.table with empty columns

2007-05-09 Thread John Fox
e(A=c("", "", "")) A 1 2 3 works as I would have expected. A work-around for me was > DF[is.na(DF)] <- "" > DF V1 V2 V3 1 a 2 But, as I said, I found the behaviour of read.table() puzzling. All this is with R 2.5.0 on

[Rd] Non-unique column names in data frames

2007-04-01 Thread John Fox
figure that there must be some rationale for this difference, but I can't think of what it might be. Any thoughts? Regards, John John Fox Department of Sociology McMaster University Hamilton, Ontario Canada L8S 4M4 905-525-9140x23604 http://socserv.mcmaster.ca/

  1   2   >