Thomas Thomas Thank you, I guess it is the correct way. Had a similar issue with Rcpp. This was for R 2. Antoine Are you on Windows? And, if so, do you have Rtools installed? Thomas Thanks for responding. Yes, I am on Windows with Rtools "pseudo-installed" see this thread. Thomas I am going to try to run my script on Amazon EC2 to avoid the obvious local problems on my machine library paths, versions of R vs versions of packages, compiling issues etc.
Show 3 more comments. PatrickT You can do this by using a local library. You can download your appropriate version from the link below as a zip file. Choose your newly-downloaded-package-zip-file and install the package. Using install. Another possibility that I have not explored further: Download the older.
MichaelChirico 32k 13 13 gold badges 99 99 silver badges bronze badges. This doesn't work for me, please follow my question stackoverflow. Command in "repmis" library: Install old versions of the e and gtools packages.
Aybek Khodiev Aybek Khodiev 1 1 gold badge 3 3 silver badges 9 9 bronze badges. EdM EdM 2 2 silver badges 9 9 bronze badges. Pure install. Daniel Himmelstein Daniel Himmelstein 1, 1 1 gold badge 17 17 silver badges 22 22 bronze badges. The Overflow Blog. Podcast what if you could invest in your favorite developer? Who owns this outage?
In this post, I will show how to install an old version of any package as long as it remains on CRAN. The package contains different functions for mean multiple comparisons. To date, the latest version of this package is 1.
In the new version, CLD function was removed. Ignored when installing from local files. Arguments to be passed to download. R packages are primarily distributed as source packages, but binary packages a packaging up of the installed package are also supported, and the type most commonly used on Windows and by the CRAN builds for macOS. This function can install either type, either by downloading a file from a repository or from a local file.
Possible values of type are currently "source" , "mac. For a binary install from a repository, the function checks for the availability of a source package on the same repository, and reports if the source package has a later version, or is available but no binary version is.
This check can be suppressed by using. The action if there are source packages which are preferred but may contain code which needs to be compiled is controlled by getOption "install. It is safe to always set the latter when installing from a repository or tarballs, although it will be a little slower. When installing a binary package, install. In some circumstances e. This has two purposes: it prevents any other process installing into that library concurrently, and is used to store any previous version of the package to restore on error.
A finer-grained locking is provided by the option --pkglock which creates a separate lock for each package: this allows enough freedom for parallel installation. Finally locking and restoration on error can be suppressed by --no-lock. For a macOS binary install, no locking is done by default.
For Windows binary install, per-directory locking is used by default lock defaults to the value of getOption "install. If the value is "pkglock" per-package locking will be used. Note that it is possible for the package installation to fail so badly that the lock directory is not removed: this inhibits any further installs to the library directory or for --pkglock , of the package until the lock directory is removed manually.
It makes use of a parallel make , so the make specified default make when R was built must be capable of supporting make -j n : GNU make, dmake and pmake do, but Solaris make and older FreeBSD make do not: if necessary environment variable MAKE can be set for the current session to select a suitable make.
For non-parallel installs this is implemented via the timeout argument of system2 : for parallel installs via the OS's timeout command.
0コメント