[R] Question regarding the dcast function

PIKAL Petr
Thu, 21 Mar 2019 14:51:08 -0000

Hi

You shouldn't use HTML formating unless you want to surprise us with weird
and messy email.

function dcast is in data.table and/or in reshape2 packages. For both

install.packages("data.table")
install.packages("reshape2")

followed by
library(data.table)
library(reshape2)

should be enough to make function dcast available.

Maybe you could spent some time reading R-intro docs.

Cheers
Petr

> -----Original Message-----
> From: R-help <r-help-bounces at r-project.org> On Behalf Of Marie-joe
Kfoury
> Sent: Thursday, March 21, 2019 9:28 AM
> To: r-help at r-project.org
> Subject: [R] Question regarding the dcast function
>
> 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]]

Osobn? ?daje: Informace o zpracov?n? a ochran? osobn?ch ?daj? obchodn?ch
partner? PRECHEZA a.s. jsou zve?ejn?ny na:
https://www.precheza.cz/zasady-ochrany-osobnich-udaju/ | Information about
processing and protection of business partner?s personal data are available on
website: https://www.precheza.cz/en/personal-data-protection-principles/
D?v?rnost: Tento e-mail a jak?koliv k n?mu p?ipojen? dokumenty jsou d?v?rn? a
podl?haj? tomuto pr?vn? z?vazn?mu prohl??en? o vylou?en? odpov?dnosti:
https://www.precheza.cz/01-dovetek/ | This email and any documents attached to
it may be confidential and are subject to the legally binding disclaimer: