Your Sid credentials are your HarvardKey e-mail address and password.
No. Please use Google Drive to transfer data into and out of your Sid session.
Scheduled jobs (CRON type jobs) are a special case of the above mentioned batch jobs. These jobs are currently not supported.
Alternatively, you could run cron jobs in Sid Desktop by first installing the cron daemon (
sudo dnf -y install cronie) and then creating a crontab (
crontab -e), but this will cease to operate when her Sid job is terminated.
library(httr)# Example World Health dataurl <- 'https://pastebin.com/raw/V7DEMiDu';r <- GET(url)fil <- tempfile("data")write(content(r, "text"), fil)WHS_data <- read.table(fil, sep="\t", header=TRUE, quote="")summary(WHS_data[,c(1,4,10)])pairs(WHS_data[,c(1,4,10)])
-h to display disk size. E.g., in the below example, the job has
92G of disk storage under
$ df -h $HOMEFilesystem Size Used Avail Use% Mounted onoverlay 105G 14G 92G 14% /
Site Settingsin your Sid Desktop browser tab:
Different operating systems and keyboard configurations map copy and paste differently; but it is generally one of Ctrl-C, Option-C, Alt-C, or ⌘-C for copy (and Ctrl-V, Option-V, Alt-V, or ⌘-V for paste).
In the job launcher, select
Google Drive under
Screencast for a demonstration of attaching a Google Drive to a Sid job:
No. A CPU is a CPU and RAM is RAM. Sid does not allocate cheaper, worse-performing hardware based on request size. Additionally, running multiple jobs will not degrade performance. Sid users can run up to eleven jobs without any performance degradation (as each is allocated dedicated resources from AWS).
When Sid has completed provisioning your desktop environment, a link to it will appear below
Access Url in the dashboard:
The Sid Desktop runs LxQT, The Lightweight Qt Desktop Environment. Like all desktop environments, the left-hand corner opens a menu of useful GUI X Windows applications including web browsers, terminal emulators, text editors, LaTeX editors, and more.
QTerminal is available under System Tools. It is a multi-tab terminal emulator, which can run command-line applications.
GNU Octave is a free alternative to MATLAB available in the Education menu.
Emacs is a popular text editor available in the Programming menu.
The Firefox browser is available in the Internet menu.
The Sid Desktop has hundreds of commands pre-installed such as the following:
The YUM package manager can list, query, and add additional command-line tools to the Sid Desktop.
For all applications, Sid mounts your Google Drive to the same location:
/mnt/google-drive. Each Sid application has similar commands for navigating to this directory location.
Start your application (e.g.,
R) and access your Google Drive data files:
setwd to the attached Google Drive:
Your Google Drive files are now visible from the
You are now in your Google Drive's working directory for reading data, e.g.,
From within a Julia Notebook,
cdto the mount point for your Google Drive:
From within an R Notebook,
setwd to the mount point for your Google Drive:
From inside your Google Drive directory on your local computer, you can use standard
git commands, and all of the git metadata in your repository will be synced in Google Drive, e.g.,
/Volumes/GoogleDrive/My Drive/my-repo $ git initInitialized empty Git repository in /Volumes/GoogleDrive/My Drive/my-repo/.git//Volumes/GoogleDrive/My Drive/my-repo $ echo 1 2 3 > foo.txt/Volumes/GoogleDrive/My Drive/my-repo $ git add foo.txt/Volumes/GoogleDrive/My Drive/my-repo $ git commit -m "Add foo.txt"[master c947c83] Add foo.txt1 file changed, 1 insertion(+)create mode 100644 foo.txt/Volumes/GoogleDrive/My Drive/my-repo $
Screen cast showing Git + Google Drive workflow:
Google Drive in Sid is an object storage system synced by rclone to resemble a file system, but it is lacking some features of a standard POSIX file system (such as symbolic links and file permissions).
Because the features of Google Drive in Sid are not at parity with some POSIX file systems, you may encounter the following problems:
File modifications between Git and Google Drive may disagree, so for example:
$ git statusYour branch is up to date with 'origin/master'.nothing to commit, working tree clean
The same directory used in Google Drive shows modifications to a file in Git:
$ git statusChanges not staged for commit:(use "git add <file>..." to update what will be committed)(use "git restore <file>..." to discard changes in working directory)modified: foo
The above discrepancy is due to the different handling of file permissions:
-rwxr-xr-x 1 jane staff 6991 Nov 25 17:04 foo
Google drive (note the differing file permissions):
-rw------- 1 jane staff 6991 Nov 25 17:05 foo
Running a script containing a shebang line from your Google Drive directory can cause
bad interpreter: Permission denied errors. For example, the below code runs fine in
$ cat hello.sh#!/usr/bin/bashecho "hello"$ ./hello.shhello
The same code fails in Google Drive with
bad interpreter: Permission denied:
$ cat /mnt/google-drive/hello.sh#!/usr/bin/bashecho "hello"$ /mnt/google-drive/hello.shsh: /mnt/google-drive/hello.sh: /usr/bin/bash: bad interpreter: Permission denied
One workaround is to invoke the shebang from the shell, instead of the first line (
#! ) of the script:
$ bash /mnt/google-drive/hello.shhello
Install the requisite system library packages, install rJava, and run javareconf:
system('sudo apt-get update')system('sudo apt-get -y install default-jre default-jdk libpcre3-dev liblzma-dev libbz2-dev zlib1g-dev libicu-dev')install.packages('rJava')system('sudo R CMD javareconf')
Before you can use rJava, you need to restart R.
To restart R in Rstudio, click the Session menu and select Restart R.
Now you can use rJava: