File tree 1 file changed +27
-0
lines changed
1 file changed +27
-0
lines changed Original file line number Diff line number Diff line change 524
524
"metadata" : {},
525
525
"source" : [
526
526
" ## Interfacing Python and [R](https://www.r-project.org/about.html)\n " ,
527
+ " \n " ,
528
+ " This part of the Notebook requires the packages r-essentials and rpy2. To install them, issue the following commands in the terminal\n " ,
529
+ " \n " ,
530
+ " ```bash\n " ,
531
+ " source activate LUcompute\n " ,
532
+ " conda install -c conda-forge r-essentials\n " ,
533
+ " conda install -c conda-forge rpy2\n " ,
534
+ " ```\n " ,
535
+ " \n " ,
536
+ " It is also possible to install rpy2 using pip"
537
+ ]
538
+ },
539
+ {
540
+ "cell_type" : " code" ,
541
+ "execution_count" : null ,
542
+ "metadata" : {},
543
+ "outputs" : [],
544
+ "source" : [
545
+ " !pip install rpy2"
546
+ ]
547
+ },
548
+ {
549
+ "cell_type" : " code" ,
550
+ "execution_count" : null ,
551
+ "metadata" : {},
552
+ "outputs" : [],
553
+ "source" : [
527
554
" We load the extension [rpy2](https://rpy2.readthedocs.io/en/version_2.8.x/)"
528
555
]
529
556
},
You can’t perform that action at this time.
0 commit comments