Create a custom RStudio Lab
Step 1: Select the Container Apps perspective then select the Docker Labs view.
Step 2: In the view Object Storages, create a new storage "My-New-Storage"
Step 3:Â Click on the new storage, The Amazon console will open in a new tab. Once you access your AWS S3 bucket, you can upload any relevant files (notebooks, datasets).
Step 4: In the view Docker Labs, right click on RStudio then select clone and name the cloned Docker lab "My-RStudio".
Step 5: Right-click on the new formation that appeared in the Docker Labs and choose Configure.
Step 5.1: Choose the tab Volumes , select Default under Working Volume, choose "My-New-Storage" under Reference Volume.
Step 6: Click on "My-RStudio" to launch , the session will be ready after 2-3 minutes and you'll see a green tick in the upper left corner of the icon, click on the lab to connect to RStudio and find files that you have uploaded to your Storage.
Step 6.1: Click on the session, RStudio will open in a new tab, you can access the files you uploaded on your storage by following the steps below and start working.
   Step 1: Click More
   Step 2: Click Go to Working Directory where you will find your files
Step 6.2: Let's Install the "data.table" package.
Step 7: Now to persist the new changes, right-click on the session, choose Create Machine Image, Keep "Update Originator Formation On Success" checked.
Â
Now the new lab is ready and linked to new image, next time when you launch the lab it will create a machine based on your new image and the storages you specified will be mounted automatically.
Â
Step 8: Share the lab with a user, an organization or a group to allow them to reproduce your lab environment using their own keys.
Â