Difficulties uploading Hmisc and gmodels

I don't understand what you mean with "upload" but the correct workflow would be like this

  • Install the packages once with install.packages(c("gmodels", "Hmisc"))

  • If the previous step succedes (you don't get any error messages), then you have to load the packages with:

    library(gmodels)
    library(Hmisc)
    

    Note: You have to repeat this step on each new R session where you want to use the packages.

  • If you get an error message while installing the packages, then post the whole error message here so we can try to figure out what is wrong.