Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
RStudio-Docu
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Scientific Computing
RStudio-Docu
Commits
8a803d1b
Commit
8a803d1b
authored
5 years ago
by
Dirk Sarpe
Browse files
Options
Downloads
Patches
Plain Diff
formatting and more specific mailto links
parent
c571757d
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
rstudio1.md
+41
-17
41 additions, 17 deletions
rstudio1.md
with
41 additions
and
17 deletions
rstudio1.md
+
41
−
17
View file @
8a803d1b
...
...
@@ -6,10 +6,12 @@ Subscribe to updates of this documentation via
[[
_TOC_
]]
## Access Web-IDE of RStudio
1.
check if you have been given access from gsu (g_r_users)
1.
[
https://rstudio.idiv.de
](
https://rstudio.idiv.de
)
1.
check if you have been given access from
[
GSU
](
https://www.idiv.de/?id=532
)
(i.e. if you are the group g_r_users)
1.
go to https://rstudio.idiv.de
1.
use your iDiv username and password to login
1.
please remember to end your session when you have finished your current
1.
please remember to
**
end your session
**
when you have finished your current
calculations
-
interactively via the red button in the upper right
-
in your longer running scripts use a statement like this after your
...
...
@@ -23,10 +25,12 @@ Subscribe to updates of this documentation via
```
1.
if you want to run jobs for weeks or which require many cores (>10) for
multiple days, please contact
[
it-support@idiv.de
](
mailto:it-support@idiv.de
)
beforehand. At this point
you should consider to move to the HPC cluster.
[
it-support@idiv.de
](
mailto:it-support@idiv.de?subject=heavy%20rstudio%20use
)
beforehand. At this point you should consider to move to the HPC cluster.
## ssh access
You can only reach the server from the internal network, i.e. if you are
connected via VPN or cable at iDiv. Note that the internal name is rstudio1
instead of rstudio!
...
...
@@ -39,13 +43,16 @@ ssh rstudio1.idiv.de
```
## Data organisation
Currently there are three important places for you on the server:
1.
/homes/$USER your home directory
2.
/data place any larger files you want to work with here
3.
/home/$USER/winhome a mounting point for your network home directory
1.
`/homes/$USER`
your home directory
2.
`/data place`
any larger files you want to work with here
3.
`/home/$USER/winhome`
a mounting point for your network home directory
### Home directory
When you log in either via https or ssh this is usually the first place where
you end up. Your home directory can be abbreviated by "~/". There is not a lot
of space here, so do not place any larger data here. RStudio has the ugly not
...
...
@@ -60,19 +67,26 @@ in `.RData` of your current working directory if you end your session or call
`save.image()`
without further arguments. Please ensure that you do not save
large
`.RData`
files in your home directory.
### /data
You can create your own directories here and place data inside. By default
others can read the directories you created here, but not write in them. If you
need any special permission let us know via it-support@idiv.de. To directly
jump to another directory select the
*Files*
pane and click on the three dots
(…) located on the right hand side of the current file path. Now enter the path
you want to browse, e.g.
`/data/`
. Additionally there should be a symbolic link
in your home directory called data, which points to the /data directory.
need any special permission let us know via
[
it-support@idiv.de
](
mailto:it-support@idiv.de?subject=rstudio%20file%20permissions
)
.
To directly jump to another directory select the
*Files*
pane and click on the
three dots (…) located on
the right hand side of the current file path. Now enter the path you want to
browse, e.g.
`/data/`
. Additionally there should be a symbolic link in your
home directory called data, which points to the /data directory.
### iDiv group shares
If you are part of an iDiv group you can access your group share on the rstudio
server at
`/data/GROUPNAME-group-share/`
. If your group share is not available
yet please contact
[
it-support@idiv.de
](
mailto:it-support@idiv.de
)
.
yet please contact
[
it-support@idiv.de
](
mailto:it-support@idiv.de?subject=rstudio%20group-share
)
.
## Network home
...
...
@@ -103,10 +117,12 @@ file had 98 MB. Many tools to read or write (e.g. save, save.image, read.table,
fread from data.table) allow transparent use of compressed files, i.e. you just
specify the compressed file instead of the uncompressed file.
## Data transfer
You can use either use the web IDE to upload and export files.
### Web IDE
In the
*Files*
pane click the
*Upload*
button to upload files to the current
directory. For multiple files check the displayed
*TIP*
in the upload window.
For big files please see below.
...
...
@@ -116,6 +132,7 @@ directory and click *More -> Export*. If you selected multiple files a zip file
will be downloaded.
### Tools
Other file transfer tools are often more reliable and faster than the web IDE.
Short instructions are available for several tools like
[
scp
](
scp.md
)
,
[
rsync
](
rsync.md
)
,
[
filezilla
](
filezilla.md
)
.
...
...
@@ -136,7 +153,9 @@ from your buisness logic. Recommendations and templates can be found in the
[
EVE HPC Cluster
wiki
](
https://wiki.ufz.de/eve/index.php/R_Advanced_-_Tips_%26_Tricks#Interactive_and_Command_Line
)
.
## Packages
Many R packages are installed already via the system's package management and
many more are available via the same track. This is the preferred way to
install R packages, as it avoids duplicate installations per user, removes the
...
...
@@ -146,13 +165,15 @@ installed—check with `installed.packages()` for more details.
Of course you can still install packages via R's own functions
(install.packages, devtools, …) if there is the need for it. Long term please
drop a note to it-suppot@idiv.de so that we can install the package via the
system.
drop a note to
[
it-suppot@idiv.de
](
mailto:it-suppot@idiv.de?subject=rstudio%20packages
)
so
that we can install the package via the system.
-
[
https://github.com/eddelbuettel/rcppapt
](
https://github.com/eddelbuettel/rcppapt
)
not yet implemented
:
-
https://github.com/eddelbuettel/rcppapt
(
not yet implemented
)
## Other servers with R
There are some other servers which have R and RStudio (desktop version)
installed, but support for R on those is limited. This means you might
frequently encounter outdated versions of R and associated packages.
...
...
@@ -163,10 +184,13 @@ frequently encounter outdated versions of R and associated packages.
-
idivts8.idiv.de windows 2012r2 terminal server
### External resources available to you
Be aware that we do not control external resources and that you can connect
your iDiv network shares directly.
### Scientific Computing at the University of Leipzig
The UL department
[
Scientific
Computing
](
https://www.urz.uni-leipzig.de/de/fue/sc/
)
makes a set of
[
rstudio
servers
](
https://www.urz.uni-leipzig.de/de/fue/sc/rstudio/
)
available as well.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment