R `parallel` package does not exist on CRAN?
Asked Answered
B

1

25

I tried to google "r package parallel" but I have not found it on CRAN. I also tried the following links, but they do not work:

http://cran.r-project.org/web/packages/parallel/index.html

http://cran.r-project.org/web/packages/parallel

http://cran.r-project.org/package=parallel

It is also absent in the list of available.packages().

But apparently the package parallel does exist! :-) I have it in the list of my packages and it even has its own tag here :-)

Bashee answered 24/3, 2014 at 7:13 Comment(0)
B
34

Is this because it is inside r-core since 2.14.0 ?

http://stat.ethz.ch/R-manual/R-devel/library/parallel/doc/parallel.pdf

Blackheart answered 24/3, 2014 at 7:23 Comment(6)
What does this mean? I still have to do require(parallel), whereas I don't have to do it e.g. for package base or graphics.Bashee
@TMS graphics is being automatically included for you. Try export R_DEFAULT_PACKAGES='utils,grDevices,graphics,stats,parallel' then run R, and you will see parallel is automatically included too. (The list of default packages can be specified in /etc/R/Renviron.site (for instance), and the default default list is decided when compiling.)Blackheart
You can also type library() to see what packages are currently available (and loaded).Schleswig
Thanks. It's a bit contra-intuitive that it is still a package which must be loaded, but it is not on CRAN and is inside the core, but not within the monolytic app, but still as a package... If something must be loaded, then I would expect it to be a regular package on CRAN (which might be installed by default, but should exist there). It's some kind of contra-intuitive hybrid between being a package and not being a package :-)Bashee
@TMS I think "core" can be thought of like a Linux distro (or a jQuery UI custom build), where everything is a package, even the kernel. The other bit of intuition you need is loading each package takes us memory, slows down help search, etc. so you configure /etc/R/Renviron.site (or the per-user override) to only include the "core" core that you always want. If you feel all core packages should always be pre-loaded in every session, change your Renviron.site file to match.Blackheart
@TMS I agree with you, though, it would be nice if CRAN also listed entries for the core packages, where it could say it is "core", but still have links to the reference PDF, etc.Blackheart

© 2022 - 2024 — McMap. All rights reserved.