{"id":1706,"date":"2018-12-17T14:14:31","date_gmt":"2018-12-17T14:14:31","guid":{"rendered":"http:\/\/ri.itservices.manchester.ac.uk\/csf3\/?page_id=1706"},"modified":"2026-03-19T10:02:46","modified_gmt":"2026-03-19T10:02:46","slug":"rstudio","status":"publish","type":"page","link":"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/software\/applications\/rstudio\/","title":{"rendered":"RStudio"},"content":{"rendered":"<h2>Overview<\/h2>\n<p><a href=\"https:\/\/www.rstudio.com\">RStudio <\/a> is a user interface and development environment for <a href=\"http:\/\/www.r-project.org\/\">R<\/a>, the statistical computing environment.<\/p>\n<p>We recommend version 2025.05 or newer on the CSF (Slurm) cluster.<\/p>\n<h2>Restrictions on use<\/h2>\n<p>There are no restrictions on access the software on the CSF. It is released under the <a href=\"https:\/\/www.gnu.org\/licenses\/agpl-3.0.en.html\">AGPL<\/a> license and all use must adhere to that license.<\/p>\n<h2>Set up procedure<\/h2>\n<p>RStudio requires you to have logged in to the CSF with <em>X11 forwarding<\/em> enabled. For more information please see our <a href=\"\/csf3\/getting-started\/connecting\/gui-apps\/\">guide to logging in for GUI app usage<\/a>.<\/p>\n<p>We now recommend loading modulefiles within your jobscript so that you have a full record of how the job was run. See the example jobscript below for how to do this. Alternatively, you may load modulefiles on the login node and let the job <abbr title=\"add '#$ -V' to your jobscript\">inherit these settings<\/abbr>.<\/p>\n<p>Load <em>one<\/em> of the following modulefiles:<\/p>\n<pre>\r\nmodule load apps\/binapps\/rstudio\/2026.01.1-any-r # Requires <strong>you<\/strong> to have already loaded an R modulefile\r\n\r\nmodule load apps\/binapps\/rstudio\/2025.05.0-any-r # Requires <strong>you<\/strong> to have already loaded an R modulefile\r\n\r\n# Older version may not work on CSF3 (Slurm)\r\nmodule load apps\/binapps\/rstudio\/2022.07.2-any-r # Requires <strong>you<\/strong> to have already loaded an R modulefile\r\n\r\nmodule load apps\/binapps\/rstudio\/1.1.463         # Will automatically load the latest R modulefile\r\n\r\nmodule load apps\/binapps\/rstudio\/1.1.463-any-r   # Requires <strong>you<\/strong> to have already loaded an R modulefile\r\n<\/pre>\n<p>Please see our <a href=\"\/csf3\/software\/applications\/r\/\">R<\/a> page for more information on the available versions of R.<\/p>\n<h2>Running the application<\/h2>\n<p>Please do not run rstudio on the login node. Jobs should be run interactively on a compute node using the <code>srun<\/code> command.<\/p>\n<h3>Serial interactive job submission<\/h3>\n<p>Once you have loaded the modulefile use the following command to start RStudio:<\/p>\n<pre>\r\nsrun -p interactive -t 0-6 rstudio\r\n                        #\r\n                        # interactive jobs must be limited to 6 hour (0 days - 6 hour)\r\n\r\n# Alternatively, start a shell on a compute node, then load the modulefiles\r\nsrun -p interactive -t 0-1 --pty bash\r\nmodule load apps\/gcc\/R\/4.5.0 apps\/binapps\/rstudio\/2025.05.0-any-r\r\nrstudio\r\n\r\n# If you see warnings in your terminal about \"Requested GL implementation\", you can silence\r\n# these by running instead:\r\nrstudio --use-gl=angle\r\n<\/pre>\n<p>If you are new to RStudio, try running the following command in the console section of the interface:<\/p>\n<pre>demo(graphics)\r\n<\/pre>\n<p>This will cycle through various graphics demos.<\/p>\n<h3>Parallel interactive job submission<\/h3>\n<p>If you want to test multicore R code in rstudio, start a parallel interactive session<\/p>\n<pre>\r\nsrun -p interactive -n 4 -t 0-6 --pty bash\r\nmodule load apps\/gcc\/R\/4.5.0 apps\/binapps\/rstudio\/2025.05.0-any-r\r\nrstudio\r\n<\/pre>\n<h2>Further info<\/h2>\n<ul>\n<li><a href=\"https:\/\/www.rstudio.com\">RStudio website<\/a><\/li>\n<\/ul>\n<h2>Updates<\/h2>\n<p>None.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Overview RStudio is a user interface and development environment for R, the statistical computing environment. We recommend version 2025.05 or newer on the CSF (Slurm) cluster. Restrictions on use There are no restrictions on access the software on the CSF. It is released under the AGPL license and all use must adhere to that license. Set up procedure RStudio requires you to have logged in to the CSF with X11 forwarding enabled. For more information.. <a href=\"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/software\/applications\/rstudio\/\">Read more &raquo;<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"parent":86,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-1706","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/wp-json\/wp\/v2\/pages\/1706","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/wp-json\/wp\/v2\/comments?post=1706"}],"version-history":[{"count":11,"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/wp-json\/wp\/v2\/pages\/1706\/revisions"}],"predecessor-version":[{"id":12163,"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/wp-json\/wp\/v2\/pages\/1706\/revisions\/12163"}],"up":[{"embeddable":true,"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/wp-json\/wp\/v2\/pages\/86"}],"wp:attachment":[{"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/wp-json\/wp\/v2\/media?parent=1706"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}