Installing and Updating R
Được đăng lên bởi
sonnguyen7212
Số trang: 11 trang

Lượt xem: 608 lần

Lượt tải: 2 lần
2 Installing and Updating R Stata and R are somewhat similar in that both are modular. Each comes with a single “binary” executable ﬁle and a large number of individual functions or commands. These are text ﬁles that users can modify in a text editor. Both applications come with their own builtin text editors, and both allow the use of outside text editors as well. The binary executable ﬁles that come with R and Stata have been compiled from the “source code” version that was written using C. When you install R, you download the executable together with a set of addon modules called packages. These are diﬀerent from Stata’s ado ﬁles, which are singlepurpose commands or functions. R packages contain a number of related functions that can be used for data management, graphics, or statistical analysis. After the installation of the group of main R packages, a user may install other packages later when they are needed. There are over 3,000 packages to choose from. It is highly unlikely that someone would need them all. The Comprehensive R Archive Networks (CRAN), located at http:// cran.rproject.org/, is R’s equivalent to Stata’s Statistical Software Components (SSC) Archive. The most important diﬀerence between the two archives is that CRAN is where you obtain R itself. The SSC contains only addons to Stata, of course. To download R, go to the CRAN link above, choose your operating system under the web page heading Download and Install R. The binary versions install quickly and easily. Binary versions exist for many operating systems, including Windows, Mac OS X, and popular versions of Linux such as Ubuntu, RedHat, Suse, and others that use either the RPM or APT installers. Since R is an Open Source project, there are also source code versions of R for experienced programmers who prefer to compile their own copy. Using that version, you can modify R in any way you like. Although R’s developers write most of the analytic commands using the R language, they use other languages such as C and FORTRAN to write the most fundamental R functions. R.A. Muenchen, J.M. Hilbe, R for Stata Users, Statistics and Computing, DOI 10.1007/9781441913180 2, © Springer Science+Business Media, LLC 2010 9 10 2 Installing and Updating R Each version of R installs into its own directory (folder), so there is no problem having multiple versions installed on your computer. You can then install your favorite packages for the new release. 2.1 Installing Addon Packages ...
2
Installing and Updating R
Stata and R are somewhat similar in that both are modular. Each comes with
a single “binary” executable ﬁle and a large number of individual functions or
commands. These are text ﬁles that users can modify in a text editor. Both
applications come with their own builtin text editors, and both allow the use
of outside text editors as well.
The binary executable ﬁles that come with R and Stata have been compiled
from the “source code” version that was written using C. When you install
R, you download the executable together with a set of addon modules called
packages.
These are diﬀerent from Stata’s ado ﬁles, which are singlepurpose com
mands or functions. R packages contain a number of related functions that
can be used for data management, graphics, or statistical analysis.
After the installation of the group of main R packages, a user may install
other packages later when they are needed. There are over 3,000 packages to
choose from. It is highly unlikely that someone would need them all.
The Comprehensive R Archive Networks (CRAN), located at http://
cran.rproject.org/, is R’s equivalent to Stata’s Statistical Software Com
ponents (SSC) Archive. The most important diﬀerence between the two
archives is that CRAN is where you obtain R itself. The SSC contains only
addons to Stata, of course.
To download R, go to the CRAN link above, choose your operating system
under the web page heading Download and Install R. The binary versions
install quickly and easily. Binary versions exist for many operating systems,
including Windows, Mac OS X, and popular versions of Linux such as Ubuntu,
RedHat, Suse, and others that use either the RPM or APT installers.
Since R is an Open Source project, there are also source code versions of R
for experienced programmers who prefer to compile their own copy. Using that
version, you can modify R in any way you like. Although R’s developers write
most of the analytic commands using the R language, they use other languages
such as C and FORTRAN to write the most fundamental R functions.
R.A. Muenchen, J.M. Hilbe, R for Stata Users, Statistics 9
and Computing, DOI 10.1007/9781441913180
2,
© Springer Science+Business Media, LLC 2010
Để xem tài liệu đầy đủ. Xin vui lòng
Đăng nhập
Nếu xem trực tuyến bị lỗi, bạn có thể tải về máy để xem.
Installing and Updating R

Người đăng:
sonnguyen7212
5
Tài liệu rất hay!
Được đăng lên bởi
Trần Thị Kim Thoa

1 giờ trước
Đúng là cái mình đang tìm. Rất hay và bổ ích. Cảm ơn bạn!
11
Vietnamese
Installing and Updating R
9
10
459