Talk:R (programming language)
![]() | R (programming language) was nominated as a Engineering and technology good article, but it did not meet the good article criteria at the time (November 4, 2010). There are suggestions on the review page for improving the article. If you can improve it, please do; it may then be renominated. |
![]() | Statistics C‑class Low‑importance | |||||||||
|
![]() | Computing C‑class | |||||||||
|
![]() | Computing C‑class Low‑importance | |||||||||
|
R and Scheme
I don't understand the reference to Scheme. R's semantics are derived from S's not Scheme's semantics. Is the sentence in question saying that S's semantics are derived from Scheme's? S and R do indeed support functional programming, but I think it's misleading to say that the semantics of R or S are derived from Scheme. S (and hence R, which is an open source implementation of S) differ from Scheme in so many ways that I think the reference to Scheme should be removed from the page. Do others agree?
- The main way in which R's semantics are similar to Scheme (and different from those of S-PLUS) is the evaluation model for nested function definitions, as explained in lexical scoping section of the R FAQ. - Avenue 08:23, 4 December 2005 (UTC)
- Lexical scoping into nested functions is not really what I first think of when someone mentions Scheme. Perhaps Scheme was the first language to do it thus, but these days most languages with nested functions work that way. Mentioning Scheme gives me the expectataion of, say, having continuations in R, or the lisp-ish "everything is a list" idea, or scheme-like macros. None of that is in R (as far as I can see). I think ScheThe me is misleading. Subtilior 20:35, 21 January 2007 (UTC)
- Saying "everything is a vector" in R might be too strong, but it isn't far wrong. Your other expectations are probably much more of a stretch, but still have an element of truth as far as I understand. Our comment about Scheme is attributed to R's developers, and I think it reflects their position, at least as expressed back in Ihaka and Gentleman (1996): "The resulting language [R] is very similar in appearance to S, but the underlying implementation and semantics are derived from Scheme. In fact, we implemented the language by first writing an interpreter for a Scheme subset and then progressively mutating it to resemble S." Would you be happier if this was discussed later in the article (maybe in the Development section), rather than in the lead paragraph? -- Avenue 14:19, 22 January 2007 (UTC)
- I guess the "is considered by its developers" clause is enough of a get out. I don't really have a problem. Subtilior 06:31, 5 February 2007 (UTC)
"Everything [in S] is an object." (page 24 Chambers (2008)) "In the S language references to ordinary objects are only through names." which could imply that R does not use numeric pointers (page 24 Chambers (2008)) As with Wikipedia, relying only on names can result in ambiguity or in R's case one name masking another. R and S both use the first names they find, but R has an additional place to look. S looks in the function itself and in the global environment. R adds an intermediate "function environment." One of the practical uses of the function environment is it enables the use of Namespaces. Each package can have its own namespace. See Chambers (2008), "Software for Data Analysis: Programming with R" pages 24, 120, 126 & 460-462 Jim.Callahan,Orlando (talk) 22:45, 9 July 2010 (UTC)
R was initially inspired by Scheme rather than S, see http://www.stat.auckland.ac.nz/~ihaka/downloads/Massey.pdf (p. 16 on "The initial language") on how it initially looked like. Lebatsnok (talk) 12:17, 22 March 2011 (UTC)
name
Shouldn't this be "R programming environment"? We already have an article about the programming language S Btyner 20:11, 3 January 2006 (UTC)
- The S language is now more a small family of languages or dialects than a single language, so I think that the "R programming language" is a distinct concept. And the current title does follow the general guideline given in Wikipedia:Naming conventions (languages). However I'm not entirely happy with it either. I would like the title to reflect the statistical emphasis of the language/environment, e.g. "R statistical computing environment". -- Avenue 01:41, 4 January 2006 (UTC)
Advert tag
Even Free Software articles suffer from advertitis on here. I'll try to tidy this later. Chris Cunningham 00:43, 3 August 2006 (UTC)
- You added the comment, after a line discussing R's interface, "what are we discussing here? The compiler? The IDE? This line can probably be removed if it's just the compiler". Although there are a couple of experimental compilers, R is typically run as an interpreted language in an interactive session. Submit a line of code (or maybe a few lines), read the output, submit some more, and so on. Some of the usual "programming language" connotations don't really apply here, which is one reason why it might be good to change the article's title (see above). -- Avenue 11:20, 3 August 2006 (UTC)
- Right - in that case a description of the normal runtime usage would be a great thing to elaborate on. Chris Cunningham 12:01, 3 August 2006 (UTC)
Criticism
Tha anonymous criticism about the speed of R is rebutted by the benchmark results at http://www.sciviews.org/benchmark/ This is also explained earlier in the article. The criticisms are thus removed. Den fjättrade ankan 15:25, 31 August 2006 (UTC)
But see http://www.stat.auckland.ac.nz/~ihaka/downloads/JSM-2010.pdf - Ross Ihaka's example with data frames slowing down the speed. + The benchmark you cite has comparisons with matlab and the like but not with e.g. python or java, and definitely not with c and fortran. The latter are relevant because the speed-critical parts of r packages typically get implemented in c (sometimes in fortran). Lebatsnok (talk) 12:22, 22 March 2011 (UTC)
Quick tutorial
Why was it eliminated? I had a hard time finding how to start using R. I still do - it seems that every help file or documentation is directed either to those that know nothing or to those that know everything. Albmont 01:35, 30 September 2006 (UTC)
- While your description of R documentation is astute (unfortunately), WP essentially is not a venue for "how to" information. It is a venue for "what is" information. Note I didn't delete it (nor would I), but if called on a user vote, would agree to delete for that reason. Baccyak4H 02:41, 30 September 2006 (UTC)
I had learned SAS programming in school, but cannot afford to purchase it, so was very happy to find R,..., until I tried to learn how to use it. There is a real need to have a bare bones, easy introduction to R. At present, what I find as free information on how to use it drops me in the middle of a thick forest. If I could vote, I would say put back that Quick tutorial.
- I'm in the same situation, and have found R a difficult study as well. Purchasing the Crawley (2005) book cited in the main article was something of a breakthrough for me. A set of exercises for the book are freely available on the author's website, and have some utility even unaccompanied by the book.
- --Belgrano 14:48, 8 February 2007 (UTC)
Tutorials are not exactly encyclopedic, and should be kept off of here, but feel free to add to (the barely started) B:R Programming wikibook. The main R page [1]] has some good links to other tutorials and resources (much better than wiki-land has to offer). It's not the prettiest of website, but it is very resourceful. +mwtoews 17:58, 8 February 2007 (UTC)
Mege CRAN into R (programming language)
There really isn't much to say about CRAN in a separate article. At most, it could use a small section in the R article (say R (programming language)#Comprehensive R Archive Network?). +mwtoews 18:28, 6 December 2006 (UTC)
The article CRAN has been brought back to life. I suggest again to merge it back to this article, for the same reasons at the top of this section. +mt 03:49, 10 July 2007 (UTC)
- I agree. -- Avenue 06:46, 10 July 2007 (UTC)
- Done, and I double checked the four language interwiki "CRAN" articles, which all link to R (programming language)#CRAN for the "en" edition. +mt 21:05, 10 July 2007 (UTC)
GUI
I`ve been trying to find the GUi for R but I can`t find them. Anyone can put a link when it say that graphical user interfaces are available? where, thanks ;)--ometzit<col> 00:33, 13 February 2007 (UTC)
- A few are listed in the Productivity tools section. And here's a more [comprehensive list. -- Avenue 01:52, 13 February 2007 (UTC)
Naming motivation
The article currently states "It was originally created by Ross Ihaka and Robert Gentleman (hence the name R)..." My understanding was that the name "R" was chosen to parallel "S", which it is a dialect of, roughly speaking. While I suppose both could be true (that is, it is not named "T"), a citation would be nice here. Baccyak4H (Yak!) 15:56, 23 February 2007 (UTC)
- Better late than never — done ! Schutz 16:10, 31 July 2007 (UTC)
- Excellent. And what a source too ;-) Baccyak4H (Yak!) 18:30, 21 August 2007 (UTC)
I've understood from Ihaka's papers / slides from his webpage that (a) R started as a separate project, initially unrelated to S, and (b) gradually became more similar to S, and (c) the name referred to Robert and Ross rather than S. But see http://www.stat.auckland.ac.nz/~ihaka/?Papers_and_Talks Lebatsnok (talk) 12:27, 22 March 2011 (UTC)
Robert Gentleman
The internal link (under the emblem) for Robert Gentleman directs itself to another person with the same name ( a baseball player). I am temporarily going to remove the link until a seperate article/disambiguation page is created. Grokmenow 15:24, 16 July 2007 (UTC)
de-facto standard
This claim of R being the de-facto standard for statistics computing is backed up by the article "USING THE R STATISTICAL COMPUTING ENVIRONMENT TO TEACH SOCIAL STATISTICS COURSES" which I have found only two citations from in Google, both in papers using R. Now this is a bit of a strong claim to make and I think it deserves a more credible source. Frenchwhale 16:01, 31 July 2007 (UTC)
- I'll agree that the statement is too bold with no reliable sources. I've been looking around Google Scholar for any indication of "statistics software" and "standard" or "de-facto", and my results are very mixed. Basically all the statistical programs you can think of (SAS, Microsoft Excel, Sigma Plot, SPSS, Minitab, Stata, as well as S-PLUS and R) have been touted as "standard", which leads me to think that these claims are POVs. I don't think any of these programs can really be considered "de facto" at this moment (except for certain niches, such as biostatistics). I think it is safe to say that R has an expanding user-base as suggested by the posting rate on the help list, and the increasing number of contributed packages. +mt 18:55, 31 July 2007 (UTC)
- In technical applications, the main reason that R is used is simply because it is free. In bioinformatics, its use is widespread among researchers and the private sector simply because it would be cost-prohibitive for large private organizations (i.e. pharmaceutical companies) to fork out the cash for licences for other programs such as SAS or Matlab. I have no references for this, just years of personal experience working with these people. This article in general is rather unbalanced - for instance there is no discussion of the limitations or criticisms of R (articles on the other software have this). A major fault with R is its inability to efficiently handle for-loops, resulting in the need for clumsy workarounds, something that should be mentioned here. - 52 Pickup 07:20, 15 August 2007 (UTC)
- The charge that R cannot handle for-loops efficiently is just ridiculous. It is an interpreted language, but that is by design. It is going to be just as efficient with its use of for-loops as any other interpreted language. There is a widespread misconception that the various functional substitutes for for-loops (Such as apply, lapply or sapply) are more efficient but those misconceptions are created by people unskilled in the proper use of the language. The area where efficiency can sometimes be achieved over for-loops with is the proper use of the indexing system. —Preceding unsigned comment added by 71.235.36.31 (talk) 02:54, 22 November 2010 (UTC)
- Actually, the main reason it's used is that its development (bug fixing, new feature incorporation, etc.) is far faster and more transparent than say the products listed above. Of course, that is a consequence of its open-source status, which also implies its price. That said however, saying "de-facto standard" or the like without sourcing is original research as well as POV. Saying "mainstream" or something similar would be more defensible, IMO. But I have to object to a criticisms discussion for this or even any software (with possible high profile and noteworthy exceptions like Tufte's criticisms of PowerPoint or Fateman's criticisms of Mathematica). Perhaps limitations, or comparisons with others, may be more appropriate. Any software product is designed to do certain things, but certainly not all things; saying "well it can't do X" seems highly unencyclopedic. Baccyak4H (Yak!) 12:47, 15 August 2007 (UTC)
- While I agree with the fact that it is widely used (personnal experience), I think that calling a de facto standard is unjustified. Adding Template:Verify credibility to the source (Fox, John and Andersen, Robert (January 2005). "Using the R Statistical Computing Environment to Teach Social Statistics Courses" (PDF). Department of Sociology, McMaster University. Retrieved 2006-08-03.
{{cite journal}}
: Cite journal requires|journal=
(help)CS1 maint: multiple names: authors list (link)) which has not been peer-reviewed and thus only reflects the opinion of its two authors. I don't know if another tag would be more appropriate. If so, please edit it. If no other reference can be found, we should seriously consider removing this claim. Calimo (talk) 17:57, 7 December 2008 (UTC)- Here one (peer reviewed?) recently published book that uses de facto in the first paragraph of the book abstract. +mt 07:20, 8 December 2008 (UTC)
- Another supporting quote, from the "Statistical software" entry in Wiley's Encyclopedia of Statistical Sciences, 2006: "R is currently one of our languages of choice for the development of research-level software." A very similar paper by the same authors seems to be available here.
- The discussion above does not seem to distinguish clearly between two questions: whether R is a de facto standard for statistical software development, or for statistical analysis. I'd agree with the former, but not (as yet) the latter. Our article makes the former claim, but about S, not just R. (R is one dialect of S). -- Avenue (talk) 22:10, 8 December 2008 (UTC)
- Good point. I don't think it is even mainstream for non-statistician and non-programmer, who prefer graphical tools such as SPSS or GraphPad Prism (personal experience).
- Maybe we could remove the controversial de facto and go on with something like R is a mainstream and widely used tool for statistical and data analysis software development[3 or 4 references cited] Calimo (talk) 12:52, 9 December 2008 (UTC)
- I think the distinction is worth retaining in our article, although it should probably be made clearer. De facto doesn't seem controversial to me regarding statistical software development. Matlab, SAS and Stata are niche players in comparison. I think the articles currently listed on the Journal of Statistical Software web site are telling; one uses Matlab, one uses SAS/IML, and the other five use R. Not only that, but the authors of three of the five do not even feel it's necessary to mention R in the title. This is simply assumed. -- Avenue (talk) 16:08, 11 December 2008 (UTC)
- Here one (peer reviewed?) recently published book that uses de facto in the first paragraph of the book abstract. +mt 07:20, 8 December 2008 (UTC)
Fair use rationale for Image:R gui on os x.png

Image:R gui on os x.png is being used on this article. I notice the image page specifies that the image is being used under fair use but there is no explanation or rationale as to why its use in this Wikipedia article constitutes fair use. In addition to the boilerplate fair use template, you must also write out on the image description page a specific explanation or rationale for why using this image in each article is consistent with fair use.
Please go to the image description page and edit it to include a fair use rationale. Using one of the templates at Wikipedia:Fair use rationale guideline is an easy way to insure that your image is in compliance with Wikipedia policy, but remember that you must complete the template. Do not simply insert a blank template on an image page.
If there is other fair use media, consider checking that you have specified the fair use rationale on the other images used on this page. Note that any fair use images uploaded after 4 May, 2006, and lacking such an explanation will be deleted one week after they have been uploaded, as described on criteria for speedy deletion. If you have any questions please ask them at the Media copyright questions page. Thank you.
BetacommandBot (talk) 20:00, 26 November 2007 (UTC)
GNU R
What is GNU R (redirect)? --Abdull (talk) 16:48, 8 February 2008 (UTC)
Comparo
Might be nice to see a comparison between R and S-Plus in this page. Message me if you would be willing to help put something rudimentary together. Swism (talk) 15:17, 25 February 2008 (UTC) There is an R FAQ on this topic: http://cran.r-project.org/doc/FAQ/R-FAQ.html#R-and-S —Preceding unsigned comment added by 71.235.36.31 (talk) 02:57, 22 November 2010 (UTC)
Merger proposal
Maybe there should be a distinction between R as a programming language and the capabilities of R in statistical analysis, but we would need to know the intentions of expansion for the "R Statistics" article. Presently the contents seems very similar. Melcombe (talk) 09:23, 13 June 2008 (UTC)
- I think it should be ok to go ahead and merge. There isn't enough content at this point - we can always split off again later. I'll get onto this if no one else is doing it.--Fangz (talk) 15:31, 14 June 2008 (UTC)
Split Features
I would like to separate the "Features" section into "Statistical Features" and "Programming Features." The reason is that a computer science student studying computer languages needs a different description R than a student trying to apply statistical techniques as part of a course. The statistics student wants to get to whether R has the method (OLS, ANOVA, GLM, Survival Curves) they need ASAP; while the computer science student wants to classify the language (command line interpreter with functional and object oriented features) and perhaps have a description of data structures (matrices and lists), assignment statement ("<-" instead of "=") conditional statements (IF) and iteration statements (loops). —Preceding unsigned comment added by Jim.Callahan,Orlando (talk • contribs) 17:16, 5 July 2010 (UTC) Jim.Callahan,Orlando (talk)
Milestones
Why do the explanations for the Milestones stop after 2.4.1 ? It does not make much sense to simply name version numbers. --Asdirk (talk) 11:11, 8 July 2008 (UTC)
- Hi Dirk! Done. Greetings from Vienna. -- Alfie (talk) 23:47, 8 July 2008 (UTC)
- This section is becoming ungainly and could benefit from major summarization. For example, the repeated notes about bug fixes and "maintenance/development release" are not particularly interesting. Even many of the technical changes (tcltk event loop with X11, etc) are not relevant for an introductory article to R. More interesting might be to note that version 2.7 was the 10th anniversary of R. Instead of repeatedly referring to mailing list articles with the changes, why not just have one link to the NEWS file: https://svn.r-project.org/R/trunk/NEWS? Have a look at the historical timeline section of the S-Plus page or the history section of the S page for ideas. -- kwstat. —Preceding unsigned comment added by 170.54.58.4 (talk) 16:54, 9 July 2008 (UTC)
- I started this section a while back to focus only on the big changes, and skipped releases that didn't offer anything of significance. I think we can cut out a few versions, as suggested above. Of course, it is sometimes a bit difficult to gauge what is important and significant from the releases. +mt 18:48, 9 July 2008 (UTC)
- Hi kwstat! Start slicing. ;-) -- Alfie (talk) 21:49, 9 July 2008 (UTC)
- This section is becoming ungainly and could benefit from major summarization. For example, the repeated notes about bug fixes and "maintenance/development release" are not particularly interesting. Even many of the technical changes (tcltk event loop with X11, etc) are not relevant for an introductory article to R. More interesting might be to note that version 2.7 was the 10th anniversary of R. Instead of repeatedly referring to mailing list articles with the changes, why not just have one link to the NEWS file: https://svn.r-project.org/R/trunk/NEWS? Have a look at the historical timeline section of the S-Plus page or the history section of the S page for ideas. -- kwstat. —Preceding unsigned comment added by 170.54.58.4 (talk) 16:54, 9 July 2008 (UTC)
Kate
I don't think Kate has a special mode for R. Refer to : http://www.google.co.nz/search?hl=en&as_q=&as_epq=R+programming+language&as_oq=&as_eq=&num=10&lr=&as_filetype=&ft=i&as_sitesearch=http%3A%2F%2Fkate-editor.org%2F&as_qdr=all&as_rights=&as_occt=any&cr=&as_nlo=&as_nhi=&safe=images
Mrfebruary (talk) 11:51, 8 July 2008 (UTC)
- It looks like it has a R syntax highlighting module: http://kate-editor.org/syntax/2.5/r.xml. You can find it from the referenced page [2] Calimo (talk) 16:50, 7 December 2008 (UTC)
Advertising?
I've removed Statistica from the list of interfaces to R, since, AFAIK, there are no bridges bewteen these two programs...
If I'm wrong, please revert. —Preceding unsigned comment added by 83.89.137.189 (talk) 16:12, 19 August 2008 (UTC)
Yes there is a bridge Lebatsnok (talk) 12:29, 22 March 2011 (UTC)
The reference to Tibco Spotfire appears (to me) to be advertising. Of more general interest would be that the leading statistical and data base vendors: SAS, SPSS and Oracle have all implemented interfaces to R. Jim.Callahan,Orlando (talk)
Portal:Free software selected article: R
Just to let you know. The purpose of selecting an article is both to point readers to the article and to highlight it to potential contributors. It will remain on the portal for at least a week. The previous selected article was Sugar (GUI) - the OLPC's desktop interface which has been spun-off.
For other interesting free software articles, you can take a look at the archive of PFS's selectees. Gronky (talk) 02:16, 8 January 2009 (UTC)
- The new selectee is Freenet - an anonymous filesharing system. Gronky (talk) 19:38, 13 April 2009 (UTC)
Example of syntax
New to R, I was looking for a very simple example of syntax. Would a short example like this improve the article:
> x <- c(1,2,3,4,5,6) # Create ordered collection > y <- x^2 # Square the elements of x > mean(y) # Calculate arithmic mean of y [1] 15.16667 > var(y) # Calculate variance (unbiased estimate) [1] 178.9667
User:Nillerdk (talk) 10:40, 13 February 2009 (UTC)
- Remember that Wikipedia is not an instruction manual, and that R implements the S language. Perhaps a simple example of the S programming language could be included in that article, but not for tutorial purposes. A link to a tutorial might be permitted. -- Schapel (talk) 18:40, 13 February 2009 (UTC)
- A realistic, multiline example would definitely be helpful in this article (as in other programming language articles); "Hello, world" doesn't really tell you much. An example is not the same thing as a tutorial or an instruction manual. For that matter, an overview of the language's syntax and semantics would be useful as well. Of course, it should not be at the level of detail you'd find in a reference manual.
- R is indeed largely based on S, and WP shouldn't repeat itself. But for now neither article includes much information about the language(s). We can figure out how to organize it better after we write it.... --macrakis (talk) 21:11, 13 February 2009 (UTC)
- Wikipedia is certainly not an instruction manual, but also not a classical printed encyclopedia with very constrained space and no room for examples. And an example of syntax (even "Hello, World") gives the reader (at the very least) a feeling for the language which enabled him/her to understand the more elaborate description in the text better. Can you maybe suggest a better example of syntax than the one I came up with? I think some example should really be there. User:Nillerdk (talk) 23:32, 13 February 2009 (UTC)
- Hello, World is not very informative in R:
> "Hello, World" "Hello, World"
- I would submit that some code might suggest how unusual S4 objects are for programing. i.e. Something about how summary is called or plot. PDBailey (talk) 03:16, 14 February 2009 (UTC)
- I've added a simple example along those lines. -- Avenue (talk) 02:21, 23 April 2009 (UTC)
- I would submit that some code might suggest how unusual S4 objects are for programing. i.e. Something about how summary is called or plot. PDBailey (talk) 03:16, 14 February 2009 (UTC)
We need to split "Features" as noted above. R is a hybrid it is both a collection of statistical packages comparable to SAS or SPSS and a programming language comparable to Fortran, C#, APL or Matlab. As a programming language R is a command line interpreter similar to BASIC or Python, type 2+2 at the prompt and press enter and the computer replies with 4.
> 2+2
[1] 4
But, the example is deceptively simple because R implements matrices, so R can from the command line add or even invert matrices without loops. R's data structures include scalars, vectors, matrices, data frames (similar to tables in a relation database) and lists. The R object system has been extended by package authors to define objects for regression models, time-series and geo-spatial coordinates.
R supports functional programming with functions and object oriented programming with generic functions. Jim.Callahan,Orlando (talk) —Preceding undated comment added 17:48, 5 July 2010 (UTC).
External links
I removed lots of external links, following WP:External links guidance to keep them at minimum. I added a link to Dmoz where the selection of good links should already have been done. I also removed "sources" that were actually hidden external links to home pages of various packages, not secondary sources. Calimo (talk) 07:22, 4 June 2009 (UTC)
- WP:EL is still valid. Please do not transform this article into a linkfarm. If you think an EL is especially relevant and conforms to WP:EL, please discuss here first. Calimo (talk) 07:11, 25 August 2009 (UTC)
- Sorry I didn't see your 4 June messsage before reverting. --macrakis (talk) 13:47, 25 August 2009 (UTC)
- I'm reintroducing some of the productivity tools. For example, someone removed the links to the R search engines. That was extremely useful. By removing all of that content, you made the article much less valuable--hardly worth directing students here now. --Anthon.Eff (talk) 20:05, 20 September 2009 (UTC)
- Remember that wikipedia is not a manual or a textbook for students. It is an encyclopedia Please see Wikibooks for that. (You may or may not have noted that there is a link to a book called R programming in the external link section) To make the article really valuable, you need to enter this information in the body of the text (think about a section "Finding information about R"). NOT in the external links section.
- Take a look at what I restored--it was NOT in the external links section.--Anthon.Eff (talk) 19:40, 2 October 2009 (UTC)
- Yes, exactly, they weren't and that's the problem, because WP:EL states that external links should normally not be in the body of the article but in a separate section. Calimo (talk) 07:46, 10 October 2009 (UTC)
- Take a look at what I restored--it was NOT in the external links section.--Anthon.Eff (talk) 19:40, 2 October 2009 (UTC)
- Remember that wikipedia is not a manual or a textbook for students. It is an encyclopedia Please see Wikibooks for that. (You may or may not have noted that there is a link to a book called R programming in the external link section) To make the article really valuable, you need to enter this information in the body of the text (think about a section "Finding information about R"). NOT in the external links section.
- I'm reintroducing some of the productivity tools. For example, someone removed the links to the R search engines. That was extremely useful. By removing all of that content, you made the article much less valuable--hardly worth directing students here now. --Anthon.Eff (talk) 20:05, 20 September 2009 (UTC)
- Additionally, Wikipedia:External links advises agains multiple linkings to the same site. I see that r-project.org is linked multiple times. We should really avoid that. I believe the homepage is sufficient and contains links to all the sub-projects. Calimo (talk) 06:32, 2 October 2009 (UTC)
- "We should really avoid that." Huh? Why? On some articles, like this one about an enormous open-source project, it makes perfect sense to link multiple times. No one is puffing their product or their website here.--Anthon.Eff (talk) 19:40, 2 October 2009 (UTC)
- Why? Just because wikipedia is not a manual: Wikibooks is. The R progamming book would be a perfect place to add these practical external links. Not wikipedia. But it looks like I'm the only one to think that. Calimo (talk) 07:46, 10 October 2009 (UTC)
- Right now there is a link to "New Zealand", and to "Operating Systems", but the link to R-Forge has been removed. There are links to C, Fortran, but not to CRAN. I just don't get it. If a user comes to this page to read about R, are they more likely to want to know where to find information about New Zealand or R-Forge?--Statr (talk) 19:29, 5 October 2009 (UTC)
Larger font makes Examples section's code and graphic overlap
If you make the font significantly larger the Examples section's code and graphic overlap. -- Dougher (talk) 02:07, 29 July 2009 (UTC)
Adding a link to "R-bloggers"
Hi all,
I built a website that aggregates many blogs (about 30 35 at the moment) who writes about R, called:
To my knowledge, it is the only place there is to find this list of R bloggers (and get updates of their posts).
Since I built the website, I won't add the link myself. But still, is it important enough in order to be added as a link to the article about R?
Best,
Talgalili (talk) 14:35, 7 January 2010 (UTC)
- (disclaimer: I read that blog) As an external link, this might be appropriate. I would support it more strongly if this article had a problem with many individual blogs getting added indiscriminantly, but I am not sure that problem exists. Nonetheless, while I am hesitant in general to add such pages to articles, I would not object. Aside, kudos for revealing your involvement and asking for community support first. Baccyak4H (Yak!) 16:50, 7 January 2010 (UTC)
- Thank you Baccyak for the support and the kind words! Best, Talgalili (talk) 22:27, 8 January 2010 (UTC)
- Dear Talgalili,
- My opinion is that there are already too much links per WP:EL, and that most of them should be removed (they could possibly appear on Wikibooks, though). Links to blogs should normally be avoided according to section 4, item 11 of WP:EL, but so is linking to multiple pages of the same website (section 1 item 4 of WP:EL), manufacturers/suppliers (4.14), open wikis (4.12), etc. Most of the current links fall under one of these criteria.
- I tried enforcing that guideline previously (see two sections above), but I didn't get a consensus. So just ignore all rules as do the other editors of this article and many others, and go on with it. Keep in mind that someone may remove it later.
- Calimo (talk) 10:56, 9 January 2010 (UTC)
- PS : kudos as well for disclosing your conflict of interest. Wikipedia would certainly be better if all editors were behaving as you did.
- Hello Calimo.
- First, thank you for the detailed answer.
- Regarding adding the link, I will wait another day or two to see what others are thinking about it. No point in forcing something that others would disapprove.
- Lastly, I would like to comment about what you wrote regarding the link itself. R-bloggers, to my view, present a unique source for articles about R. It present something that no other link on the Article page offers (that is also the reason I built it in the first place).
- I agree with you that some of the current links on the page deserve to be removed. But others, I personally feel, should go there that currently aren't. For example, the growing http://crantastic.org/ website, which is a wonderful endeavor.
- With all the best, Talgalili (talk) 19:19, 9 January 2010 (UTC)
- Thank you Baccyak for the support and the kind words! Best, Talgalili (talk) 22:27, 8 January 2010 (UTC)
O.k people, I am going to add the link. Thank you for your opinion. Talgalili (talk) 22:22, 10 January 2010 (UTC)
Displaying R language in Wikipedia
I've tried to add R code on a talk page, using Wikipedia's <source lang="R">...</source> but I get an error saying that language doesn't exist. Does anyone know to get it added? The language "S" doesn't exist either.
Quoting R code in Wiki pages would be useful, e.g. the code used to produce plots of statistical distributions like Binomial distribution. Tayste (edits) 21:38, 9 February 2010 (UTC)
- The good news is that this is incorporated in the latest stable version of GeSHi (the syntax highlighter), v 1.0.8.6, and it seems to work okay. (For an example, go here within the next week and click on the "Highlight" button.) The bad news is that Wikipedia is still using 1.0.8.4. Here is the bug report for the last upgrade, and a new request asking for it to be upgraded again. It couldn't hurt to go vote for it. -- Avenue (talk) 02:19, 12 February 2010 (UTC)
- Thanks for the heads up - I just went and voted... —Preceding unsigned comment added by Talgalili (talk • contribs) 05:03, 12 February 2010 (UTC)
Number of R packages available
How many R packages are available for free from CRAN? Anwar (talk) 12:30, 12 April 2010 (UTC)
- Currently, the CRAN package repository features 2322 available packages.
- http://cran.r-project.org/web/packages/
- Talgalili (talk) 14:41, 12 April 2010 (UTC)
As of Nov 2010 its between 2300 and 2450 depending on your OS. —Preceding unsigned comment added by 71.235.36.31 (talk) 03:00, 22 November 2010 (UTC)
Creating a new section (under GUI section) - "building R gui modules"
Hi all, I found there are multiple ways for building R GUI modules, such as:
- traitr - An interface for creating GUIs modeled in part after the traits UI module for python.
- deducer plugins
- gWidgets - gWidgets provides a toolkit-independent API for building interactive GUIs.
And I imagine there are more.
Do you think it is worth giving them a short survey in the article?
(I wasn't sure, that's why I am asking)
Best, Talgalili (talk) 05:24, 29 April 2010 (UTC)
Software that embeds/uses R
The Feature section mentions two other software packages that use R (TIBCO Spotfire and Weka). I would suggest to remove these two and make a general comment: "The R language can also be embedded into other software packages". There are quite a lot of projects that embed R, mentioning TIBCO and Weka seems a bit out of place. SiggyF (talk) 22:26, 16 June 2010 (UTC)
- Hi Siggy,
- I am still on the fence on the subject. What other projects can you mention ? —Preceding unsigned comment added by Talgalili (talk • contribs) 06:54, 18 June 2010 (UTC)
external links
I think the external links be winnowed. Some things are obvious keeps like the extensive other wiki links. However other things are not really necessary. If you want the link, the relevant policy is WP:EL.
In addition to the wikibook, wikiversity and commons category, I'd suggest keeping
- The R Project for Statistical Computing (project's home page)
- The R wiki is a community wiki for R.
- R books has an extensive list (with brief comments) of books related to R.
- The R Graphical Manual provides a collection of R graphics from all R packages, as well as an index to all functions in all R packages.
- The R Wikibook.
Remember, links are not included because they are useful but because they are subject to copyright and would otherwise be included on Wikipedia (plus the R main page). So news and searches aren't really relevant. 018 (talk) 16:21, 20 September 2010 (UTC)
- Hello 018, thank you for the cleanup job.
- Being the creator of the link www.r-bloggers.com, I am not going to reinsert it to the links myself, due to my conflict of interest (also see the dialog I had on this topic [3] at the beginning of this year.
- However, please note that a similar argument to the inclusion of the link to "R journal" could be applied to R-bloggers, the only difference is that R-bloggers is not pear reviewed. It does, however, aggregate content (only about R!) from over 115 bloggers with mostly high quality (bloggers who write about R are mostly doctoral students, and also includes many professors who are in the field).
- I leave this to the decision of you and the other editors.
- Talgalili (talk) 04:41, 24 September 2010 (UTC)
- I tend to agree with Talgalili that his R-Bloggers aggregator is worth including in the External Links section, as is a link to the R Journal. Both
- contain neutral and accurate material that is relevant to an encyclopedic understanding of the subject and cannot be integrated into the Wikipedia article due to copyright issues, amount of detail (such as professional athlete statistics, movie or television credits, interview transcripts, or online textbooks), or other reasons.
- as discussed in WP:EL, section 3.1, point 3. While both may be found by browsing through r-project.org, the first stop for information by most people will be Wikipedia. I think it would be a mistake for us to strip this access to significant knowledge from the article. As for possible violations of the WP:EL guideline section 4, item 11, the R-Bloggers aggregator is not technically a blog, and some of the blogs aggregated there are by recognized authorities, either in their field or in the use of R.
- Disclosure: I follow the R-Bloggers aggregator, a few my own blog posts are aggregated there, and I read (but do not edit or contribute to) the R Journal. Tom Hopper (talk) 11:38, 24 September 2010 (UTC)
- If linking to a blog is explicitly stated, I don't see how linking to an aggregator is any better. I do agree that a link to the blog is technically allowed for people with Wikipedia pages, but I'm not sure even that is a good idea since I think it would over emphasize that one blog when there are so many.
- As for The R journal, I'd be okay adding that back. My main concern was that I thought you weren't supposed to link to a domain twice, but I don't see that rule in EL, so maybe I'm nuts. 018 (talk) 13:48, 24 September 2010 (UTC)
- Hello 018, you wrote "I think it (linking to R-bloggers) would over emphasize that one blog when there are so many."
- That might be the case. But at the same time, R-bloggers is the only place on-line where you have the list of all the R-bloggers. Before I started it, no one even knew there where so many bloggers (at the time, I had only known of about 8 R bloggers). If you wish, you could link only to that list. Talgalili (talk) 14:43, 30 September 2010 (UTC)
- Talgalili, I think it is great that you did this, and I think it is a great thing to have on the web. However, linking to the aggregator is not within the scope of Wikipedia. I removed rseek for the same reason--it is/was a great site and has been very useful to me, but it does not follow the rule of something that I would include if it weren't protected by copyright. 018 (talk) 15:19, 30 September 2010 (UTC)
- That's fair. Cheers, Talgalili (talk) 21:27, 1 October 2010 (UTC)
- Talgalili, I think it is great that you did this, and I think it is a great thing to have on the web. However, linking to the aggregator is not within the scope of Wikipedia. I removed rseek for the same reason--it is/was a great site and has been very useful to me, but it does not follow the rule of something that I would include if it weren't protected by copyright. 018 (talk) 15:19, 30 September 2010 (UTC)
internal vs external links
I recently remove many external links and replaced many external links with internal links. this was undone in this edit. The edit summary linked to WP:WTAF.
I don't understand this for many reasons. First, the nutshell says, "Editors are encouraged to write the article on a given subject BEFORE adding a link to the article to list pages, disambiguation pages, or templates." but this isn't a list page, a DAB or a template. Second, it makes no references of replacing red internal links with external links.
Most importantly, external links on Wikipedia should generally be in a section at the end, and many of the concepts linked to really should be external links.
Finally, as a general rule, if you don't like part of many edits, you should go through and fix that part. 018 (talk) 18:08, 2 October 2010 (UTC)
- The issue at hand was the large number of redlinks created by the edits that were reverted. Internal links have no use if the articles they purportedly link to do not exist. Hence the reversion to a version which left functioning links, albeit external. --Alan the Roving Ambassador (talk) 21:23, 2 October 2010 (UTC)
- The Wikipedia policy that is relevant is WP:EL. I can't find the spot where it says that external links are better than no or red links. Maybe you can point me to it. What I do see is that a link to the official website is allowed and that links that are to material that would be included if the article were of featured article status, would be allowed. Essentially, by saying that you think the external links should eventually go away, you are saying that they should never be there. 018 (talk) 21:54, 2 October 2010 (UTC)
- Please don't put words in my mouth. What I am saying is that if external links are to be replaced with wikilinks, the articles being wikilinked to need to exist first. Hence my application of WP:WTAF. --Alan the Roving Ambassador (talk) 22:00, 2 October 2010 (UTC)
- You are saying that the version you prefer is better than the version I prefer. There are three options. (1) largely remove external links from the body, replacing some with red links, (2) largely remove external links from the body, unlinking those that would become red, (3) keep external links in the body. Since the external links are not inline with the policy WP:EL, 1 or 2 are the viable options. WTAF is an essay, what is more, even it claim to no apply in its nutshell text (see my first comment). 018 (talk) 23:06, 2 October 2010 (UTC)
- Again, you are putting words in my mouth. My statement, verbatim, is that if external links are to be replaced with wikilinks, the aticles being wikilinked to need to exist first. As further reversion to avoid loss of information would potentially place me in violation of WP:3RR, I'm going to step back and ask for an outside opinion. --Alan the Roving Ambassador (talk) 00:06, 3 October 2010 (UTC)
- You are saying that the version you prefer is better than the version I prefer. There are three options. (1) largely remove external links from the body, replacing some with red links, (2) largely remove external links from the body, unlinking those that would become red, (3) keep external links in the body. Since the external links are not inline with the policy WP:EL, 1 or 2 are the viable options. WTAF is an essay, what is more, even it claim to no apply in its nutshell text (see my first comment). 018 (talk) 23:06, 2 October 2010 (UTC)
- Please don't put words in my mouth. What I am saying is that if external links are to be replaced with wikilinks, the articles being wikilinked to need to exist first. Hence my application of WP:WTAF. --Alan the Roving Ambassador (talk) 22:00, 2 October 2010 (UTC)
- The Wikipedia policy that is relevant is WP:EL. I can't find the spot where it says that external links are better than no or red links. Maybe you can point me to it. What I do see is that a link to the official website is allowed and that links that are to material that would be included if the article were of featured article status, would be allowed. Essentially, by saying that you think the external links should eventually go away, you are saying that they should never be there. 018 (talk) 21:54, 2 October 2010 (UTC)
![]() |
I have reviewed the edit in question, and the discussion above. As O18 pointed out, WP:WTAF is an essay, not a guideline or policy; it holds no official weight, being merely one editor's opinion. Even if it were a guideline or policy, it would not apply in this circumstance, as it refers to "lists, to templates or to disambiguation pages", and this article is none of those. Therefore, WP:WTAF offers no support whatsoever for Alan's theory that "if external links are to be replaced with wikilinks, the articles being wikilinked need to exist first." In fact, that theory is contrary to WP:REDLINK, which is a guideline. O18 also correctly reads WP:EL, which prohibits external links of the type that they removed and replaced with wikilinks. That said, I have to say that some of those external links could likely be turned into references using Template:cite web, which might be a good compromise. If that's not acceptable to all involved, then the alternative, constrained by WP:EL and WP:REDLINK, is to remove the external links and optionally replace them with red wikilinks.—⌘macwhiz (talk) 02:56, 3 October 2010 (UTC) |
- If something clearly would be a quality reference, I'm all for adding it, and I think a few of these might fall into that catagory.
- Just to lay out my agenda, someone nominated this page for GA status. I'm trying to help that along by getting rid of the really obvious policy violations that I couldn't argue IAR against with a straight face. Right now, a huge problem with the article is that there is one secondary source (the NYT article), one blog post and everything else is basically press releases. I don't see how adding a bunch of link to corporate/project pages is going to help that. 018 (talk) 03:56, 3 October 2010 (UTC)
- I stand corrected on my interpretation of the policies and guidelines in question.
- I'd be all for seeing some of the redlinked references converted to Template:cite web instances. It would maintain the original (and, subjectively, useful) content, and would also avoid potential issues with new-article creation where another editor may question the relevance of said article and nominate it for deletion under CSD:A7 (although such nominations are often rejected under WP:NOTCSD). --Alan the Roving Ambassador (talk) 23:23, 3 October 2010 (UTC)
Statistical Features
I think the description of R needs to be at least as sophisticated as those of other programming languages.
I absolutely agree and support your suggestion for addition to the article. Talgalili (talk) 07:54, 23 November 2010 (UTC)
- R is designed to be a true computer language? What on earth is a true computer language? If we describe what we mean by true computer language with R in mind, then I think we'll be more successful in elaborating the featues of R.
- it allows users to add additional functionality by defining new functions - This phrase doesn't mean much and could actually be misleading. We should probably say that users can add functions to R (which is hardly a highlight). In its current form, this seems to somehow mean that being easily extensible is a feature of R, which I would think is hardly the case (at least not case enough to be highlighted in the introduction to R). We should probably just say that R is easily extensible through functions and extensions, and the R community is noted for its active contributions in terms of package. But this point is anyway iterated in the second paragraph.
- Many of R's standard functions are written in the language (in what language?) should be Many of R's standard functions are written in R itself.
Programming Features
- When I look at this section, I want to be able to know at once the aspects of R as a programming language. What are the paradigms that R supports? Procudural? Object-Oriented? Functional? And how well does it support those paradigms? How does it do the memory management? Is it interpreted or compiled? A reader shouldn't have to scout through the loose collection of inexpressive text to find out such information, particularly if the heading says Programming Features.
- As a programming language, R is a command line interpreter similar to BASIC or Python. R is a command line interpreter?! Should be the standard implementation of R (provided by R Development Core Team) comes with a command line interpreter (but other guis exist etc).
- The above example is deceptively simple because, like APL, R implements matrices, so R can from the command line add or even invert matrices without explicit loops. errr... where is the matrix? and do we really have to say all that to explain how R is great at adding 2+2?
- A generic function acts differently depending on the type of arguments it is passed. In other words the generic function recognizes the type of object and selects (dispatches) the function (method) specific to that type of object. For example, R has a generic print() function that can print almost every type of object in R with a simple "print(objectname)" syntax. why are we describing generic function in so much detail even after the necessary and given wikipedia link? We should simply say that because R has generic functions, print(objectname) can do blah blah blah.
- Extending R is also eased by its permissive lexical scoping rules. Now this is what should have been described in more detail rather than generic functions. I am not competent to do that though. -- unsigned comment by User:Obelanna 2010-11-09T07:06:04
Obelanna
GUIs
Most people who read this page are not going to care in the least that R can be run inside gretl, for one example. The ever-growing list of GUIs should be moved to the R wiki.--Statr (talk) 20:55, 30 November 2010 (UTC)
- Hello Statr,
- I respectfully disagree with your opinion. Since the subject matter is a language for doing statistics, and since the dominant softwares available are GUI based (e.g: sas, SPSS, JMP, excel and so on), I believe there is much of a point to include the GUI perspective of R (especially for the day they will be able to offer a good competition for the commercial products). As to how this section should be organized, that's a good question for discussion - but should it exist - I think the answer is yes.
- p.s: I think even fewer people interested in R GUI will visit the R wiki....
- Cheers, Talgalili (talk) 21:55, 2 December 2010 (UTC)
- Just try Googling for some of the GUIs. For example, 'nexusBPM' has only 1300 hits, which is not significantly different from 0. In other words, nobody cares (other than the developer). Maybe a few of the GUIs are relevant, but most of the ones listed are not. Remember the target audience--Wikipedia is a general-purpose encyclopedia, not a reference book for R hackers.--Statr (talk) 15:02, 6 December 2010 (UTC)
- I Statr, I agree with you on that we shouldn't care so much about keeping a link to every R GUI out there. But the major ones should be mentioned (Rcmdr, Deducer), they ARE big. The "smaller" ones should also be kept (like red-r), since they are "of interest". Connections to known softwares (like RExcel), I believe are also important. But you are right that there should be a limit. The GUI you mentioned is border-line for me (I never heard of it, and don't know how relevant it is). Do you have a criteria to suggest for who to remove? (number of google hits is o.k., but I'm not sure where to draw the line). Best, Talgalili (talk) 17:29, 6 December 2010 (UTC)
GUI vs IDE list?
Hi all,
I'm going through the two lists of IDEs and GUIs and they seemed to be rather mixed one into the other (especially I see GUI items that are only IDEs).
I wonder if these two sections should be merged, and/or maybe have a standard format for both.
What do you think about it??
Talgalili (talk) 13:15, 3 March 2011 (UTC)
- Agree they need merging. Suggest either a paragraph format (not a list), or perhaps linking to a new page, perhaps something like Comparison_of_statistical_packages Statr (talk) —Preceding undated comment added 15:08, 28 March 2011 (UTC).
"Commercial support for R" section??
A user CeciliaPang has added the following section:
- In 2007, Revolution Analytics was founded to provide commercial support for a version of R that it developed for clusters of workstations called ParallelR. In 2011, the ability for reading and writing data in the SAS File Format was first added in Revolution's Enterprise R.[1]
And while I personally think that REvolution existence is a great thing for the R community, It seems to me that this section is a bit biased. A better example of how such a section might be done is this:
http://en.wikipedia.org/wiki/Linux#Commercial_and_popular_uptake
I'd be glad to know what other editors think about this.
Talgalili (talk) 12:56, 25 March 2011 (UTC)
- I support mentioning Revolution R in some capacity. Statr (talk) —Preceding undated comment added 13:35, 25 March 2011 (UTC).
- I agree Statr. But do you think we should re include the paragraph I removed, or put it in in another way? Talgalili (talk) 19:50, 25 March 2011 (UTC)
- Could be mentioned in the "Milestones". Or at the end of the first section, before the table of contents.
- I agree Statr. But do you think we should re include the paragraph I removed, or put it in in another way? Talgalili (talk) 19:50, 25 March 2011 (UTC)
Is this a typo?
The first of the external links reads
"Official website, open source implementation of S"
When I click on it, I'm taken to a site about R. Is the "S" a typo? If not, is there an explanation somewhere in here?
- It's correct, but misleading. Yes R is an implementation of the S language. Tayste (edits) 02:24, 1 June 2011 (UTC)
Programming features
This entire section seems a bit misleading.
It starts: "As a programming language, R is a command line interpreter". I would say it has rather than is a CLI.
It's compared to Python and BASIC so as an example from the Python page: "Python is an interpreted, general-purpose high-level programming language"
You could say: "R is an interpreted, high-level programming language that offers a command line interpreter" instead for a minor edit. R is already listed on the Interpreted language page so I think it's justified at least partially by that for consistency. However, I think this section could probably benefit from a deeper rework. The fact that R offers a CLI is probably not that important and it's discussion doesn't offer much information over the general CLI article.