Uploaded by Shehryar Saroya

R Console

advertisement
R version 3.2.2 (2015-08-14) -- "Fire Safety"
Copyright (C) 2015 The R Foundation for Statistical Computing
Platform: x86_64-apple-darwin13.4.0 (64-bit)
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.
Natural language support but running in an English locale
R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.
Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.
[R.app GUI 1.66 (6996) x86_64-apple-darwin13.4.0]
> install.packages("coda")
Installing package into ‘/Users/lagogian/Library/R/3.2/library’
(as ‘lib’ is unspecified)
--- Please select a CRAN mirror for use in this session ---
trying URL 'https://mirrors.ebi.ac.uk/CRAN/bin/macosx/mavericks/contrib/3.2/coda_0.18-1.tgz'
Content type 'application/x-gzip' length 198104 bytes (193 KB)
==================================================
downloaded 193 KB
The downloaded binary packages are in
/var/folders/ml/_5br79mn2w5fm1ykvbt6tqw8kd8ng0/T//RtmpadFFNI/downloaded_packages
> install.packages("MCMCpack")
Installing package into ‘/Users/lagogian/Library/R/3.2/library’
(as ‘lib’ is unspecified)
trying URL 'https://mirrors.ebi.ac.uk/CRAN/bin/macosx/mavericks/contrib/3.2/MCMCpack_1.3-3.tgz'
Content type 'application/x-gzip' length 6535416 bytes (6.2 MB)
==================================================
downloaded 6.2 MB
The downloaded binary packages are in
/var/folders/ml/_5br79mn2w5fm1ykvbt6tqw8kd8ng0/T//RtmpadFFNI/downloaded_packages
> install.packages("rjags")
Installing package into ‘/Users/lagogian/Library/R/3.2/library’
(as ‘lib’ is unspecified)
There is a binary version available but the source version is later:
binary source needs_compilation
rjags 3-15 4-4 TRUE
Do you want to install from sources the package which needs compilation?
y/n: y
installing the source package ‘rjags’
trying URL 'https://mirrors.ebi.ac.uk/CRAN/src/contrib/rjags_4-4.tar.gz'
Content type 'application/x-gzip' length 72125 bytes (70 KB)
==================================================
downloaded 70 KB
* installing *source* package ‘rjags’ ...
** package ‘rjags’ successfully unpacked and MD5 sums checked
checking for pkg-config... no
configure: Attempting legacy configuration of rjags
checking for jags... /usr/local/bin/jags
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables... checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether clang++ accepts -g... yes
checking how to run the C++ preprocessor... clang++ -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... rm: conftest.dSYM: is a directory
rm: conftest.dSYM: is a directory
yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking Console.h usability... yes
checking Console.h presence... yes
checking for Console.h... yes
configure: Compile flags are -I/usr/local/include/JAGS
configure: Link flags are -L/usr/local/lib -ljags
checking for gcc... clang
checking whether we are using the GNU C compiler... yes
checking whether clang accepts -g... yes
checking for clang option to accept ISO C89... none needed
checking for jags_version in -ljags... yes
checking version of JAGS library... OK
configure: creating ./config.status
config.status: creating src/Makevars
configure: creating ./config.status
config.status: creating src/Makevars
config.status: creating R/unix/zzz.R
** libs
clang++ -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I/usr/local/include/JAGS -I/usr/local/include -I/usr/local/include/freetype2 -I/opt/X11/include -fPIC -Wall -mtune=core2 -g -O2 -c jags.cc -o jags.o
clang++ -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I/usr/local/include/JAGS -I/usr/local/include -I/usr/local/include/freetype2 -I/opt/X11/include -fPIC -Wall -mtune=core2 -g -O2 -c parallel.cc -o parallel.o
clang++ -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -single_module -multiply_defined suppress -L/Library/Frameworks/R.framework/Resources/lib -L/usr/local/lib -o rjags.so jags.o parallel.o -L/usr/local/lib -ljags -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation
installing to /Users/lagogian/Library/R/3.2/library/rjags/libs
** R
** data
** preparing package for lazy loading
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded
* DONE (rjags)
The downloaded source packages are in
‘/private/var/folders/ml/_5br79mn2w5fm1ykvbt6tqw8kd8ng0/T/RtmpadFFNI/downloaded_packages’
Loading required package: coda
Linked to JAGS 4.0.1
Loaded modules: basemod,bugs
starting httpd help server ... done
Linked to JAGS 4.0.1
Loaded modules: basemod,bugs
Loading required package: MASS
##
## Markov Chain Monte Carlo Package (MCMCpack)
## Copyright (C) 2003-2015 Andrew D. Martin, Kevin M. Quinn, and Jong Hee Park
##
## Support provided by the U.S. National Science Foundation
## (Grants SES-0350646 and SES-0350613)
##
> 
Download