Dealing with lists in R can be cumbersome for beginners. Of all the tutorials I have seen on the web, the following site provides the most simple and objective explanation I have found so far: R lists tutorial.
Tutorial for Mathematica
There are several free tutorials for Mathematica available on the web. This link provides brief and straight to the point tutorial with the basics for an undergraduate student of Economics. Here is a link to another useful tutorial.
In my next posts I’ll cover topics that will be useful for the assignments of my International Trade course.
Importing data into R
Transferring data from one file format to another is almost as fun as working on concordance tables for the different versions of the HS codes. That said, you can find several packages in R that allow for file conversions. The link below talks about the rio package and provides a very useful summary of its capabilities.
R-project rio package
In the event you have to convert a long list of files, perhaps the following link may be of help:
Convert several txt files to csv using R.