0

I'm running a simple script using the melt function, but I get an

Error: could not find function "melt"

I have used the function before and it worked fine. The reshape package is installed and loaded. I removed it and reinstalled it, but still it does not work. Even "reshape" %in% rownames(installed.packages()) is TRUE.

Frank
  • 66,179
  • 8
  • 96
  • 180
NRuecker
  • 3
  • 1
  • 3
  • 5
    Did you use `library(reshape)` first? It shows up in `sessionInfo()`? By the way, remember use the R tag next time :) – Frank Aug 08 '16 at 21:26
  • You might need to use library(reshape2) – Michael Aug 08 '16 at 23:20
  • @ Michael: It did not work with reshape2 either. – NRuecker Aug 09 '16 at 21:15
  • @Frank: Yes, I loaded reshape first. However, I loaded several packages at the same time. Now, I load them seperately and the script works. I don't get why, but... – NRuecker Aug 09 '16 at 21:16
  • Hm ok, I don't know why either. I always load separately. Btw, if you put a space after the @, the person is not pinged. – Frank Aug 09 '16 at 21:21

0 Answers0