Hi,
I tried that before but then I get:
Error: 'melt.data.frame' is not an exported object from 'namespace:reshape2'
Strange that this is working in your case but not in my case.
Some addtional info about my package versions:
R 2.14.0
reshape 0.8.4
reshape 1.1
ggplot2 0.8.9
cheers
/j
-------- Original-Nachricht --------
Datum: Thu, 10 Nov 2011 08:51:55 -0300
Von: Luciano Selzer <luciano.selzer at gmail.com>
An: Johannes Radinger <JRadinger at gmx.at>
CC: Brandon Hurr <brandon.hurr at gmail.com>, r-help at r-project.org, ggplot2 at googlegroups.com
Betreff: Re: reshape - reshape2 problem
I had the same issue. The problem is that melt will call a method. The
method will dispach melt.data.frame from reshape package, thus
ignoring reshape2. The solution is to call specificly
reshape2::melt.data.frame()
HTH
Luciano
2011/11/10 Johannes Radinger <JRadinger at gmx.at>:
Am 10.11.2011 um 09:54 schrieb Brandon Hurr:
Is the value.name ignored as well?
Looks like it might have been left out of the function call?
function (data, ..., na.rm = FALSE, value.name = "value")
{
? ? UseMethod("melt", data)
}
<environment: namespace:reshape2>
Brandon
No doesn't work either...value.name is ignored as well when
I call reshape2::melt()
/Johannes
On Thu, Nov 10, 2011 at 08:45, Johannes Radinger <JRadinger at gmx.at>
Have you tried loading reshape2 after ggplot2 and all it's
Usually whatever is loaded last masks earlier loaded packages with
of the same name so if reshape2 is last then it should mask
all of it's similarly named functions.
Brandon
Yes, reshape2 is loaded after reshape... but reshape masks reshape2,
because reshape is needed by ggplot2? So it is really strange...
/johannes
--
You received this message because you are subscribed to the ggplot2