Talk:R Programming

Book Title
I love this idea of "R programming language", and can contribute some things .. however, shouldn't the title/naming structure be more in-line with other WikiBooks? Take for instance "Python Programming", "Programming:Perl", "Programming:Ruby", "MATLAB Programming". Could I suggest moving this to: I realize I'm not really creative with these titles, but they are in-line with the other programming series. My vote goes to #2 so far .. do I hear any other votes/suggestions? I will move this WikiBook this in the next week if I do not hear any talk here. This move should be done before any significant portions are added. mwtoews 05:41, 24 July 2006 (UTC)
 * 1) "Programming:R"
 * 2) "R Programming"


 * My vote goes for alternative 2 - "R Programming". --Orderud 21:15, 24 July 2006 (UTC)


 * Great, I'll move it now. — mwtoews 04:37, 17 August 2006 (UTC)

Syntax Highlighting
Would it be possible to color in red lines beginning with the ">" symbol in the "pre" environment and in blue the other ones ? PAC (talk) 14:44, 1 July 2009 (UTC)
 * Not sure other than around everyhing. Try asking at Reading room/Technical Assistance. - Taxman (talk) 18:03, 9 July 2009 (UTC)

I have seen that for some the Csharp programming language or the LaTeX language have syntaxe highlighting with HTML command Talgalili (discuss • contribs) 12:08, 18 June 2011 (UTC)


 * That's great ! I'll try it. PAC2 (discuss • contribs) 09:39, 20 June 2011 (UTC)

Converting from pre to source tags
A lot of the code is in pre tags instead of source tags. I'm using sed to convert the pre to source. pagesource is a file containing the page's wiki markup.

Thomas Levine (discuss • contribs) 17:03, 20 June 2011 (UTC)


 * Great ! Just be careful. Sometimes there is a space before the "80", sometimes there is no space, etc :

,, , PAC2 (discuss • contribs) 23:22, 20 June 2011 (UTC)


 * Good catch! This will take care of the spaces.


 * And actually this one will work for any pre tag.

Thomas Levine (discuss • contribs) 01:07, 21 June 2011 (UTC)

Is there a width argument for the source tag? Any examples near the page currently go underneath the contents box on the right hand side. Other than that I think they might all be done now.

Timcdlucas (discuss • contribs) 06:15, 22 July 2011 (UTC)

Book name
By the way, when I saw this book title I thought of it as a book on programming new methods for R, not a book on how to use R. Programming R can have two conflicting meanings, and it might be better to pick a title such as Using and Programming R or Introduction to R, or something like that. That would more clearly reflect that you don't have to program R at all to use it to do lots of analysis. - Taxman (talk) 18:03, 9 July 2009 (UTC)

Orphaned page
R Programming/Matrix is not linked to by the book. Please link to it, merge it and mark it with, or if it is unneeded mark it with. -- Adrignola talk contribs 16:58, 7 August 2009 (UTC)

copy paste
Dear W'Bookers! It is a pleasure to see that somebody reads and uses the texts also from a smaller projects (comared to WP), like Wikibooks and Wikiversity. Especially these two projects are bound from historical perspective as well as common goal of teaching. Now why I am writing this here: I just found out that the text from How to use R/Installation was copy pasted to R Programming/Settings, which is nice and entirely OK, even if this is a collaborative project with free content, please indicate the source, or add a (crosswiki) link to indicate its origin. Thank you! --Gbaor (talk) 15:09, 2 October 2009 (UTC)

You're right. That's done PAC2 (talk) 14:42, 7 October 2009 (UTC)

Index ?
Is there any wikimedia function which allow to create an index page including all the R functions used in the book ? --PAC2 (talk) 11:35, 13 July 2010 (UTC)
 * I don't think so. I asked someone this (maybe User:Whiteknight?) in IRC a while ago when I was trying to build the index for Linear Algebra, but the end result was I had to do it by hand, which was really a pain.  You might want to bring the idea up in the projects reading room though, there are technically much more savvy people then me running around, maybe they have some idea. Thenub314 (talk) 11:45, 13 July 2010 (UTC)

Style
If you want to contribute, here are some rules :
 * The name of packages should be in bold : Hmisc
 * Name of functions should be included in the code environment :.
 * Examples are included in the pre environment : Example.

PAC2 (discuss • contribs) 14:20, 30 March 2011 (UTC)

See above but examples are included in the "source" environment for automatic syntax highlighting.

Timcdlucas (discuss • contribs) 09:18, 22 July 2011 (UTC)

Good points. I summarized them at R_Programming/Introduction. --DavidCary (discuss • contribs) 19:12, 13 February 2013 (UTC)

Wikipedia links
I don't know what other people think about these things for example:

I personally think they look horrible. On a more objective note they don't float properly and often end up underneath other text and in illogical places. I don't know if they are an important part of the wikibooks style, but I think just blue text links would be better.

Timcdlucas (discuss • contribs) 09:22, 22 July 2011 (UTC)

Ok, you can remove them if you want and add some standard blue text links. -- PAC2 (discuss • contribs) 13:28, 25 July 2011 (UTC)

Consistency
I've spent some time this evening going through and fixing some links to bypass redirects (I know, not really necessary, but I like to do it sometimes) and moving some obviously badly-named pages. In the process, I've noticed some glaring inconsistencies in page titles and navigational links between pages. In particular, we should pick title case or sentence case (only first letter capitalized) and stick with it. We currently have titles like Manage your workspace mixed in with things like Publication Quality Ouput and even Tobit And Selection Models. Also, Template:R Programming/Navbar should probably be "automated" (using parser functions), so we don't have to "hardcode" page titles for "next" and "previous" links at the bottom of pages (if this template is even necessary — it might be considered redundant since we already have Template:R Programming/Navigation on every [?] page). If the template were automated (so it "knows" the sequence of pages), we would only have to keep that one template consistent with the other one, not a bunch of separate template calls on the individual pages. I might start to do some of this soon, but I wanted to give others the chance to beat me to it... - dcljr (discuss • contribs) 00:23, 18 November 2011 (UTC)
 * I agree with your remarks. I really appreciate your work. I don't have enough time to work on this project alone. I don't how to automatically generate a navbar. Cheers,

--PAC2 (discuss • contribs) 11:43, 18 November 2011 (UTC)

Good points. I summarized them in a local manual of style (WB:LMOS) at R_Programming/Introduction, as suggested by Manual of Style. --DavidCary (discuss • contribs) 19:12, 13 February 2013 (UTC)