[R] plotmath not available on R 3.2.2

Duncan Murdoch murdoch.duncan at gmail.com
Sat Dec 12 18:42:49 CET 2015


On 12/12/2015 12:32 PM, Ranjan Maitra wrote:
> On Sat, 12 Dec 2015 10:51:16 -0600 Marc Schwartz <marc_schwartz at me.com> wrote:
>
>>
>>> On Dec 12, 2015, at 10:47 AM, Ranjan Maitra <maitra.mbox.ignored at inbox.com> wrote:
>>>
>>> Hi,
>>>
>>> I recently needed to install a fresh OS (Fedora 23, where R 3.2.2 is the latest), and which meant everything has to be installed from scratch. In so doing, I got the somewhat familiar:
>>>
>>>> install.packages('plotmath')
>>> Installing package into ‘/usr/lib64/R/library’
>>> (as ‘lib’ is unspecified)
>>> Warning message:
>>> package ‘plotmath’ is not available (for R version 3.2.2)
>>>
>>> Is there a way to get around this, other than to download the tarball and install locally?
>>>
>>> Best wishes,
>>> Ranjan
>>
>> plotmath is not a package, it is a function:
>>
>>    ?plotmath
>
> Sorry, you are right -- my mistake: the package is grDevices.
>
>> install.packages('grDevices')
> Installing package into ‘/usr/lib64/R/library’
> (as ‘lib’ is unspecified)
> Warning message:
> package ‘grDevices’ is not available (for R version 3.2.2)
>
> However, this is no longer an issue for me: I seem to have it installed on this new install (of last week).
>
> Sorry about the false alarm.

grDevices is a "base" package, so it will always be present with a 
proper R installation, and it is only updated when R itself is updated.

Perhaps install.packages() should give a different error message when 
you attempt to install a base package.

Duncan Murdoch



More information about the R-help mailing list