The following is a fairly comprehensive guide on how to get connected to EIP’s server. It assumes that you have a username and temporary password set up. It then outlines three different ways to upload files to the server. It also highlights the capacity to write scripts directly on the server, and how to automate scripts using the machine’s cron in two different methods. The guide closes with some considerations for anyone using the server to automate tasks.
This guide is not intended to be a guide on Linux/Github/crontab/R or any other software mentioned within. Relevant documentation is linked as needed.
You need PuTTY to use your SSH key to authenticate and connect to the server.
You should only need to configure things once, as you can easily save the configuration within PuTTY's UI.
138.197.109.76, Port 22, and your saved private key.getent passwd $(whoami)
passwd (initial password should be received via email).Note: You will not have sudo access unless explicitly granted.
You can upload files using three main methods:
/home/USERNAME/
Use the FTP user ftpetey and configure SSL/TLS encryption. Files are stored in
/home/ftpetey/ftp/files/. You have the necessary access to work with these files.
If you would prefer to send yourself files via FTP, please reach out and I can configure the server to allow such.
GitHub is already installed on the server. Use git pull origin main in your directory
to update files. See GitHub CLI Documentation.
The idea here would be to use Linux's crontab to automate scripts.
If you aren't familiar with Linux or cron, resources are below.
See resources: Crontab Quick Reference, Crontab Guru.
The cronR package simplifies scheduling R scripts. The server's RStudio is available here.
R, then source("path/to/script").Check your script, cron syntax, and avoid scheduling tasks too closely together to reduce resource competition. Ensure that you have ownership to any relevant directories so that you can write cron .log files.
Access RStudio here.
Note that you'll need to login using your server username and password.
It works like local RStudio on your machine, but best practice is usually to write and test locally before uploading.
Curious about what packages exist? Run installed.packages() in R (or just use the UI in the bottom right of RStudio).