There are 13 folders and each of them is a individual file (demo, hw, lab or project) wrote by python.
- Launch your Jupyter notebook from the R environment.
- Open the â€œfilename.ipynbâ€ file. Click Save As. Then save the file as â€œfilename_r.ipynbâ€.
- Start to translate from python to r. You should execute the r commands so that the outputs are shown in the notebook
- Some languages are written with respect to the python language. You will need to rewrite them so that they pertain R. For example, it may say â€œthis operation is achieved by the group method in the python/datascience moduleâ€. You can translate it as â€œthis operation is achieved by the aggregate function in R.â€
- Some languages are not applicable to R. For example, there might be some general introductions to python. You may delete those languages.
- You must make sure that your R code is executable. You have to execute all the cells and display the output.
- Once you are done, create a .txt file or a Word file in the folder, named â€˜self-evaluationâ€™. Comment on how satisfied you are with your translation. Comment on which files you are most satisfied with, and which files you are least satisfied with.
(Check the last part of the attached for some simple illustration of how this is done. All the code we use won’t be so hard or complex (both python and R I think ) )
It’s due 12/3, I think it’s not hard but will be a long-time work.