Re: [R] Mailing list for download

2010-07-29 Thread Jonathan Baron
ible to get all the mails of the mailing list / mail archives > for download (preferably in XML format)? > > Thanks Sigbert -- Jonathan Baron, Professor of Psychology, University of Pennsylvania Home page: http://www.sas.upenn.edu/~baron __ R-hel

Re: [R] [R-pkgs] New package "list" for analyzing listsurveyexperiments

2010-07-13 Thread Jonathan Baron
s. > > > > For some reason package writers seem to prefer maximally uninformative > > names for their packages. To take some examples of recently announced > > packages, can anyone guess what packages 'FDTH', 'rtv', or 'lavaan' > >

Re: [R] combining P values from different tests

2010-07-08 Thread Jonathan Baron
em. # combine and output one-tailed p's. Enter 2-tailed p's. combine <- function(x,y) return(pchisq(-2*log(x/2)-2*log(y/2),4,low=F)) # Stouffer's method for vector x, gives 2-tailed result pnorm(sum(qnorm(x))/sqrt(length(x))) -- Jonathan Baron, Professor of Psychology,

Re: [R] SSH Through R Script

2010-04-13 Thread Jonathan Baron
Another way to solve the problem is to mount the remote server using sshfs and then access it as a directory on your local computer. This will require using the password once when you mount the server, but you can just leave it mounted until you shut down your computer. E.g., You have an empty di

Re: [R] SSH Through R Script

2010-04-09 Thread Jonathan Baron
_ > 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. -- Jonathan Baron, Professor of Psycholo

Re: [R] Calling R from Perl

2010-03-30 Thread Jonathan Baron
> > -- > Regards, > Ayush Raman -- Jonathan Baron, Professor of Psychology, University of Pennsylvania Home page: http://www.sas.upenn.edu/~baron __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the

Re: [R] R on Linux - a primer

2010-03-14 Thread Jonathan Baron
. I use Fedora on both 64 and 32 bit systems. Jon -- Jonathan Baron, Professor of Psychology, University of Pennsylvania Home page: http://www.sas.upenn.edu/~baron __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLE

Re: [R] does any package have the functionality of ace() from old acepack?

2010-01-18 Thread Jonathan Baron
ixated on > algorithms as long > as it works pretty well. > > Is there another package that has that sort of functionality? I haven't been > able to locate one, > but maybe I missed something. -- Jonathan Baron, Professor of Psychology, Universi

Re: [R] Online R documentation

2010-01-08 Thread Jonathan Baron
On 01/08/10 14:56, Karl Ove Hufthammer wrote: > On Fri, 8 Jan 2010 08:41:49 -0500 Jonathan Baron > wrote: > > > Many people seem unhappy with the new documentation server because you > > > need to have R running to access it, and it's not immediately obvious > &

Re: [R] Online R documentation

2010-01-08 Thread Jonathan Baron
, I can give you extremely detailed (but probably still now quite adequate) instructions. > > PS. If this fundraising initiative is successful and any R-core > member would like to take over this task, I will happily send the > money their way. -- Jonathan Baron, Professor of Psyc

Re: [R] Building static HTML help pages in R 2.10.x on Windows

2010-01-07 Thread Jonathan Baron
For what it is worth, I would gladly sacrifice this capability in order to be able to consult all my R help pages through a Firefox bookmark to the packages listing (which is what I used to do, and will do again, when I get time to either rebuild from source or get the forthcoming Fedora RPM, which

Re: [R] Building static HTML help pages in R 2.10.x on Windows

2009-12-27 Thread Jonathan Baron
, but others might be following this thread. Jon -- Jonathan Baron, Professor of Psychology, University of Pennsylvania Home page: http://www.sas.upenn.edu/~baron __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do rea

Re: [R] read.csv to read output of system()?

2009-12-12 Thread Jonathan Baron
On 12/12/09 11:02, David Winsemius wrote: > > On Dec 12, 2009, at 7:54 AM, Marianne Promberger wrote: > > > Dear list, > > > > I have a file that is comma delimited but contains some erroneous > > non-delimiter commas. I would like to replace these commas with > > semicolons and then read the cor

Re: [R] new help pages in R 2.10.0

2009-11-05 Thread Jonathan Baron
s:::.writePkgIndices() make.packages.html() I will see how it works. But I may give up if it doesn't work. Jon On 11/05/09 21:59, Uwe Ligges wrote: > > > Jonathan Baron wrote: > > I haven't tried this yet, but I should note that my Site Search page: > > http://finzi.psych.upenn.edu

Re: [R] new help pages in R 2.10.0

2009-11-05 Thread Jonathan Baron
lp has been withdrawn. > > Uwe Ligges -- Jonathan Baron, Professor of Psychology, University of Pennsylvania Home page: http://www.sas.upenn.edu/~baron __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the

[R] INSTALL html help (and vignettes) only?

2009-09-15 Thread Jonathan Baron
y again. That's the logically best way, but I don't know how to do it so that it works. Jon -- Jonathan Baron, Professor of Psychology, University of Pennsylvania Home page: http://www.sas.upenn.edu/~baron __ R-help@r-project.org mailing list ht

Re: [R] Working with large matrix

2009-09-12 Thread Jonathan Baron
he matrix on the > left hand side. > > __ > 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-

Re: [R] eps file with embedded font

2009-09-04 Thread Jonathan Baron
and tell you whether they are embedded. Jon -- Jonathan Baron, Professor of Psychology, University of Pennsylvania Home page: http://www.sas.upenn.edu/~baron __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE

Re: [R] lmer with random slopes for 2 or more first-level factors?

2009-08-19 Thread Jonathan Baron
subject effect for the INTERACTION of IV1 and IV2? lmer(DV ~ IV1 + IV2 + (1 + IV1 * IV2 | Subject)) -- Jonathan Baron, Professor of Psychology, University of Pennsylvania Home page: http://www.sas.upenn.edu/~baron __ R-help@r-project.org mailing list http

Re: [R] Adding picture to graph?

2009-07-29 Thread Jonathan Baron
_ > 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. -- Jo

Re: [R] Multi-line comments?

2009-07-22 Thread Jonathan Baron
it.el and .emacs files: (global-set-key "\M-r" 'comment-region) So now I do it with "alt-R". That key may have had some other purpose, but not one I ever used. I think the alt key is something else on a Mac. And I have no idea whether this will work on Windows. J

Re: [R] Journal Articles that Have Used R

2009-06-07 Thread Jonathan Baron
-09 10:56:25, Gabor Grothendieck wrote: > >> Try this: > >> site:journal.sjdm.org filetype:R > > > > When I enter that into Google, I got only the following two hits: -- Jonathan Baron, Professor of Psychology, University of Pennsylvania Home page: http://www.sas.upenn.edu/~b

Re: [R] Journal Articles that Have Used R

2009-06-06 Thread Jonathan Baron
. But Google, to my knowledge will not deal with wildcards like this. Jon -- Jonathan Baron, Professor of Psychology, University of Pennsylvania Home page: http://www.sas.upenn.edu/~baron Editor: Judgment and Decision Making (http://journal.sjdm.org) __ R

Re: [R] A very frustrating read.table error message

2009-06-06 Thread Jonathan Baron
this stuff is ready for prime time. In my case, there is a 14-year history, with various baggage left over from earlier travels. Jon -- Jonathan Baron, Professor of Psychology, University of Pennsylvania Home page: http://www.sas.upenn.edu/~baron __

Re: [R] build CONTENTS or 00Index.html without installing whole package

2009-05-25 Thread Jonathan Baron
Problem solved. Current script is at http://finzi.psych.upenn.edu/~baron/inst.R This makes all the help files in html format without installing any packages. __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do r

Re: [R] build CONTENTS or 00Index.html without installing whole package

2009-05-24 Thread Jonathan Baron
uot;,sep="")) # make indices tools:::.writePkgIndices(PK,paste("/usr/lib/R/library/",PK,sep="")) system(paste("rm -rf",PK)) } # try to build package list, doesn't work # make.packages.html() -- Jonathan Baron, Professor of Psychology, University of Penns

Re: [R] build CONTENTS or 00Index.html without installing whole package

2009-05-23 Thread Jonathan Baron
/usr/share/R/perl/build-help.pl --html /home/baron/$PK /usr/lib/R/library/ # make indices Rscript --vanilla -e "tools:::.writePkgIndices('$PK','/usr/lib/R/library/$PK')" rm -rf $PK done # try to build package list, doesn't work # Rscript --no-init-file --n

Re: [R] How to google for R stuff?

2009-05-20 Thread Jonathan Baron
ance. > > TIA! > > KJ > > [[alternative HTML version deleted]] > > __ > 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

Re: [R] build CONTENTS or 00Index.html without installing whole package

2009-05-18 Thread Jonathan Baron
Replying to my own message, I've now fixed up the bash script so that it works (below). I don't think that buildVignettes does anything I need, so I commented it out (but now runs). Rscript, and not R CMD (which I was mistakenly using before), seems to be the way to run arbitrary R functions from

[R] build CONTENTS or 00Index.html without installing whole package

2009-05-17 Thread Jonathan Baron
To maintain my R site, I'm trying to install html help files only, but also keep track of the version (with DESCRIPTION). I have the following bash script, which works except for 00Index.html. That is not a huge problem because the help files are still searchable, but I'd like to fix it. A long

Re: [R] pca vs. pfa: dimension reduction

2009-03-25 Thread Jonathan Baron
tation, and the default is varimax. The first factor will usually not be the same as the first principal component (I think). Perhaps there is another rotation option that will give you this, but why bother even to look? (I didn't, obviously.) Jon -- Jonathan Baron, Professor of Psychology, Uni

Re: [R] using a noisy variable in regression (not an R question)

2009-03-07 Thread Jonathan Baron
hing for this > topic. Thanks > for your input. > > Regards, > > Juliet > > __ > 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-

Re: [R] installing R on Ubuntu

2009-02-09 Thread Jonathan Baron
On 02/09/09 10:06, Gavin Simpson wrote: > On Sun, 2009-02-08 at 16:21 -0500, Jonathan Baron wrote: > As much as I love Fedora (and I've used it from Core 1 onwards and > haven't been swayed by Ubuntu's lovely brownness), I should point out > that it need *not* be a

Re: [R] installing R on Ubuntu

2009-02-08 Thread Jonathan Baron
s recommended for Linux newbies, it may be the case that Fedora is a little easier, at least about this. Warning: Fedora is pure about open-source licenses, which means that many closed-source programs that you might want, like Adobe Flash, Skype, and some drivers, won't be there unless you get t

[R] changes in RSiteSearch

2009-02-01 Thread Jonathan Baron
that refer to other messages in the archives by number. With some effort, I have attempted to keep this working, and I might have succeeded, although I have not bothered to test it. Jon -- Jonathan Baron, Professor of Psychology, University of Pennsylvania Home page: http://www.sas.upen

Re: [R] Mode value

2008-09-06 Thread Jonathan Baron
atrix called Pbest. Pbest.p <- apply(Pbest,1,function(x) x[which.max(as.vector(table(x)))][1]) So to get the mode of a vector v1, the following should work (but I haven't tried it): v1[which.max(as.vector(table(v1)))][1] -- Jonathan Baron, Professor of Psychology, University of Pe

Re: [R] How to do a meta-analysis plot

2008-08-26 Thread Jonathan Baron
Another way to do it (based on summary data): http://finzi.psych.upenn.edu/R/Rhelp02a/archive/131342.html -- Jonathan Baron, Professor of Psychology, University of Pennsylvania Home page: http://www.sas.upenn.edu/~baron __ R-help@r-project.org

Re: [R] psychometric functions

2008-08-21 Thread Jonathan Baron
many other options. The model I fit made exactly the same assumption you describe, namely, that the upper asymptote was less than 1, because (for example) some of the best students understand the question differently from what the test makers intended. And the lower asymptote depends on what th

Re: [R] psychometric functions

2008-08-21 Thread Jonathan Baron
exp(x)/(1+exp(x))} astart <- c(.5,.8,.8,.8,.65,.8,.8,.5,.5,.5,.5, NA,NA,.5,.5,.5,.5,.5,.5,.5,.5,.5, .5,.5,.5,.5,.5,.5,.5,.5,.5,.5,.5) icc <- matrix(NA,nitems,4) # A,B,C,D coefficients # the loop is over the items for (i in 1:ns) { icc.tmp<-nls(score[,

Re: [R] RPro

2008-08-10 Thread Jonathan Baron
27;s extremely clever algorithm. > That said, does anyone have any techniques for Googling for info on some > particular R functionality? I've had some luck with the term "R-help" > or "R-sig" but that leaves out an awful lot of websites. RSiteSearch() is one. T

Re: [R] No HTML package list update in 2.7.0?

2008-06-22 Thread Jonathan Baron
7.0, the HTML package list isn't updated. I couldn't find anything > about this in the install stuff for the new features (what is a tangled > vignette anyway?). Is this just something that has slipped beneath the > legendary radar of the team? Am I really the first to notice this? &g

Re: [R] modifying INSTALL to make html but not build package

2008-06-14 Thread Jonathan Baron
I have found the problem. I don't understand it, but the script works now. I've removed it from where it was but will send it to anyone who wants it. Jon On 06/14/08 11:44, Jonathan Baron wrote: > For my R page at http://finzi.psych.upenn.edu/ (also the target of > RSiteSearc

[R] modifying INSTALL to make html but not build package

2008-06-14 Thread Jonathan Baron
e code for the package, but it does not include the html pages. I can't figure out why not. If anyone would like to look at it, I'd greatly appreciate it. It is at http://finzi.psych.upenn.edu/INST and all my changes involve commenting out stuff that was there. Jon -- Jonathan

Re: [R] R + Linux

2008-06-06 Thread Jonathan Baron
R works just fine on Fedora 9. __ 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 cod

Re: [R] Need to run R on Fedora 9.

2008-06-05 Thread Jonathan Baron
a Fedora rpm for R. You can also say yum list R\* which lists other packages you might want. Some of these are just R packages, which you can also install from R itself. Jon -- Jonathan Baron, Professor of Psychology, University of Pennsylvania Home page: http://www.s

Re: [R] rmeta package: metaplot or forestplot of meta-analysis under DSL (ramdon) model

2008-05-28 Thread Jonathan Baron
a forest plot for meta-analysis under ramdon models using > the rmeta > package. The rmeta has a default function for MH (fixed-effect) model. Has > the > rmeta package been updated for such a function? Or someone revised it and > kept a > private code? -- Jonatha

[R] Fedora 9?

2008-05-16 Thread Jonathan Baron
o Fedora." I just want to know, in part so I know what to do with the computer that serves RSiteSearch (which is still running Fedora 8 and R 2.6.2). Jon -- Jonathan Baron, Professor of Psychology, University of Pennsylvania Home page: http://www.sas.upenn.edu/~baron _

Re: [R] Using R under Ubuntu...

2008-04-27 Thread Jonathan Baron
pm) (require 'ess-site) And you should look at the ess web page: http://stat.ethz.ch/ESS/ Once you start R, it is a good idea to open another window (possibly in another viewport) with your command file. For xemacs, you do this with something like gnuclient myfile.R (I have an alias for

Re: [R] strsplit and sapply

2008-04-11 Thread Jonathan Baron
ne direct me to the correct syntax? > > Dennis > > > Dennis Fisher MD > P < (The "P Less Than" Company) > Phone: 1-866-PLessThan (1-866-753-7784) > Fax: 1-415-564-2220 > www.PLessThan.com > > > [[alternative HTML version deleted]] > > ___

Re: [R] lmList, tapply() and lm()

2008-02-15 Thread Jonathan Baron
factor level within a matrix? > > For instance, suppose a dataframe containing 3 variables: id, x and y. > > I want to compute the function lm() for each level contained in id, as > lmList would do... > > Thanks for your time, -- Jonathan Baron, Professor of Psychology, U

Re: [R] How to search for packages

2008-02-04 Thread Jonathan Baron
Or use RSiteSearch, with restrict="functions", or use the site itself: http://finzi.psych.upenn.edu/ __ 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

Re: [R] is it safe to replace every "<-" by "=" in R code?

2008-01-13 Thread Jonathan Baron
I think it is worth pointing out that, if you use ESS with (X)emacs, " <- " (with spaces) is produced when you type "_". It requires only two keystrokes (shift and -), and the spaces are done for you. The = sign requires three because you need to type the spaces on each side. Jon ___

Re: [R] Oddities with RSiteSearch?

2008-01-12 Thread Jonathan Baron
; > -- >O__ Peter Dalgaard �ster Farimagsgade 5, Entr.B > c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014 Cph. K > (*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918 > ~~ - ([EMAIL PROTECTED]) FAX: (+45) 3

Re: [R] Conjoint Analysis in R??

2007-12-06 Thread Jonathan Baron
Another possibility is ace {acepack}. See Gurmankin Levy, A., & Baron, J. (2005). How bad is a 10% chance of losing a toe? Judgments of probabilistic conditions by doctors and laypeople. Memory and Cognition, 33, 1399-1406. for a published example. Jon -- Jonathan Baron, Professo

Re: [R] Install repeated library

2007-11-26 Thread Jonathan Baron
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. -- Jonathan Baron, Professor of Psychology, University of Pennsylvania Home page

Re: [R] Packages - a great resource, but hard to find the right one

2007-11-23 Thread Jonathan Baron
a function. When you find the function, there is a header at the top that says what package it is in. Jon -- Jonathan Baron, Professor of Psychology, University of Pennsylvania Home page: http://www.sas.upenn.edu/~baron __ R-help@r-project.org mai

Re: [R] Why can repeated measures anova with within & between subjects design not be done if group sizes are unbalanced?

2007-11-05 Thread Jonathan Baron
You don't need the loop. I do think that nlme is going to replace a lot of standard approaches in psychology. (I am almost to the point of understanding it.) But I don't think it is necessary for the kind of design you describe. Jon -- Jonathan Baron, Profess

[R] curly bracket in plot (reply)

2007-10-17 Thread Jonathan Baron
.015,"npc"))) grid.text("NOW",x=.19,y=.5,rot=90) grid.text("NOW",x=.6,y=.23) grid.text("NOW",x=.63,y=.555,rot=180*atan2(-4,7)/pi,) grid.text("After E",x=.465,y=.53,rot=180*atan2(-4,3.5)/pi,) grid.text("After L",x=.615,y=.44,rot=180*atan2(