SCM

could not find function melt

Monitor Forum | Start New Thread Start New Thread

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
could not find function meltSamir KC2018-01-21 12:21
      RE: could not find function meltMarcus Wurzer2018-01-21 13:02
            RE: could not find function meltSamir KC2018-01-21 13:09
                  RE: could not find function meltSamir KC2018-01-21 14:16
                        Test, just a testNobody2022-07-11 08:21

Post a comment to this message

Subject: *

Message: Notepad*

Attachments
Use the “Browse” button to find the file you want to attach
File to upload:

You are posting anonymously because you are not logged in

Thanks to:
Vienna University of Economics and Business Powered By FusionForge