Re: [R] Journal Articles that Have Used R
I also use R to redraw figures for the journal I edit (below), when the authors cannot produce usable graphics (about 50% of the author who try). Unfortunately, I cannot find a way to search for just the R files. They are all http://journal.sjdm.org/*/*.R where * is the number of the article. 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-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.
Re: [R] Journal Articles that Have Used R
Try this: site:journal.sjdm.org filetype:R On Sat, Jun 6, 2009 at 6:39 PM, Jonathan Baronba...@psych.upenn.edu wrote: I also use R to redraw figures for the journal I edit (below), when the authors cannot produce usable graphics (about 50% of the author who try). Unfortunately, I cannot find a way to search for just the R files. They are all http://journal.sjdm.org/*/*.R where * is the number of the article. 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-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. __ 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.
Re: [R] Journal Articles that Have Used R
On 07-Jun-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: # #!/usr/bin/Rscript --vanilla # input is a pre-made list of files ... #!/usr/bin/Rscript --vanilla # input is a pre-made list of files ending in html called ../htmlist # (see below). This is easily modified. ... journal.sjdm.org/RePEc/rss/rss.R - Cached - Similar pages # #!/usr/bin/Rscript --vanilla --verbose # script to convert RePEc ... #!/usr/bin/Rscript --vanilla --verbose # script to convert RePEc-style rdf files (ReDIFF) to DOAJ-type xml files # usage: oai.R [file] # where [file] is a ... journal.sjdm.org/RePEc/rss/oai.R - Cached - Similar pages none of which is what Jonathan os looking for (and the Similar pages links are a waste of time). In regexp language, what he is looking for is http://journal.sjdm.org/[0:9]+/*.R of which there are several instances on the site, for example http://journal.sjdm.org/8210/ shows jdm8210.html13-Dec-2008 1 jdm8210.pdf 13-Dec-2008 11:18 102K jdm8210.tex 13-Dec-2008 11:18 27K jdm8210001.gif 09-Dec-2008 14:38 11K probs.R 09-Dec-2008 14:37 1.0K test.R 23-May-2008 05:46 251 ttest.csv 22-May-2008 21:31 2.6K1:1831K so there are two .Rfiles there (8210 is the number of an article in the Journal). Other similar directories mAy or may not have .R files -- for example http://journal.sjdm.org/8816/ has none. The problem is that utilities like wget won;t work in this case, since HTTP doesn't accept wild cards, unlike FTP; but the journal site doesn't accept FTP ... !! It's an intriguing problem, and I'm seeking advice amongst my Linux acquaintances about it. I sonehow doubt that there is a solution ... Ted. On Sat, Jun 6, 2009 at 6:39 PM, Jonathan Baronba...@psych.upenn.edu wrote: I also use R to redraw figures for the journal I edit (below), when the authors cannot produce usable graphics (about 50% of the author who try). Unfortunately, I cannot find a way to search for just the R files. They are all http://journal.sjdm.org/*/*.R where * is the number of the article. _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-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. __ 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. E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk Fax-to-email: +44 (0)870 094 0861 Date: 07-Jun-09 Time: 12:37:34 -- XFMail -- __ 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.
Re: [R] Journal Articles that Have Used R
The fact that the search did find two files suggests that it works but the problem may be that google has just not indexed those other files. Try entering the url for one of them into google and google still does not find it. http://journal.sjdm.org/8210/test.R On Sun, Jun 7, 2009 at 7:37 AM, Ted Hardingted.hard...@manchester.ac.uk wrote: On 07-Jun-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: # #!/usr/bin/Rscript --vanilla # input is a pre-made list of files ... #!/usr/bin/Rscript --vanilla # input is a pre-made list of files ending in html called ../htmlist # (see below). This is easily modified. ... journal.sjdm.org/RePEc/rss/rss.R - Cached - Similar pages # #!/usr/bin/Rscript --vanilla --verbose # script to convert RePEc ... #!/usr/bin/Rscript --vanilla --verbose # script to convert RePEc-style rdf files (ReDIFF) to DOAJ-type xml files # usage: oai.R [file] # where [file] is a ... journal.sjdm.org/RePEc/rss/oai.R - Cached - Similar pages none of which is what Jonathan os looking for (and the Similar pages links are a waste of time). In regexp language, what he is looking for is http://journal.sjdm.org/[0:9]+/*.R of which there are several instances on the site, for example http://journal.sjdm.org/8210/ shows jdm8210.html 13-Dec-2008 1 jdm8210.pdf 13-Dec-2008 11:18 102K jdm8210.tex 13-Dec-2008 11:18 27K jdm8210001.gif 09-Dec-2008 14:38 11K probs.R 09-Dec-2008 14:37 1.0K test.R 23-May-2008 05:46 251 ttest.csv 22-May-2008 21:31 2.6K1:18 31K so there are two .Rfiles there (8210 is the number of an article in the Journal). Other similar directories mAy or may not have .R files -- for example http://journal.sjdm.org/8816/ has none. The problem is that utilities like wget won;t work in this case, since HTTP doesn't accept wild cards, unlike FTP; but the journal site doesn't accept FTP ... !! It's an intriguing problem, and I'm seeking advice amongst my Linux acquaintances about it. I sonehow doubt that there is a solution ... Ted. On Sat, Jun 6, 2009 at 6:39 PM, Jonathan Baronba...@psych.upenn.edu wrote: I also use R to redraw figures for the journal I edit (below), when the authors cannot produce usable graphics (about 50% of the author who try). Unfortunately, I cannot find a way to search for just the R files. They are all http://journal.sjdm.org/*/*.R where * is the number of the article. _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-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. __ 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. E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk Fax-to-email: +44 (0)870 094 0861 Date: 07-Jun-09 Time: 12:37:34 -- XFMail -- __ 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.
Re: [R] Journal Articles that Have Used R
Argh. The reason we can't find my example R files with Google is that they were not indexed because there were no links to them. I've now created a page with just these links, and a link to that page at the very bottom of http://journal.sjdm.org/submit.htm Google should find it all eventually. The direct link is http://journal.sjdm.org/RX.html I should also note that I need to set a bounding box around everything, and here is the bbox script I use (based loosely on a suggestion made by Brian Ripley a long time ago). Sometimes I add this to the end of the script that makes the graph, with system(bbox fig1.eps) or something like that. #!/bin/bash cat $1 | sed -r -e s/BoundingBox:[\ ]+[0-9]+[\ ]+[0-9]+[\ ]+[0-9]+\ [\ ]+[0-9]+/`gs -sDEVICE=bbox -dBATCH -dNOPAUSE -q`/ temp.eps gs -sDEVICE=bbox -sNOPAUSE -q $1 $showpage -c quit 2 bb.out sed -e1 r bb.out temp.eps $1 /bin/rm bb.out /bin/rm temp.eps I may also created a Namazu search index for these, if I get around to it. Jon On 06/07/09 07:45, Gabor Grothendieck wrote: The fact that the search did find two files suggests that it works but the problem may be that google has just not indexed those other files. Try entering the url for one of them into google and google still does not find it. http://journal.sjdm.org/8210/test.R On Sun, Jun 7, 2009 at 7:37 AM, Ted Hardingted.hard...@manchester.ac.uk wrote: On 07-Jun-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/~baron Editor: Judgment and Decision Making (http://journal.sjdm.org) __ 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.
Re: [R] Journal Articles that Have Used R
I think the reason Google will not find it is that, in the Journal website, the R files (and the names of the article directories that might contain them, such as journal.sjdm.org/8210/ -- see below) are not directly pointed to by any index.html or any href ... /href in the website, as far as I can see. This would be why 'wget' cannot find them in HTTP mode, and it would prevent Google being led to them. On the other hand, if one knows the name of a directory, then a wget on that directory will assemble its list of contents into an index.html file on the local machine, from which the names of any .R files can be extracted with a bit of greppery. For example, wget http://journal.sjdm.org/8210/ creates a local file index.html, and then grep '[.]R' index.html outputs: trtd valign=topimg src=/icons/unknown.gif alt=[ ]/tdtda href=probs.Rprobs.R/a/tdtd align=right09-Dec-2008 14:37 /tdtd align=right1.0K/td/tr trtd valign=topimg src=/icons/unknown.gif alt=[ ]/tdtda href=test.Rtest.R/a/tdtd align=right23-May-2008 05:46 /tdtd align=right251 /td/tr thus revealing the two R files probs.R and test.R which are there. Then a bit of seddery (or the like) could probably extract just the filenames, by looking for *.R between and . However, the key to the whole thing is knowing what the numerical directory names (such as 8210) are. The only way I've found to do this automatically is to download the whole site (Linux commands): mkdir sjdm cd sjdm wget -r -k -np -nH http://journal.sjdm.org/ extract the numeric directory-names with (e.g.): find . -type d -name '[0-9]*[0-9]' -print and then work through the results of this with directory-specific wget's as before. This all seems to be overkill, however! Much easier if the site would accept FTP. Ted. On 07-Jun-09 11:45:19, Gabor Grothendieck wrote: The fact that the search did find two files suggests that it works but the problem may be that google has just not indexed those other files. Try entering the url for one of them into google and google still does not find it. http://journal.sjdm.org/8210/test.R On Sun, Jun 7, 2009 at 7:37 AM, Ted Hardingted.hard...@manchester.ac.uk wrote: On 07-Jun-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: _# _#!/usr/bin/Rscript --vanilla # input is a pre-made list of files ... _#!/usr/bin/Rscript --vanilla # input is a pre-made list of files ending _in html called ../htmlist # (see below). This is easily modified. ... _journal.sjdm.org/RePEc/rss/rss.R - Cached - Similar pages _# _#!/usr/bin/Rscript --vanilla --verbose # script to convert RePEc ... _#!/usr/bin/Rscript --vanilla --verbose # script to convert RePEc-style _rdf files (ReDIFF) to DOAJ-type xml files # usage: oai.R [file] # where _[file] is a ... _journal.sjdm.org/RePEc/rss/oai.R - Cached - Similar pages none of which is what Jonathan os looking for (and the Similar pages links are a waste of time). In regexp language, what he is looking for is _http://journal.sjdm.org/[0:9]+/*.R of which there are several instances on the site, for example _http://journal.sjdm.org/8210/ shows _ jdm8210.html _ _13-Dec-2008 1 _ jdm8210.pdf _ _ 13-Dec-2008 11:18 _ _ _ 102K _ jdm8210.tex _ _ 13-Dec-2008 11:18 _ _ _ 27K _ jdm8210001.gif _09-Dec-2008 14:38 _ _ _ 11K _ probs.R _ _ _ _ 09-Dec-2008 14:37 _ _ _ 1.0K _ test.R _ _ _ _ _23-May-2008 05:46 _ _ _ 251 _ ttest.csv _ _ _ 22-May-2008 21:31 _ _ _ 2.6K1:18 _ _ _ _31K so there are two .Rfiles there (8210 is the number of an article in the Journal). Other similar directories mAy or may not have .R files -- for example _http://journal.sjdm.org/8816/ has none. The problem is that utilities like wget won;t work in this case, since HTTP doesn't accept wild cards, unlike FTP; but the journal site doesn't accept FTP ... !! It's an intriguing problem, and I'm seeking advice amongst my Linux acquaintances about it. I sonehow doubt that there is a solution ... Ted. On Sat, Jun 6, 2009 at 6:39 PM, Jonathan Baronba...@psych.upenn.edu wrote: I also use R to redraw figures for the journal I edit (below), when the authors cannot produce usable graphics (about 50% of the author who try). Unfortunately, I cannot find a way to search for just the R files. They are all http://journal.sjdm.org/*/*.R where * is the number of the article. _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-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.
Re: [R] Journal Articles that Have Used R
On 07-Jun-09 14:01:14, Ted Harding wrote: I think the reason Google will not find it is that, in the Journal website, the R files (and the names of the article directories that might contain them, such as journal.sjdm.org/8210/ -- see below) are not directly pointed to by any index.html or any href ... /href in the website, as far as I can see. This would be why 'wget' cannot find them in HTTP mode, and it would prevent Google being led to them. [... ... ...] This all seems to be overkill, however! Much easier if the site would accept FTP. Ted. Or, as Jonathan has now done, the R files were pointed to by links within the web-page! :) Ted. E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk Fax-to-email: +44 (0)870 094 0861 Date: 07-Jun-09 Time: 15:41:49 -- XFMail -- __ 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.
[R] Journal Articles that Have Used R
Is there a way to get a reference list of journal articles that have used R? I am just looking for some examples of R graphs and presentation of results where R was used to generate the results. Thanks for any feedback and insights. __ 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.
Re: [R] Journal Articles that Have Used R
Jason Rupert wrote: Is there a way to get a reference list of journal articles that have used R? I am just looking for some examples of R graphs and presentation of results where R was used to generate the results. Did you try Google Scholar: http://scholar.google.com.br/scholar?q=R%3A+A+Language+and+Environment+for+Statistical+Computing It has cited by links. __ 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.
Re: [R] Journal Articles that Have Used R
Most of the papers in the Journal of Statistical Software use R so that would give you many examples of such papers. http://www.jstatsoft.org On Sat, Jun 6, 2009 at 2:03 PM, Jason Rupertjasonkrup...@yahoo.com wrote: Is there a way to get a reference list of journal articles that have used R? I am just looking for some examples of R graphs and presentation of results where R was used to generate the results. Thanks for any feedback and insights. __ 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. __ 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.
Re: [R] Journal Articles that Have Used R
On 06-Jun-09 18:34:21, Jakson Alves de Aquino wrote: Jason Rupert wrote: Is there a way to get a reference list of journal articles that have used R? I am just looking for some examples of R graphs and presentation of results where R was used to generate the results. Did you try Google Scholar: http://scholar.google.com.br/scholar?q=R%3A+A+Language+and+Environment+f or+Statistical+Computing It has cited by links. A very good suggestion! An even better oone [:)] is to take out the .br: http://scholar.google.com/scholar?q=R%3A+A+Language+and+Environment+ for+Statistical+Computing (158,000 hits of which, on briefly scanning through the first 40, about half seem to be hournal articles; draw you own conclusions). Ted. E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk Fax-to-email: +44 (0)870 094 0861 Date: 06-Jun-09 Time: 19:50:57 -- XFMail -- __ 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.
Re: [R] Journal Articles that Have Used R
Jason Rupert wrote: Is there a way to get a reference list of journal articles that have used R? Ooodles ... as others have pointed out. Another source is the ISI web of science citation index, which reportedly shows up over 5000 citations of R LANG ENV STAT COMP or LANG ENV STAT COMP (I can't easily check from outside the Uni). I am just looking for some examples of R graphs and presentation of results where R was used to generate the results. Thanks for any feedback and insights. A recent and relatively high-profile paper is this one http://www3.interscience.wiley.com/cgi-bin/fulltext/122313738/HTMLSTART (This paper hit the mainstream press because of the connection to H1N1 Swine flu) -- 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 ~~ - (p.dalga...@biostat.ku.dk) FAX: (+45) 35327907 __ 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.