VSCode Jupyter Notebook with Python, R, Julia [Visual Studio Code]
Skills:
Tool Use & Function Calling80%
Key Takeaways
Installs and sets up Jupyter Notebook with R and Julia kernels in VSCode
Full Transcript
hey friends welcome to one little coder in this video we are going to look at a new feature on vs code which is the latest Jupiter extension so vs code already has a notebook extension but that was not a complete Jupiter extension so what Microsoft has done recently is that they have refactored their extension to have the replica of Jupiter notebook so you can read more about it but the biggest advantage of it is that now because you have got this extension which is which is almost like jupyter extension all you have to do is if you have uh R kernel or Julia konner or Scala kernel installed on your Jupiter notebook then you can use the same languages r or Julia or Scola other than python on your vs code notebook also so the previous case you can use only python on jupyter Notebook on vs code but right right now if you have the latest extension installed then you can also use any other languages for which the kernels you have already installed on your machine so this is a great thing for a lot of developers who you who do who use multiple languages for example now in this uh tutorial we are going to look at how to install an R kernel but before we move on if you have never used Jupiter Notebook on vs code I've already made a separate video quite some time back I'll link that video in description so you can have a look at it but if you have not then very small uh brief uh instruction of how to do that first you have to go to this GitHub repository I'll link that in the description please give a thumbs up if you like this video and please subscribe if you like this channel uh you can go and then click uh this download this is a vs code Insider it's not shipped as part of you know uh the main production you have to install vs code Insider once you have that then you have to make sure that you have got some jupyter kernel so in your case if you have installed already python or anac so you would have this up and running already by this time so you don't have to be bothered about it the third step is you have to install the jupyter extension of for vs code so that is is quite simple you can either install it from here or you can go to uh the vs code and type Jupiter and then you can get it installed from there so once you do all these things you are successfully up and running all you have to do is you have to go to your vs code click command shift p and then create a new blank jupyter notebook and that's going to create a notebook for you so you have uh Python and you have the jupyter notebook in place so that is done for you so what do we do next uh the next step is now we we are going to look at how to install R kernel for your uh jupyter notebook so if you want to use R so let me just show python here um print happy into three I've got happy three and you have got this right so let's say if you want to use R in your jupyter notebook on vs code what do you do so the step is simple so first main thing is you have to make sure that you have got r on your machine once you have that you have to install R kernel so all you have to just copy this this is I'll link this link also so you have to install R kernel you can go here and uh install R uh let's invoke R First Once you have invoked R you can say install. packages I colal small then you install it going to ask you to select a mirror session uh you have to select the mirror once you select that it is going to go ahead with the installation once you do that then you have to invoke that package uh like this that is done all you have to do is invoke it now you have successfully got our kernel now we can quit your R kernel if you don't want don't save the workspace now that is done now all you have to do is close your vs code that has been re open now you can actually see that I can go create a new jupyter notebook at the same time I can go click Python 3 and then you can see I've got r two R kernel install because I've got one before so after I install it all I have to do is uh let's say plot Iris very popular there is there is some uh bug but you can see that you can use or you can say h of empty cars PG you know that you have got R install we have got R successfully installed we can give one more try uh now in this case let's try to install Julia just to recap until now what we have done is we have learned about the latest uh Julia sorry latest Jupiter extension for vs code which is completely refactored Julia uh sorry Jupiter extension which means you can use any language unlike before where you could use only python so if you have got a kernel install for a particular language you can take that you can use the same control you don't have to separately do any installation now let's look at how to install Julia kernel on Notebook Jupiter Julia kernel Jupiter notebook so once we do that we are going to get some support going to say we have to do add Julia so uh if we have to do that uh alternatively you can Julia image python do this type okay let's do add Julia for that first we have to invoke Julia um reppel let's invoke Julia repel now add Julia there is an error add I Julia okay it say there is an error um token Julia after end of expression this let's see uh we have to enter into the package mode now do add Julia okay now it's installing I'm new to Julia so I hope if you also face this error this would be helpful to you it's getting installed after it installs we have to probably take our vs code once again and to see if we have got we can close this don't save anything close it okay looks like it has been successfully installed now let's go and click command shift p which will tell us select a kernel you can click select a kernel and then okay first create a blank jupyter notebook then select the kernel you can click here and select it uh oh we have got Julia in place I've never written any code in Julia so just let's look for simple for Loop Julia hello world okay I think we just have to say uh let's call it um hello to good morning and then you type hello you have good morning nice let's try something it doesn't work like python I was trying but basically basically you get the idea so now you have got Julia in place uh youve got python in place different versions of python you've got R in place so it is one vs code extension uh but now you have got support for multiple languages which means uh all you have to do is you have to go to your vs code the same way you used to use jupyter notebook now you can just go to vs code all you have to do is close it don't save it command shift p uh create a blank notebook and once you create a blank notebook you can select whatever colel that you want you select the kernel that you like and then you can start write your code uh so let's say in my case if I want R then I can click R then I can just basically say R and um Range okay I think I'm getting confused between multiple languages uh yeah this is a problem I'm getting confused between multiple so I have ignore this error I think this is an error because it's a new extension there is some error that is um but you can just ignore it as you move down uh it wouldn't have that error in place so you can just ignore that error and move on so basically uh what we have seen a quick overview is that we learned about the new Jupiter extension for vs code and uh we also learned what is the biggest change the biggest change is that now you can actually use any language or for which you have got uh uh kernel installed on Jupiter and we also learned how to install uh Jupiter extension for vs code if you have never done that please don't worry I've got a video I can link that video and after that we also learned how to install our kernel on jupyter Notebook and also we saw a demo of how we used R and then we also installed Julia kernel uh for installing R so I hope this video was helpful and uh if you have any comments or if you have any difficulties why you go through this process please let me know in the comment section if not uh I'll be very happy to uh I'll be very happy if you can like this video share word about this video to your friends and uh I hope uh you also start using vs code on uh jupyter on vs code which is quite handy if you have one editor and then you can do multiple things it's really handy thank you so much for watching this video until next video stay safe take care
Original Description
Microsoft has refactored its VSCode Jupyter Extension to support all Jupyter Noteboook Kernels.That means, You can use languages other than Python on your VSCode Jupyter Notebook. Languages like R and Julia. In this Video you'll learn how to use R and Julia on VSCode Jupyter Notebook
Setup Jupyter Notebook within VSCode https://www.youtube.com/watch?v=IBdhwrfgP9c
VSCode Jupyter - https://github.com/microsoft/vscode-jupyter
R Kernel for Jupyter Notebook - https://irkernel.github.io/installation/
Julia Kernel for Jupyter Notebook - https://github.com/JuliaLang/IJulia.jl
Watch on YouTube ↗
(saves to browser)
Sign in to unlock AI tutor explanation · ⚡30
Playlist
Uploads from 1littlecoder · 1littlecoder · 0 of 60
← Previous
Next →
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
How to create your Free Data Science Blog on Github with Fastpages from Fastai
1littlecoder
Making Interactive Matplotlib Plots for Data Science Visualizations on Jupyter (Python)
1littlecoder
Create your first Data Science Web App using R Shiny
1littlecoder
How to create a Reproducible Example in R using reprex
1littlecoder
No Code Visualization using esquisse with Tableau-like Drag and Drop GUI in R
1littlecoder
Scrape HTML Table using rvest and Process them for insights using tidyverse in R
1littlecoder
Google Teachable Machine Learning Build No Code AI solution
1littlecoder
Create meaningful fake tidy datasets in R using fakir [#rstats Package]
1littlecoder
How to enable using R Programming with Visual Studio VS Code
1littlecoder
Python, Community, Books - with Abhiram R - Bangpypers Co-organizers | 1littlecoder podcast
1littlecoder
Growing a Tech Community across India - Anubha Maneshwar, Founder Girlscript | 1littlecoder Podcast
1littlecoder
Intro to Google Colab - How to use Colab
1littlecoder
Intro to Plotly Express - Complex Interactive Charts with One-Line of Python Code
1littlecoder
Indic NLP Python Toolkit Open Source Development - iNLTK Creator Gaurav Arora | 1littlecoder Podcast
1littlecoder
Do you want a career in Data Science - Tamil Webinar
1littlecoder
Android Smartphone Analysis in R [Live Coding Screencast]
1littlecoder
Programmatically create Images, Memes, Watermarks using Python with imgmaker
1littlecoder
Kaggle Walkthrough to get you started with Data Science - Webinar
1littlecoder
Community, Corporate Job, Coding - Gnana Lakshmi T C aka Gyan, WomenWhoCode Leadership Fellow
1littlecoder
Easy ggplot2 Theme Customization with {ggeasy} | Data Visualization in R
1littlecoder
Excel to R - Pivot + Bar Chart in Excel & R using tidyverse [Live Coding]
1littlecoder
Excel to R #2 - VLOOKUP in Excel to LEFT_JOIN, MERGE in R
1littlecoder
5 websites to get Free Real-World Datasets for Data Science/ML Projects
1littlecoder
Excel to R #3 - APPROXIMATE VLOOKUP in Excel to FUZZY LEFT_JOIN in R
1littlecoder
Correlation-alternative PPS (Predictive Power Score) Python Package Demo
1littlecoder
Automated Website Screenshots in R using {webshot}
1littlecoder
Installing Custom RStudio Theme (Synthwave85)
1littlecoder
Analyse Google Trends Search Data in R using {gtrendsR}
1littlecoder
3 Tips to ask question on Stack Overflow the right way to get answers
1littlecoder
Learn Data Science with R - Mini Projects - Web Scraping Zomato
1littlecoder
Easily make Dumbbell Chart using {ggcharts} | Data Visualization in R
1littlecoder
GET Hackernews Front Page Results using REST API in R
1littlecoder
Quickly deploy ML WebApps from Google Colab using ngrok
1littlecoder
Use Jupyter Notebooks within VSCode (Visual Studio Code) in 2020
1littlecoder
Plotly Interactive Plots as Pandas Plotting Backend df.plot()
1littlecoder
Stack Overflow Developer Survey 2020 Highlights for New Programmers
1littlecoder
Matplotlib Animation Charts in Python using Celluloid
1littlecoder
Coding, Postwoman, Passion Project Book - Liyas Thomas Open Source Developer - 1littlecoder podcast
1littlecoder
Aspiring Data Scientist, Tips on How to learn Business Domain Knowledge
1littlecoder
Bokeh Interactive Charts as Pandas Plotting Backend df.plot_bokeh()
1littlecoder
Easy Fast Python Pandas Summary with Sidetable | Pandas Tips & Tricks
1littlecoder
Inception, Content Ideas, Consistency - Srivatsan Srinivasan AIEngineering YouTube Content Creator
1littlecoder
ggplot2 Text Customization with ggtext | Data Visualization in R
1littlecoder
Penguins Dataset Overview - iris alternative | EDA Data Visualization in R
1littlecoder
YouTube Growth Tips, Content Creation - Bhavesh Bhatt, YouTuber (Data Science & Machine Learning) #7
1littlecoder
Matplotlib Animated Bar Chart Race in Python | Data Visualization
1littlecoder
Simple Python GUI Development using {guietta}
1littlecoder
#8 Niche, Growth, Monetization - David Langer - YouTuber Dave on Data
1littlecoder
Simple Fast 3-step Python OCR using Deep Learning 40+ Languages
1littlecoder
Github New Feature Profile Summary/Mini-Resume - Profile Views
1littlecoder
Otto ML Assistant, GPT-3 on Philosophers, Nvidia-ARM - 3 ML Tech News
1littlecoder
What is OpenAI GPT-3 - Hype, Examples, Worries
1littlecoder
Julia 1.5, Datamuse API, Live HDR+ Pixel 4a - Machine Learning Tech News
1littlecoder
Self-driving Car Engineer sentenced, arXiv Dataset, AI/ML Startup Idea - Machine Learning Tech News
1littlecoder
GPT-3 Explorer, Ciphey (Automated Decryption), Py-Sudoku - ML Tech News
1littlecoder
How to use Advanced Google Search to extract Email Ids from Linkedin
1littlecoder
Cartoonizer Toon-IT (AI Web App), GPT-3 Advice, Android Earthquake Detection - ML Tech News
1littlecoder
Flow - R Package to visualize code logic, functions as a Flow Diagram
1littlecoder
Build GPT-3-like Language Model on Google Colab with minGPT [PyTorch]
1littlecoder
Create a Pencil Sketch Portrait with Python OpenCV
1littlecoder
More on: Tool Use & Function Calling
View skill →Related Reads
📰
📰
📰
📰
EU tech chief and Tim Cook hold ‘constructive’ talks as Siri AI stays blocked in Europe
The Next Web AI
Sonnet 5 launches: Opus performance at lower cost
Dev.to · The Dev Signal
Claude Sonnet 5 Didn’t Just Get Smarter. It Changed the Economics of AI.
Medium · AI
Claude Sonnet 5 Didn’t Just Get Smarter. It Changed the Economics of AI.
Medium · Machine Learning
🎓
Tutor Explanation
DeepCamp AI