[R] Question regarding the dcast function

Sarah Goslee
Thu, 21 Mar 2019 13:59:49 -0000

Hi,

dcast() is a function, not a package, so R can't find it in the package
archive.

You need to install the package that contains it. Probably you want reshape2

install.packages("reshape2")

Sarah

On Thu, Mar 21, 2019 at 9:54 AM Marie-joe Kfoury
<mariejoe.kfoury at hotmail.com> wrote:
>
> Hi,
>
>
> I am having a problem with installing the dcast function in R 3.5.3
>
> Here is the message that I am getting when trying to install it:
>
> > install.packages("dcast")
> Installing package into ?C:/Users/marie/Documents/R/win-library/3.5?
> (as ?lib? is unspecified)
> Warning message:
> package ?dcast? is not available (for R version 3.5.3)
>
>
>
> Marie Joe Kfoury
>
>         [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> 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.



--
Sarah Goslee (she/her)