could not find function melt


could not find function melt By: Samir KC on 2018-01-21 12:21 | [forum:45581] |
Hi, I installed latest R (3.4.3) and Rstudio and when running the following, I get the message that the melt function is missing. > setwd("C:/Users/DELL/Dropbox/Nepal Projection") > library(MSDem) > #read the datasets > datasets <- fread.msproj(model.patt = "np_SSP2") > res <- msproj(data = datasets, country = "np", nsx = "axmx", iPr = 18,detail.out = T) Error in melt(reclass.dt, measure.vars = m.vars) : could not find function "melt" When I library(reshape2), then I get the following error, which I think comes from two melt functions data.table and reshape2. Error in x[j] : invalid subscript type 'list' |
Thread View
Thread | Author | Date |
---|---|---|
![]() | Samir KC | 2018-01-21 12:21 |
![]() | Marcus Wurzer | 2018-01-21 13:02 |
![]() | Samir KC | 2018-01-21 13:09 |
![]() | Samir KC | 2018-01-21 14:16 |
![]() | Nobody | 2022-07-11 08:21 |