rcgsheffield / sheffield_hpc

Docs for University of Sheffield HPC systems
https://docs.hpc.shef.ac.uk/
Other
52 stars 50 forks source link

Installation of WGCNA for R on iceberg #193

Closed sann1458 closed 8 years ago

sann1458 commented 8 years ago

I am trying to install WGCNA for R as per: http://labs.genetics.ucla.edu/horvath/CoexpressionNetwork/Rpackages/WGCNA/InstallationInstructions.html

I tried to install it but I kept getting error messages. Then tried a manual install but I don't think I have the correct privileges

Cadair commented 8 years ago

Hello, @sann1458.

I think you can install R packages into custom directories, ones which you will have permissions for. From reading this link: https://csgillespie.wordpress.com/2010/11/06/installing-r-packages/

I think you could do something like this:

mkdir /data/<username>/Rpackages
echo "R_LIBS=/data/<username>/Rpackages/` > ~/.Renviron

(swap <username> for your iceberg username)

and then install the packages following the instructions in the link you provided.

mikecroucher commented 8 years ago

@sann1458 Do you still need help with this or is it working now?

mikecroucher commented 8 years ago

No response. Assume all is OK and so closing. Please reopen if this issue is not resolved.