- start an AWS linux 2 instance
- ssh into instance
- follow these steps to build julia
https://github.com/magerton/ec2-for-R-and-julia
- create symbolic link to Julia
sudo ln -s /home/ubuntu/JuliaPro-0.6.3.1/julia /usr/local/bin/julia
- build julia
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Julia and R on Amazon EC2 | |
#### This is basically forked from: https://github.com/magerton/ec2-for-R-and-julia | |
## Purpose | |
This guide explains how to set up a simple Amazon Linux 2 instance on EC2 for use with Julia + GPU. | |
The guide assumes basic familiarity with a UNIX-like systems (e.g., navigating the file structure, copying, moving, ssh, etc). Note that Windows 10 now includes the "Windows Subsytem for Linux" (WSL), which provides a very nice terminal environment ([MSDN setup guide](https://msdn.microsoft.com/en-us/commandline/wsl/install_guide)). The Git Bash terminal is also a good choice for Windows. macOS users may make use of the built-in macOS terminal. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using AlphaVantage | |
using DataFrames | |
using StatPlots | |
using Dates | |
using TimeSeries | |
using Statistics | |
using MLJ | |
using LossFunctions | |
#Problem I was solving:
- I was getting a SegFault Error when trying to load JuliaCall from R.
- I was also getting package not found errors from certain pkgs prescribed by my startup.jl file
R version: R version 4.0.3 (2020-10-10)
Julia: I let JuliaCall install a new version of julia at this location:
/Users/swojcik/Library/Application\ Support/JuliaCall/julia/v1.5.0/bin/julia