moments seems like the standard package, but there's another that purports to do the same measures: https://rdrr.io/cran/DescTools/man/Skew.html I haven't tested it on any platform.
From many years of early Windows troubleshooting, my guess is that if some but not all of your students are experiencing fatalities and upgrading to current OS version is not an option, but best solution is painful, but usually effective: re-install the OS to a clean state, apply all the service patches. Install R Studio. Test. If it works, continue adding back the collection of pre-existing software until R Studio begins to crash even after hard reboot. It's a weekend's work that only a cash-strapped student would care to undertake in preference to upgrading, but it's the most reliable way of troubleshooting the probem