Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

R (programming language)

From Wikipedia, the free encyclopedia
Programming language for statistics
This article is about the programming language. For the eighteenth letter of the English alphabet, seeR. For other uses, seeR (disambiguation).

R
Terminal window for R
ParadigmsMulti-paradigm:procedural,object-oriented,functional,reflective,imperative,array[1]
Designed byRoss Ihaka andRobert Gentleman
DeveloperR Core Team
First appearedAugust 1993; 31 years ago (1993-08)
Stable release
4.5.1[2] Edit this on Wikidata / 13 June 2025; 29 days ago (13 June 2025)
Typing disciplineDynamic
Platformarm64 andx86-64
LicenseGPL-2.0-or-later[3]
Filename extensions
  • .r[4]
  • .rdata
  • .rhistory
  • .rds
  • .rda[5]
Websiter-project.org
Influenced by
Influenced
Julia[7]pandas[8]

R is aprogramming language forstatistical computing anddata visualization. It has been widely adopted in the fields ofdata mining,bioinformatics,data analysis, anddata science.[9]

The core R language is extended by a large number ofsoftware packages, which containreusable code, documentation, and sample data. Some of the most popular R packages are in thetidyverse collection, which enhances functionality for visualizing, transforming, and modelling data, as well as improves the ease of programming (according to the authors and users).[10]

R isfree and open-source software distributed under theGNU General Public License.[3][11] The language is implemented primarily inC,Fortran, andR itself.Precompiledexecutables are available for the majoroperating systems (includingLinux,MacOS, andMicrosoft Windows).

Its core is aninterpreted language with a nativecommand line interface. In addition, multiplethird-party applications are available asgraphical user interfaces; such applications includeRStudio (anintegrated development environment) andJupyter (anotebook interface).

History

[edit]
Co-originators of the R language
  • Ross Ihaka
    Ross Ihaka
  • Robert Gentleman
    Robert Gentleman

R was started by professorsRoss Ihaka andRobert Gentleman as a programming language to teach introductory statistics at theUniversity of Auckland.[12] The language was inspired by theS programming language, with most S programs able to run unaltered in R.[6] The language was also inspired byScheme'slexical scoping, allowing forlocal variables.[1]

The name of the language, R, comes from being both an S language successor and the shared first letter of the authors, Ross and Robert.[13] In August 1993, Ihaka and Gentleman posted abinary file of R on StatLib — a data archive website.[14] At the same time, they announced the posting on thes-news mailing list.[15] On 5 December 1997, R became aGNU project when version 0.60 was released.[16] On 29 February 2000, the 1.0 version was released.[17]

Packages

[edit]
Main article:R package
refer to caption
Aviolin plot created with the R packageggplot2 for data visualization

R packages are collections of functions, documentation, and data that expand R.[18] For example, packages can add reporting features (using packages such asRMarkdown, Quarto,[19]knitr, andSweave) and support for various statistical techniques (such aslinear,generalized linear andnonlinear modeling, classicalstatistical tests,spatial analysis,time-series analysis, andclustering). Ease of package installation and use have contributed to the language's adoption indata science.[20]

Immediately available when starting R after installation, base packages provide the fundamental and necessary syntax and commands for programming, computing, graphics production,basic arithmetic, and statistical functionality.[21]

An example is thetidyverse collection of R packages, which bundles several subsidiary packages to provide a commonAPI. The collection specializes in tasks related to accessing and processing "tidy data",[22] which are data contained in atwo-dimensional table with a single row for eachobservation and a single column for each variable.[23]

Installing a package occurs only once. For example, to install the tidyverse collection:[23]

>install.packages("tidyverse")

To load the functions, data, and documentation of a package, one calls thelibrary() function. To load the tidyverse collection, one can execute the following code:[a]

># The package name can be enclosed in quotes>library("tidyverse")># But the package name can also be used without quotes>library(tidyverse)

TheComprehensive R Archive Network (CRAN) was founded in 1997 by Kurt Hornik andFriedrich Leisch to host R'ssource code, executable files, documentation, and user-created packages.[24] CRAN's name and scope mimic theComprehensive TeX Archive Network (CTAN) and theComprehensive Perl Archive Network (CPAN).[24] CRAN originally had only threemirror sites and twelve contributed packages.[25] As of 30 June 2025[update], it has 90 mirrors[26] and 22,390 contributed packages.[27] Packages are also available inrepositories such as R-Forge, Omegahat, andGitHub.[28][29][30]

To provide guidance on the CRAN web site, itsTask Views area lists packages that are relevant for specific topics; sample topics includecausal inference,finance,genetics,high-performance computing,machine learning,medical imaging,meta-analysis,social sciences, andspatial statistics.

TheBioconductor project provides packages forgenomic data analysis,complementary DNA,microarray, andhigh-throughput sequencing methods.

Community

[edit]
The R Consortium is one of the three main groups that support R

There are three main groups that help support R software development:

  • The R Core Team was founded in 1997 to maintain the Rsource code.
  • The R Foundation for Statistical Computing was founded in April 2003 to provide financial support.
  • The R Consortium is aLinux Foundation project to develop R infrastructure.

The R Journal is anopen access,academic journal that features short to medium-length articles on the use and development of R. The journal includes articles on packages, programming tips, CRAN news, and foundation news.

UseR! conference is one place the R community can gather at

The R community hosts many conferences and in-person meetups.[b] These groups include:

  • UseR!: an annual international R user conference (website)
  • Directions in Statistical Computing (DSC) (website)
  • R-Ladies: an organization to promotegender diversity in the R community (website)
  • SatRdays: R-focused conferences held on Saturdays (website)
  • Data Science & AI Conferences (website)
  • posit::conf (formerly known as rstudio::conf) (website)

On social media sites such as Twitter, the hashtag#rstats can be used to follow new developments in the R community.[31]

Examples

[edit]

Hello, World!

[edit]

The following is a"Hello, World!" program:

>print("Hello, World!")[1] "Hello, World!"

Here is an alternative version, which uses thecat() function:

>cat("Hello, World!")Hello, World!

Basic syntax

[edit]

The following examples illustrate the basicsyntax of the language and use of the command-line interface.[c]

In R, the generally preferredassignment operator is an arrow made from two characters<-, although= can be used in some cases.[32]

>x<-1:6# Create a numeric vector in the current environment>y<-x^2# Similarly, create a vector based on the values in x.>print(y)# Print the vector’s contents.[1]  1  4  9 16 25 36>z<-x+y# Create a new vector that is the sum of x and y>z# Return the contents of z to the current environment.[1]  2  6 12 20 30 42>z_matrix<-matrix(z,nrow=3)# Create a new matrix that transforms the vector z into a 3x2 matrix object>z_matrix     [,1] [,2][1,]    2   20[2,]    6   30[3,]   12   42>2*t(z_matrix)-2# Transpose the matrix; multiply every element by 2; subtract 2 from each element in the matrix; and then return the results to the terminal.     [,1] [,2] [,3][1,]    2   10   22[2,]   38   58   82>new_df<-data.frame(t(z_matrix),row.names=c("A","B"))# Create a new dataframe object that contains the data from a transposed z_matrix, with row names 'A' and 'B'>names(new_df)<-c("X","Y","Z")# Set the column names of the new_df dataframe as X, Y, and Z.>print(new_df)# Print the current results.   X  Y  ZA  2  6 12B 20 30 42>new_df$Z# Output the Z column[1] 12 42>new_df$Z==new_df['Z']&&new_df[3]==new_df$Z# The dataframe column Z can be accessed using the syntax $Z, ['Z'], or [3], and the values are the same.[1] TRUE>attributes(new_df)# Print information about attributes of the new_df dataframe$names[1] "X" "Y" "Z"$row.names[1] "A" "B"$class[1] "data.frame">attributes(new_df)$row.names<-c("one","two")# Access and then change the row.names attribute; this can also be done using the rownames() function>new_df     X  Y  Zone  2  6 12two 20 30 42

Structure of a function

[edit]

R is able to createfunctions that add new functionality for code reuse.[33]Objects created within the body of the function (which are enclosed by curly brackets) remainaccessible only from within the function, and anydata type may be returned. In R, almost all functions and alluser-defined functions areclosures.[34]

The following is an example of creating a function to perform an arithmetic calculation:

# The function's input parameters are x and y.# The function, named f, returns a linear combination of x and y.f<-function(x,y){z<-3*x+4*y# An explicit return() statement is optional--it could be replaced with simply `z` in this case.return(z)}# As an alternative, the last statement executed in a function is returned implicitly.f<-function(x,y)3*x+4*y

The following is some output from using the function defined above:

>f(1,2)#  3 * 1 + 4 * 2 = 3 + 8[1] 11>f(c(1,2,3),c(5,3,4))# Element-wise calculation[1] 23 18 25>f(1:3,4)# Equivalent to f(c(1, 2, 3), c(4, 4, 4))[1] 19 22 25

It is possible to define functions to be used asinfix operators by using the special syntax`%name%`, where "name" is the function variable name:

>`%sumx2y2%`<-function(e1,e2){e1^2+e2^2}>1:3%sumx2y2%-(1:3)[1]  2  8 18

Since R version 4.1.0, functions can be written in a short notation, which is useful for passing anonymous functions to higher-order functions:[35]

>sapply(1:5,\(i)i^2)# here \(i) is the same as function(i)[1]  1  4  9 16 25

Native pipe operator

[edit]

In R version 4.1.0, a nativepipe operator,|>, was introduced.[36] This operator allows users to chain functions together, rather than using nested function calls.

>nrow(subset(mtcars,cyl==4))# Nested without the pipe character[1] 11>mtcars|>subset(cyl==4)|>nrow()# Using the pipe character[1] 11

Another alternative to nested functions is the use of intermediate objects, rather than the pipe operator:

>mtcars_subset_rows<-subset(mtcars,cyl==4)>num_mtcars_subset<-nrow(mtcars_subset_rows)>print(num_mtcars_subset)[1] 11

While the pipe operator can produce code that is easier to read, it is advisable to chain together at most 10-15 lines of code using this operator, as well as to chunk code intosub-tasks that are saved into objects having meaningful names.[37]The following is an example having fewer than 10 lines, which some readers may find difficult to grasp in the absence of intermediate named steps:

(\(x,n=42,key=c(letters,LETTERS," ",":",")"))strsplit(x,"")[[1]]|>(Vectorize(\(chr)which(chr==key)-1))()|>(`+`)(n)|>(`%%`)(length(key))|>(\(i)key[i+1])()|>paste(collapse=""))("duvFkvFksnvEyLkHAErnqnoyr")

The following is a version of the preceding code that is easier to read:

default_key<-c(letters,LETTERS," ",":",")")f<-function(x,n=42,key=default_key){split_input<-strsplit(x,"")[[1]]results<-(Vectorize(\(chr)which(chr==key)-1))(split_input)|>(`+`)(n)|>(`%%`)(length(key))|>(\(i)key[i+1])()combined_results<-paste(results,collapse="")return(combined_results)}f("duvFkvFksnvEyLkHAErnqnoyr")

Object-oriented programming

[edit]

The R language has native support forobject-oriented programming. There are two nativeframeworks, the so-called S3 and S4 systems. The former, being more informal, supports single dispatch on the first argument, and objects are assigned to a class simply by setting a "class" attribute in each object. The latter is a system like theCommon Lisp Object System (CLOS), with formal classes (also derived fromS) and generic methods, which supportsmultiple dispatch andmultiple inheritance[38]

In the example below,summary() is ageneric function that dispatches to different methods depending on whether itsargument is a numericvector or afactor:

>data<-c("a","b","c","a",NA)>summary(data)   Length     Class      Mode        5 character character>summary(as.factor(data))   a    b    c NA's   2    1    1    1

Modeling and plotting

[edit]
Diagnostic plots for the model from the example code in the "Modeling and plotting" section (q.v. theplot.lm() function). Mathematical notation is allowed in labels, as shown in the lower left plot.

The R language has built-in support fordata modeling and graphics. The following example shows how R can generate and plot alinear model with residuals.

# Create x and y valuesx<-1:6y<-x^2# Linear regression model: y = A + B * xmodel<-lm(y~x)# Display an in-depth summary of the modelsummary(model)# Create a 2-by-2 layout for figurespar(mfrow=c(2,2))# Output diagnostic plots of the modelplot(model)

The output from thesummary() function in the preceding code block is as follows:

Residuals:      1       2       3       4       5       6       7       8      9      10 3.3333 -0.6667 -2.6667 -2.6667 -0.6667  3.3333Coefficients:            Estimate Std. Error t value Pr(>|t|)(Intercept)  -9.3333     2.8441  -3.282 0.030453 *x             7.0000     0.7303   9.585 0.000662 ***---Signif. codes:  0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1Residual standard error: 3.055 on 4 degrees of freedomMultiple R-squared:  0.9583, Adjusted R-squared:  0.9478F-statistic: 91.88 on 1 and 4 DF,  p-value: 0.000662

Mandelbrot set

[edit]
A Mandelbrot set as visualized in R. (Note: The colours in this image differ from the output of the sample code in the "Mandelbrot set" section.)

This example of aMandelbrot set highlights the use ofcomplex numbers. It models the first 20iterations of theequationz = z2 + c, wherec represents differentcomplex constants.

To run this sample code, it is necessary to first install the package that provides thewrite.gif() function:

install.packages("caTools")

The sample code is as follows:

library(caTools)jet.colors<-colorRampPalette(c("green","pink","#007FFF","cyan","#7FFF7F","white","#FF7F00","red","#7F0000"))dx<-1500# define widthdy<-1400# define heightC<-complex(real=rep(seq(-2.2,1.0,length.out=dx),each=dy),imag=rep(seq(-1.2,1.2,length.out=dy),times=dx))# reshape as matrix of complex numbersC<-matrix(C,dy,dx)# initialize output 3D arrayX<-array(0,c(dy,dx,20))Z<-0# loop with 20 iterationsfor(kin1:20){# the central difference equationZ<-Z^2+C# capture the resultsX[,,k]<-exp(-abs(Z))}write.gif(X,"Mandelbrot.gif",col=jet.colors,delay=100)

Version names

[edit]
A CD with autographs on it
A CD of R Version 1.0.0, autographed by the core team of R, photographed in Quebec City in 2019

All R version releases from 2.14.0 onward havecodenames that make reference toPeanuts comics and films.[39][40][41]

In 2018, core R developerPeter Dalgaard presented a history of R releases since 1997.[42] Some notable early releases before the named releases include the following:

  • Version 1.0.0, released on 29 February 2000, aleap day
  • Version 2.0.0, released on 4 October 2004, "which at least had a nice ring to it"[42]

The idea of naming R version releases was inspired by the naming system forDebian andUbuntu versions. Dalgaard noted an additional reason for the use of Peanuts references in R codenames—the humorous observation that "everyone in statistics is aP-nut."[42]

R release codenames
VersionRelease dateNamePeanuts referenceReference
4.5.12025-06-13Great Square Root[43][44]
4.5.02025-04-11How About a Twenty-Six[45][46]
4.4.32025-02-28Trophy Case[47][48]
4.4.22024-10-31Pile of Leaves[49][50]
4.4.12024-06-14Race for Your Life[51][52]
4.4.02024-04-24Puppy Cup[53][54]
4.3.32024-02-29Angel Food Cake[55][56]
4.3.22023-10-31Eye Holes[57][58]
4.3.12023-06-16Beagle Scouts[59][60]
4.3.02023-04-21Already Tomorrow[61][62][63][64]
4.2.32023-03-15Shortstop Beagle[65][66]
4.2.22022-10-31Innocent and Trusting[67][68]
4.2.12022-06-23Funny-Looking Kid[69][70][71][72][73][74][75]
4.2.02022-04-22Vigorous Calisthenics[76][77]
4.1.32022-03-10One Push-Up[76][78]
4.1.22021-11-01Bird Hippie[79][80][78]
4.1.12021-08-10Kick Things[81][82]
4.1.02021-05-18Camp Pontanezen[83][84]
4.0.52021-03-31Shake and Throw[85][86]
4.0.42021-02-15Lost Library Book[87][88][89][90]
4.0.32020-10-10Bunny-Wunnies Freak Out[91][92]
4.0.22020-06-22Taking Off Again[93][94]
4.0.12020-06-06See Things Now[95][96]
4.0.02020-04-24Arbor Day[97][98]
3.6.32020-02-29Holding the Windsock[99][100]
3.6.22019-12-12Dark and Stormy NightSeeIt was a dark and stormy night#Literature[101][102]
3.6.12019-07-05Action of the Toes[103][104]
3.6.02019-04-26Planting of a Tree[105][106]
3.5.32019-03-11Great Truth[107][108]
3.5.22018-12-20Eggshell Igloos[109][110]
3.5.12018-07-02Feather Spray[111][112]
3.5.02018-04-23Joy in Playing[113][114]
3.4.42018-03-15Someone to Lean On[115][116][117][118]
3.4.32017-11-30Kite-Eating TreeSeeKite-Eating Tree[119][120]
3.4.22017-09-28Short SummerSeeIt Was a Short Summer, Charlie Brown[121]
3.4.12017-06-30Single Candle[122][123]
3.4.02017-04-21You Stupid Darkness[122][124]
3.3.32017-03-06Another Canoe[125][126]
3.3.22016-10-31Sincere Pumpkin Patch[127][128]
3.3.12016-06-21Bug in Your Hair[129][130]
3.3.02016-05-03Supposedly Educational[131][132]
3.2.52016-04-11Very, Very Secure Dishes[133][134][135][136]
3.2.42016-03-11Very Secure Dishes[133][137]
3.2.32015-12-10Wooden Christmas-TreeSeeA Charlie Brown Christmas[138][139]
3.2.22015-08-14Fire Safety[140][141][142]
3.2.12015-06-18World-Famous Astronaut[143][144]
3.2.02015-04-16Full of Ingredients[145][146]
3.1.32015-03-09Smooth Sidewalk[147][page needed][148]
3.1.22014-10-31Pumpkin HelmetSeeYou're a Good Sport, Charlie Brown[149]
3.1.12014-07-10Sock it to Me[150][151][152][153][154]
3.1.02014-04-10Spring Dance[103][155]
3.0.32014-03-06Warm Puppy[156][157]
3.0.22013-09-25Frisbee Sailing[158][159]
3.0.12013-05-16Good Sport[160][161]
3.0.02013-04-03Masked Marvel[162][163]
2.15.32013-03-01Security Blanket[164][165]
2.15.22012-10-26Trick or Treat[166][167]
2.15.12012-06-22Roasted Marshmallows[168][169]
2.15.02012-03-30Easter Beagle[170][171]
2.14.22012-02-29Gift-Getting SeasonSeeIt's the Easter Beagle, Charlie Brown[172][173]
2.14.12011-12-22December Snowflakes[174][175]
2.14.02011-10-31Great PumpkinSeeIt's the Great Pumpkin, Charlie Brown[176][177]
r-develN/AUnsuffered Consequences[178][42]

Interfaces

[edit]
Examples of user interfaces for R

R is installed with acommand line console by default, but there are multiple ways to interface with the language:

Statistical frameworks that use R in the background includeJamovi andJASP.[citation needed]

Implementations

[edit]

The main R implementation is written primarily inC,Fortran, andR itself. Other implementations include the following:

Microsoft R Open (MRO) was an R implementation. As of 30 June 2021, Microsoft began to phase out MRO in favor of the CRAN distribution.[183]

Commercial support

[edit]

Although R is anopen-source project, some companies provide commercial support:

  • Oracle provides commercial support for itsBig Data Appliance, which integrates R into its other products.
  • IBM provides commercial support for execution of R withinHadoop.

See also

[edit]

Notes

[edit]
  1. ^This code displays tostandard error a listing of all the packages that the tidyverse collection depends upon. The code may also display warnings showing namespace conflicts, which may typically be ignored.
  2. ^Information about conferences and meetings is available in a community-maintained list on GitHub,jumpingrivers.github.io/meetingsR/
  3. ^An expanded list of standard language features can be found in the manual "An Introduction to R",cran.r-project.org/doc/manuals/R-intro.pdf

References

[edit]
  1. ^abcMorandat, Frances; Hill, Brandon; Osvald, Leo; Vitek, Jan (11 June 2012)."Evaluating the design of the R language: objects and functions for data analysis".European Conference on Object-Oriented Programming.2012:104–131.doi:10.1007/978-3-642-31057-7_6. Retrieved17 May 2016 – via SpringerLink.
  2. ^Peter Dalgaard (13 June 2025)."R 4.5.1 is released". Retrieved14 June 2025.
  3. ^ab"R - Free Software Directory".directory.fsf.org. Retrieved26 January 2024.
  4. ^"R scripts".mercury.webster.edu. Retrieved17 July 2021.
  5. ^"R Data Format Family (.rdata, .rda)".Loc.gov. 9 June 2017. Retrieved17 July 2021.
  6. ^abHornik, Kurt; The R Core Team (12 April 2022)."R FAQ".The Comprehensive R Archive Network. 3.3 What are the differences between R and S?.Archived from the original on 28 December 2022. Retrieved27 December 2022.
  7. ^"Introduction".The Julia Manual. Archived fromthe original on 20 June 2018. Retrieved5 August 2018.
  8. ^"Comparison with R".pandas Getting started. Retrieved15 July 2024.
  9. ^Giorgi, Federico M.; Ceraolo, Carmine; Mercatelli, Daniele (27 April 2022)."The R Language: An Engine for Bioinformatics and Data Science".Life.12 (5): 648.Bibcode:2022Life...12..648G.doi:10.3390/life12050648.PMC 9148156.PMID 35629316.
  10. ^"Home - RDocumentation".www.rdocumentation.org. Retrieved13 June 2025.
  11. ^"R: What is R?".www.r-project.org. Retrieved10 May 2025.
  12. ^Ihaka, Ross."The R Project: A Brief History and Thoughts About the Future"(PDF). p. 12.Archived(PDF) from the original on 28 December 2022. Retrieved27 December 2022.We set a goal of developing enough of a language to teach introductory statistics courses at Auckland.
  13. ^Hornik, Kurt; The R Core Team (12 April 2022)."R FAQ".The Comprehensive R Archive Network. 2.13 What is the R Foundation?.Archived from the original on 28 December 2022. Retrieved28 December 2022.
  14. ^"Index of /datasets".lib.stat.cmu.edu. Retrieved5 September 2024.
  15. ^Ihaka, Ross."R: Past and Future History"(PDF). p. 4.Archived(PDF) from the original on 28 December 2022. Retrieved28 December 2022.
  16. ^Ihaka, Ross (5 December 1997)."New R Version for Unix".stat.ethz.ch.Archived from the original on 12 February 2023. Retrieved12 February 2023.
  17. ^Ihaka, Ross."The R Project: A Brief History and Thoughts About the Future"(PDF). p. 18.Archived(PDF) from the original on 28 December 2022. Retrieved27 December 2022.
  18. ^Wickham, Hadley; Cetinkaya-Rundel, Mine; Grolemund, Garrett (2023).R for Data Science, Second Edition.O'Reilly. p. xvii.ISBN 978-1-492-09740-2.
  19. ^"Quarto".Quarto. Retrieved5 September 2024.
  20. ^Chambers, John M. (2020)."S, R, and Data Science".The R Journal.12 (1):462–476.doi:10.32614/RJ-2020-028.ISSN 2073-4859.The R language and related software play a major role in computing for data science. ... R packages provide tools for a wide range of purposes and users.
  21. ^Davies, Tilman M. (2016). "Installing R and Contributed Packages".The Book of R: A First Course in Programming and Statistics. San Francisco, California: No Starch Press. p. 739.ISBN 9781593276515.
  22. ^Wickham, Hadley (2014). "Tidy Data" (PDF).Journal of Statistical Software.59 (10).doi:10.18637/jss.v059.i10.
  23. ^abWickham, Hadley; Cetinkaya-Rundel, Mine; Grolemund, Garrett (2023).R for Data Science, Second Edition.O'Reilly.ISBN 978-1-492-09740-2.
  24. ^abHornik, Kurt (2012)."The Comprehensive R Archive Network".WIREs Computational Statistics.4 (4):394–398.doi:10.1002/wics.1212.ISSN 1939-5108.S2CID 62231320.
  25. ^Kurt Hornik (23 April 1997)."Announce: CRAN".r-help.Wikidata Q101068595..
  26. ^"The Status of CRAN Mirrors".cran.r-project.org. Retrieved16 October 2024.
  27. ^"CRAN - Contributed Packages".cran.r-project.org. Retrieved16 October 2024.
  28. ^"R-Forge: Welcome".r-forge.r-project.org. Retrieved5 September 2024.
  29. ^"The Omega Project for Statistical Computing".www.omegahat.net. Retrieved5 September 2024.
  30. ^"Build software better, together".GitHub. Retrieved5 September 2024.
  31. ^Wickham, Hadley; Grolemund, Garrett (January 2017).1 Introduction | R for Data Science (1st ed.).O'Reilly Media.ISBN 978-1491910399.
  32. ^R Development Core Team."Assignments with the = Operator". Retrieved11 September 2018.
  33. ^Kabacoff, Robert (2012)."Quick-R: User-Defined Functions".statmethods.net. Retrieved28 September 2018.
  34. ^Wickham, Hadley."Advanced R - Functional programming - Closures".adv-r.had.co.nz.
  35. ^"NEWS".r-project.org.
  36. ^"R: R News".cran.r-project.org. Retrieved14 March 2024.
  37. ^Wickham, Hadley; Çetinkaya-Rundel, Mine; Grolemund, Garrett (2023)."4 Workflow: code style".R for data science: import, tidy, transform, visualize, and model data (2nd ed.). Beijing; Sebastopol, CA: O'Reilly.ISBN 978-1-4920-9740-2.OCLC 1390607935.
  38. ^"Class Methods". Retrieved25 April 2024.
  39. ^Monkman, Martin.Chapter 5 R Release Names | Data Science with R: A Resource Compendium.
  40. ^McGowan, Lucy D’Agostino (28 September 2017)."R release names".livefreeordichotomize.com. Retrieved7 April 2024.
  41. ^r-hub/rversions, The R-hub project of the R Consortium, 29 February 2024, retrieved7 April 2024
  42. ^abcdDalgaard, Peter (15 July 2018)."What's in a name? 20 years of R release management"(video).YouTube. Retrieved9 April 2024.
  43. ^"Read Peanuts by Charles Schulz on GoComics".www.gocomics.com. Retrieved13 June 2025.
  44. ^"[Rd] R 4.5.1 is released".hypatia.math.ethz.ch. Retrieved13 June 2025.
  45. ^"Read Peanuts by Charles Schulz on GoComics".www.gocomics.com. Retrieved17 April 2025.
  46. ^"[Rd] R 4.5.0 is released".hypatia.math.ethz.ch. Retrieved17 April 2025.
  47. ^"Read Peanuts by Charles Schulz on GoComics".www.gocomics.com. Retrieved17 April 2025.
  48. ^"[Rd] R 4.4.3 is released".hypatia.math.ethz.ch. Retrieved17 April 2025.
  49. ^Schulz, Charles (15 November 1957)."Peanuts by Charles Schulz for November 15, 1957 | GoComics.com".GoComics. Retrieved6 January 2025.
  50. ^"[Rd] R 4.4.2 is released".stat.ethz.ch. Retrieved26 December 2024.
  51. ^"Race for Your Life, Charlie Brown".IMDB. 3 August 1977. Retrieved18 June 2024.
  52. ^"R 4.4.1 is released".stat.ethz.ch. Retrieved18 June 2024.
  53. ^Schulz, Charles (29 June 1980)."Peanuts by Charles Schulz for June 29, 1980 | GoComics.com".GoComics. Retrieved24 April 2024.
  54. ^"R 4.4.0 is released".stat.ethz.ch. Retrieved24 April 2024.
  55. ^Schulz, Charles (29 June 1980)."Peanuts by Charles Schulz for June 29, 1980 | GoComics.com".GoComics. Retrieved9 April 2024.
  56. ^"R 4.3.3 is released".hypatia.math.ethz.ch. Retrieved7 April 2024.
  57. ^Schulz, Charles (31 October 1996)."Peanuts by Charles Schulz for October 31, 1996 | GoComics.com".GoComics. Retrieved9 April 2024.
  58. ^"[Rd] R 4.3.2 is released".stat.ethz.ch. Retrieved7 April 2024.
  59. ^Schulz, Charles (28 April 1979)."Peanuts by Charles Schulz for April 28, 1979 | GoComics.com".GoComics. Retrieved9 April 2024.
  60. ^"[Rd] R 4.3.1 is released".stat.ethz.ch. Retrieved7 April 2024.
  61. ^Schulz, Charles (13 June 1980)."Peanuts by Charles Schulz for June 13, 1980 | GoComics.com".GoComics. Retrieved9 April 2024.
  62. ^Schulz, Charles (16 June 1980)."Peanuts by Charles Schulz for June 16, 1980 | GoComics.com".GoComics. Retrieved9 April 2024.
  63. ^Schulz, Charles (26 November 1964)."Peanuts by Charles Schulz for November 26, 1964 | GoComics.com".GoComics. Retrieved9 April 2024.
  64. ^"[Rd] R 4.3.0 is released".stat.ethz.ch. Retrieved7 April 2024.
  65. ^Schulz, Charles (30 March 2001)."Peanuts by Charles Schulz for March 30, 2001 | GoComics.com".GoComics. Retrieved9 April 2024.
  66. ^"[Rd] R 4.2.3 is released".stat.ethz.ch. Retrieved7 April 2024.
  67. ^Schulz, Charles (30 October 1962)."Peanuts by Charles Schulz for October 30, 1962 | GoComics.com".GoComics. Retrieved9 April 2024.
  68. ^"[Rd] R 4.2.2 is released".stat.ethz.ch. Retrieved7 April 2024.
  69. ^Schulz, Charles (22 November 1970)."Peanuts by Charles Schulz for November 22, 1970 | GoComics.com".GoComics. Retrieved9 April 2024.
  70. ^Schulz, Charles (29 July 1971)."Peanuts by Charles Schulz for July 29, 1971 | GoComics.com".GoComics. Retrieved9 April 2024.
  71. ^Schulz, Charles (25 September 1969)."Peanuts by Charles Schulz for September 25, 1969 | GoComics.com".GoComics. Retrieved9 April 2024.
  72. ^Schulz, Charles (13 October 1973)."Peanuts by Charles Schulz for October 13, 1973 | GoComics.com".GoComics. Retrieved9 April 2024.
  73. ^Schulz, Charles (8 February 1974)."Peanuts by Charles Schulz for February 08, 1974 | GoComics.com".GoComics. Retrieved9 April 2024.
  74. ^Schulz, Charles (8 January 1970)."Peanuts by Charles Schulz for January 08, 1970 | GoComics.com".GoComics. Retrieved9 April 2024.
  75. ^"[Rd] R 4.2.1 is released".stat.ethz.ch. Retrieved7 April 2024.
  76. ^abSchulz, Charles (6 March 1967)."Peanuts by Charles Schulz for March 06, 1967 | GoComics.com".GoComics. Retrieved9 April 2024.
  77. ^"[Rd] R 4.2.0 is released".stat.ethz.ch. Retrieved7 April 2024.
  78. ^ab"[Rd] R 4.1.2 is released".hypatia.math.ethz.ch. Retrieved7 April 2024.
  79. ^Schulz, Charles (1 November 1967)."Peanuts by Charles Schulz for November 01, 1967 | GoComics.com".GoComics. Retrieved9 April 2024.
  80. ^Schulz, Charles (12 July 1967)."Peanuts by Charles Schulz for July 12, 1967 | GoComics.com".GoComics. Retrieved9 April 2024.
  81. ^Schulz, Charles (17 May 1978)."Peanuts by Charles Schulz for May 17, 1978 | GoComics.com".GoComics. Retrieved9 April 2024.
  82. ^"[Rd] R 4.1.1 is released".hypatia.math.ethz.ch. Retrieved7 April 2024.
  83. ^Schulz, Charles (12 February 1986)."Peanuts by Charles Schulz for February 12, 1986 | GoComics.com".GoComics. Retrieved8 April 2024.
  84. ^"[Rd] R 4.1.0 is released".hypatia.math.ethz.ch. Retrieved7 April 2024.
  85. ^Schulz, Charles (30 July 1978)."Peanuts by Charles Schulz for July 30, 1978 | GoComics.com".GoComics. Retrieved7 April 2024.
  86. ^"[Rd] R 4.0.5 is released".hypatia.math.ethz.ch. Retrieved7 April 2024.
  87. ^Schulz, Charles (2 March 1959)."Peanuts by Charles Schulz for March 02, 1959 | GoComics.com".GoComics. Retrieved7 April 2024.
  88. ^Schulz, Charles (27 February 2006)."Peanuts by Charles Schulz for February 27, 2006 | GoComics.com".GoComics. Retrieved7 April 2024.
  89. ^Schulz, Charles (13 March 1959)."Peanuts by Charles Schulz for March 13, 1959 | GoComics.com".GoComics. Retrieved7 April 2024.
  90. ^"[Rd] R 4.0.4 scheduled for February 15".hypatia.math.ethz.ch. Retrieved7 April 2024.
  91. ^Schulz, Charles (23 October 1972)."Peanuts by Charles Schulz for October 23, 1972 | GoComics.com".GoComics. Retrieved7 April 2024.
  92. ^"[Rd] R 4.0.3 is released".stat.ethz.ch. Retrieved7 April 2024.
  93. ^Schulz, Charles (14 April 1962)."Peanuts by Charles Schulz for April 14, 1962 | GoComics.com".GoComics. Retrieved7 April 2024.
  94. ^"R 4.0.2 is released".hypatia.math.ethz.ch. Retrieved7 April 2024.
  95. ^Schulz, Charles (6 February 1962)."Peanuts by Charles Schulz for February 06, 1962 | GoComics.com".GoComics. Retrieved7 April 2024.
  96. ^"R 4.0.1 is released".hypatia.math.ethz.ch. Retrieved7 April 2024.
  97. ^Schulz, Charles (24 April 1970)."Peanuts by Charles Schulz for April 24, 1970 | GoComics.com".GoComics. Retrieved7 April 2024.
  98. ^"R 4.0.0 is released".hypatia.math.ethz.ch. Retrieved7 April 2024.
  99. ^Schulz, Charles (29 February 2000)."Peanuts by Charles Schulz for February 29, 2000 | GoComics.com".GoComics. Retrieved7 April 2024.
  100. ^"R 3.6.3 is released".hypatia.math.ethz.ch. Retrieved7 April 2024.
  101. ^Schulz, Charles (12 July 1965)."Peanuts by Charles Schulz for July 12, 1965 | GoComics.com".GoComics. Retrieved7 April 2024.
  102. ^"R 3.6.2 is released".hypatia.math.ethz.ch. Retrieved7 April 2024.
  103. ^abSchulz, Charles (22 March 1971)."Peanuts by Charles Schulz for March 22, 1971 | GoComics.com".GoComics. Retrieved7 April 2024.
  104. ^"R 3.6.1 is released".hypatia.math.ethz.ch. Retrieved7 April 2024.
  105. ^Schulz, Charles (3 March 1963)."Peanuts by Charles Schulz for March 03, 1963 | GoComics.com".GoComics. Retrieved7 April 2024.
  106. ^"R 3.6.0 is released".hypatia.math.ethz.ch. Retrieved7 April 2024.
  107. ^Schulz, Charles (11 March 1959)."Peanuts by Charles Schulz for March 11, 1959 | GoComics.com".GoComics. Retrieved7 April 2024.
  108. ^"R 3.5.3 is released".stat.ethz.ch. Retrieved7 April 2024.
  109. ^Schulz, Charles (25 January 1960)."Peanuts by Charles Schulz for January 25, 1960 | GoComics.com".GoComics. Retrieved7 April 2024.
  110. ^"R 3.5.2 is released".stat.ethz.ch. Retrieved7 April 2024.
  111. ^Schulz, Charles (9 March 1972)."Peanuts by Charles Schulz for March 09, 1972 | GoComics.com".GoComics. Retrieved7 April 2024.
  112. ^"R 3.5.1 is released".stat.ethz.ch. Retrieved7 April 2024.
  113. ^Schulz, Charles (27 January 1973)."Peanuts by Charles Schulz for January 27, 1973 | GoComics.com".GoComics. Retrieved7 April 2024.
  114. ^"R 3.5.0 is released".hypatia.math.ethz.ch. Retrieved7 April 2024.
  115. ^"It's nice to have a friend you can lean on". Archived fromthe original on 7 April 2024.
  116. ^"Peanuts Snoopy Charlie Brown A Friend is Someone you can lean on metal tin sign". Retrieved17 April 2025.
  117. ^"Peanuts Snoopy & Charlie Brown Friend Is Someone You Can Lean On Fire-King Mug". Retrieved17 April 2025.
  118. ^"R 3.4.4 is released".hypatia.math.ethz.ch. Retrieved7 April 2024.
  119. ^Schulz, Charles (19 February 1967)."Peanuts by Charles Schulz for February 19, 1967 | GoComics.com".GoComics. Retrieved7 April 2024.
  120. ^"R 3.4.3 is released".hypatia.math.ethz.ch. Retrieved7 April 2024.
  121. ^"R 3.4.2 is released".hypatia.math.ethz.ch. Retrieved7 April 2024.
  122. ^abSchulz, Charles (9 September 1965)."Peanuts by Charles Schulz for September 09, 1965 | GoComics.com".GoComics. Retrieved7 April 2024.
  123. ^"R 3.4.1 is released".hypatia.math.ethz.ch. Retrieved7 April 2024.
  124. ^"R 3.4.0 is released".stat.ethz.ch. Retrieved7 April 2024.
  125. ^Schulz, Charles (29 June 1966)."Peanuts by Charles Schulz for June 29, 1966 | GoComics.com".GoComics. Retrieved7 April 2024.
  126. ^"[R] R 3.3.3 is released".stat.ethz.ch. Retrieved7 April 2024.
  127. ^Schulz, Charles (30 October 1968)."Peanuts by Charles Schulz for October 30, 1968 | GoComics.com".GoComics. Retrieved7 April 2024.
  128. ^"[R] R 3.3.2 is released".stat.ethz.ch. Retrieved7 April 2024.
  129. ^Schulz, Charles (15 June 1967)."Peanuts by Charles Schulz for June 15, 1967 | GoComics.com".GoComics. Retrieved7 April 2024.
  130. ^"[R] R 3.3.1 is released".stat.ethz.ch. Retrieved7 April 2024.
  131. ^Schulz, Charles (7 May 1971)."Peanuts by Charles Schulz for May 07, 1971 | GoComics.com".GoComics. Retrieved7 April 2024.
  132. ^"[R] R 3.3.0 is released".stat.ethz.ch. Retrieved7 April 2024.
  133. ^abSchulz, Charles (20 February 1964)."Peanuts by Charles Schulz for February 20, 1964 | GoComics.com".GoComics. Retrieved7 April 2024.
  134. ^"VERSION-NICK". Retrieved7 April 2024.
  135. ^"R 3.2.5 is released".stat.ethz.ch. Retrieved7 April 2024.
  136. ^"R 3.2.4-revised is released".stat.ethz.ch. Retrieved7 April 2024.
  137. ^"R 3.2.4 is released".stat.ethz.ch. Retrieved7 April 2024.
  138. ^Schulz, Charles (18 December 1980)."Peanuts by Charles Schulz for December 18, 1980 | GoComics.com".GoComics. Retrieved9 April 2024.
  139. ^"R 3.2.3 is released".stat.ethz.ch. Retrieved7 April 2024.
  140. ^MarketScreener (7 October 2008)."METLIFE : Brush Up on Fire Safety Basics -October 07, 2008 at 04:03 pm EDT | MarketScreener".www.marketscreener.com. Retrieved7 April 2024.
  141. ^"MetLife Advises People to Brush Up on Fire Safety Basics to Stay Safe".Claims Journal. 12 October 2005. Retrieved7 April 2024.
  142. ^"R 3.2.2 is released".stat.ethz.ch. Retrieved7 April 2024.
  143. ^Schulz, Charles (10 March 1969)."Peanuts by Charles Schulz for March 10, 1969 | GoComics.com".GoComics. Retrieved7 April 2024.
  144. ^"[R] R 3.2.1 liftoff".stat.ethz.ch. Retrieved7 April 2024.
  145. ^Schulz, Charles (7 April 1966)."Peanuts by Charles Schulz for April 07, 1966 | GoComics.com".GoComics. Retrieved7 April 2024.
  146. ^"[R] R 3.2.0 is released".stat.ethz.ch. Retrieved7 April 2024.
  147. ^Schulz, Charles M. (2019).Happiness is a warm puppy. New York: Penguin Workshop.ISBN 978-1-5247-8995-4.
  148. ^"R 3.1.3 is released".stat.ethz.ch. Retrieved7 April 2024.
  149. ^"[R] R 3.1.2 is released".stat.ethz.ch. Retrieved7 April 2024.
  150. ^"Sock it to me". Archived fromthe original on 9 April 2024.
  151. ^"Sock it to me". Archived fromthe original on 9 April 2024.
  152. ^"Sock it to me puzzle". Archived fromthe original on 9 April 2024.
  153. ^"Peanuts Springbok Puzzles".
  154. ^"[R] R 3.1.1 is released".stat.ethz.ch. Retrieved7 April 2024.
  155. ^"[R] R 3.1.0 is released".stat.ethz.ch. Retrieved7 April 2024.
  156. ^Schulz, Charles (11 January 1965)."Peanuts by Charles Schulz for January 11, 1965 | GoComics.com".GoComics. Retrieved7 April 2024.
  157. ^"R 3.0.3 is released".stat.ethz.ch. Retrieved7 April 2024.
  158. ^Schulz, Charles (3 September 1971)."Peanuts by Charles Schulz for September 03, 1971 | GoComics.com".GoComics. Retrieved7 April 2024.
  159. ^"R 3.0.2 is released".stat.ethz.ch. Retrieved7 April 2024.
  160. ^Schulz, Charles (22 November 1953)."Peanuts by Charles Schulz for November 22, 1953 | GoComics.com".GoComics. Retrieved7 April 2024.
  161. ^"R 3.0.1 is released".stat.ethz.ch. Retrieved7 April 2024.
  162. ^Schulz, Charles (23 June 1981)."Peanuts by Charles Schulz for June 23, 1981 | GoComics.com".GoComics. Retrieved7 April 2024.
  163. ^"R 3.0.0 is released".stat.ethz.ch. Retrieved7 April 2024.
  164. ^Schulz, Charles (23 October 1965)."Peanuts by Charles Schulz for October 23, 1965 | GoComics.com".GoComics. Retrieved7 April 2024.
  165. ^"R 2.15.3 is released".stat.ethz.ch. Retrieved7 April 2024.
  166. ^Schulz, Charles (31 October 1969)."Peanuts by Charles Schulz for October 31, 1969 | GoComics.com".GoComics. Retrieved7 April 2024.
  167. ^"R 2.15.2 is released".stat.ethz.ch. Retrieved7 April 2024.
  168. ^Schulz, Charles (6 June 1987)."Peanuts by Charles Schulz for June 06, 1987 | GoComics.com".GoComics. Retrieved7 April 2024.
  169. ^"R 2.15.1 is released".stat.ethz.ch. Retrieved7 April 2024.
  170. ^Schulz, Charles (11 April 1971)."Peanuts by Charles Schulz for April 11, 1971 | GoComics.com".GoComics. Retrieved7 April 2024.
  171. ^"R 2.15.0 is released".stat.ethz.ch. Retrieved7 April 2024.
  172. ^It's the Easter Beagle, Charlie Brown! (TV Short 1974) - Quotes - IMDb. Retrieved8 April 2024 – via www.imdb.com.
  173. ^"R 2.14.2 is released + R anniversary".stat.ethz.ch. Retrieved7 April 2024.
  174. ^McGough, Nellah Bailey (20 January 2023)."Our Favorite Quotes and Sayings from "A Charlie Brown Christmas"".Southern Living. Retrieved8 April 2024.
  175. ^"R 2.14.1 is released".stat.ethz.ch. Retrieved7 April 2024.
  176. ^Schulz, Charles (29 October 1973)."Peanuts by Charles Schulz for October 29, 1973 | GoComics.com".GoComics. Retrieved7 April 2024.
  177. ^"R 2.14.0 is released".stat.ethz.ch. Retrieved7 April 2024.
  178. ^Schulz, Charles (17 August 1967)."Peanuts by Charles Schulz for August 17, 1967 | GoComics.com".GoComics. Retrieved7 April 2024.
  179. ^"R for macOS".cran.r-project.org. Retrieved5 September 2024.
  180. ^"IDE/Editor para Linguagem R | Tinn-R - Home".Tinn-R (in Brazilian Portuguese). Retrieved5 September 2024.
  181. ^Talbot, Justin; DeVito, Zachary; Hanrahan, Pat (1 January 2012). "Riposte: A trace-driven compiler and parallel VM for vector code in R".Proceedings of the 21st international conference on Parallel architectures and compilation techniques. ACM. pp. 43–52.doi:10.1145/2370816.2370825.ISBN 9781450311823.S2CID 1989369.
  182. ^Jackson, Joab (16 May 2013).TIBCO offers free R to the enterprise.PC World. Retrieved 20 July 2015.
  183. ^"Looking to the future for R in Azure SQL and SQL Server". 30 June 2021. Retrieved7 November 2021.

Further reading

[edit]

External links

[edit]
Features
Implementations
Packages
Interfaces
People
Organisations
Publications
History
Licenses
Software
Contributors
Other topics
Free
Discontinued
Proprietary
Public domain
Open-source
Freeware
Commercial
Cross-platform
Windows only
Excel add-ons
Portal:
International
National
Other
Retrieved from "https://en.wikipedia.org/w/index.php?title=R_(programming_language)&oldid=1300060817"
Categories:
Hidden categories:

[8]ページ先頭

©2009-2025 Movatter.jp