[R] packages gdata / gtools - installation in R 2.11.0
Gabor Grothendieck
ggrothendieck at gmail.com
Wed Apr 28 19:33:46 CEST 2010
The development version of gtools in the subversion/svn repository here:
https://r-gregmisc.svn.sourceforge.net/svnroot/r-gregmisc/trunk/gtools
does pass R CMD CHECK on "R version 2.11.0 Patched (2010-04-26 r51822)"
The development version of gdata in the subversion/svn repository here:
https://r-gregmisc.svn.sourceforge.net/svnroot/r-gregmisc/trunk/gdata
has some R CMD CHECK problems related to perl but it
did build and install on my system under the same version of R.
2010/4/28 Uwe Ligges <ligges at statistik.tu-dortmund.de>:
>
>
> On 28.04.2010 17:57, Brian Diggs wrote:
>>
>> On 4/23/2010 2:19 AM, Uwe Ligges wrote:
>>>
>>> Right, unfortunately package gtools does not pass the checks under
>>> R-2.11.0 and hence is not distributed as a binary via CRAN.
>>>
>>> Either convince the maintainer (CCing Greg) to fix the bug or try to
>>> install the package yourself from sources (and fix the bug yourself, if
>>> it matters for you).
>>>
>>> Best wishes,
>>> Uwe Ligges
>>
>> Does anyone know when gtools will be updated to work with R 2.11.0?
>> According to
>> http://cran.r-project.org/web/checks/check_results_gtools.html (as of
>> 2010-04-28 11:53:59) it was still throwing errors on devel, patched, and
>> release. From the check results, it seems like it should not be too hard
>> of an error to fix:
>>
>> > plot.s( "d", "V1")
>> Error in gsub(pattern, value, body, extended = TRUE) :
>> unused argument(s) (extended = TRUE)
>> Calls: plot.s -> gsub
>> Execution halted
>>
>> It's bothering me because gtools in somewhere at the bottom of the
>> dependency tree of a package I want to use. When it did not work when R
>> 2.11.0 was first released, I thought I'd give it a few days to be fixed,
>> but it has been almost a week so I thought I'd bring this up again.
>
>
>
> Given the maintainer has nit yet reacted, we will be preparing a non
> maintainer update shortly.
>
> Best wishes,
> Uwe Ligges
>
>
>>> On 22.04.2010 16:32, Paulo Barata wrote:
>>>>
>>>> Dear R-list members,
>>>>
>>>> I have just downloaded R version 2.11.0. Then I installed
>>>> package gdata. At the end of the installation, a warning message
>>>> said that package gtools could not be found. Package gdata
>>>> was, after the installation, included in the "Package Index"
>>>> in the help files. Messages during installation (which was made
>>>> through the menu Packages / Instal package(s), choosing the Austria
>>>> site, R running on Windows XP):
>>>>
>>>> utils:::menuInstallPkgs()
>>>> Warning: dependency ‘gtools’ is not available
>>>> trying URL 'http://cran.at.r-project.org/bin/windows/contrib
>>>> /2.11/gdata_2.7.1.zip'
>>>> Content type 'application/zip' length 830646 bytes (811 Kb)
>>>> opened URL
>>>> downloaded 811 Kb
>>>> package 'gdata' successfully unpacked and MD5 sums checked
>>>>
>>>> When I tried to use (in R 2.11.0) package gdata and its function
>>>> write.fwf, I got the messages below:
>>>>
>>>> library(gdata)
>>>> Error in loadNamespace(i[[1L]], c(lib.loc, .libPaths())) :
>>>> there is no package called 'gtools'
>>>> Error: package/namespace load failed for 'gdata'
>>>> write.fwf(x,'test-01.txt')
>>>> Error: could not find function "write.fwf"
>>>> (** Note: x is a data frame **)
>>>>
>>>> Package gdata is correctly installed in my R 2.10.1, and both
>>>> packages gdata and gtools appear in the list of available packages
>>>> when I try to install some package in R 2.10.1 through the menu
>>>> Packages / Instal package(s), choosing the Austria site.
>>>>
>>>> But when I try to install some package in R 2.11.0 through the
>>>> menu, only package gdata appears in the list of available packages
>>>> - package gtools does not appear in that list.
>>>>
>>>> Both packages are listed on the CRAN (Austria) package Web page.
>>>>
>>>> It seems that R 2.11.0 is somehow not "seeing" the package gtools.
>>>> Is there any way around this situation? How to correctly install
>>>> package gdata (which depends on gtools) in R 2.11.0?
>>>>
>>>> Both R 2.10.1 and R 2.11.0 are running on Windows XP, in the same
>>>> computer.
>>>>
>>>> Thank you very much.
>>>>
>>>> Paulo Barata
>>>>
>>>> --------------------------------------------------------------------
>>>> Paulo Barata
>>>> Fundacao Oswaldo Cruz - Oswaldo Cruz Foundation
>>>> Rua Leopoldo Bulhoes 1480 - 8A
>>>> 21041-210 Rio de Janeiro - RJ
>>>> Brazil
>>>>
>>>> E-mail: pbarata at infolink.com.br
>>>> E-mail: paulo.barata at ensp.fiocruz.br
>>>>
>>
>> --
>> Brian Diggs
>> Senior Research Associate, Department of Surgery, Oregon Health &
>> Science University
>>
>> ______________________________________________
>> R-help at r-project.org mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-help
>> PLEASE do read the posting guide
>> http://www.R-project.org/posting-guide.html
>> and provide commented, minimal, self-contained, reproducible code.
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
More information about the R-help
mailing list