[rkward-devel] ggplot2 error

Thomas Friedrichsmeier thomas.friedrichsmeier at ruhr-uni-bochum.de
Thu Nov 29 08:24:27 UTC 2012


Hi,

On Thursday 29 November 2012, Rudolf Reinelt wrote:
> > library(ggplot2)
> 
> Error in loadNamespace(i[[1L]], c(lib.loc, .libPaths())) :
> there is no package called 'MASS'

this means you don't have the package "MASS", which is required by ggplot2. I 
don't know, why you lack this package, as in general dependencies get 
installed, automatically. You should try re-installing ggplot2 (either using 
the install.packages() command, or in RKWard using Settings->Manage R 
packages...->Install / Update / Remove). While at it, it may be a good idea to 
install any available updates to your packages, too.

It may be worth pointing out, that in the current official version of RKWard 
(0.6.0), the RKWard plot history feature is a bit broken in combination with 
ggplot2. If that is an essential feature to you, consider using the 
development version (http://p.sf.net/rkward/svn).

Regards
Thomas

P.S.: We have a dedicated list rkward-users for this sort of question. In 
fact, if you have no particular reason to believe that the problem is related 
to RKWard, rather than R, consider asking on r-help (at lists.r-project.org).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/rkward-devel/attachments/20121129/154be597/attachment.sig>


More information about the Rkward-devel mailing list