What is an R data frame?
/////////////////////////////////////////////////////////////
 In R, a data frame is a fundamental and versatile data structure that organizes data in a
    two-dimensional tabular form, resembling a spreadsheet or a database table. Each column 
    in a data frame can contain different types of data, such as numeric, character, or factor,
    making it suitable for handling heterogeneous datasets. The rows represent observations or 
    cases, allowing for easy comparison and analysis of variables across different entities. 
    This structure is particularly beneficial when working with real-world datasets that often
    involve multiple variables and diverse data types.

The advantages of using an R data frame are numerous. 
  Firstly, data frames provide a convenient and intuitive way to handle structured data, 
     facilitating data manipulation, exploration, and analysis. 
   R functions and packages are optimized for data frames, offering a wide range of
     operations like subsetting, filtering, and merging. Moreover, data frames seamlessly
     integrate with statistical and graphical functions in R, making it easier to conduct 
     exploratory data analysis and generate visualizations. 

 Additionally, the tabular format simplifies the import and export of data from various sources,
    enhancing interoperability. Overall, the flexibility, ease of use, and compatibility of R 
    data frames make them a powerful tool for handling and analyzing complex datasets in 
    statistical programming and data science.
/////////////////////////////////////////////////////////////

Example #2 
/////////////////////////////////////////////////////////////
> infile<-'http://datayyy.com/data_R/adult.rda'
> a<-load(url(infile))
> a
[1] "adultTrain" "adultTest" 

> head(adultTrain)
  AGE         WORKCLASS FNLWGT  EDUCATION EDUCATION-NUM      MARITAL_STATUS         OCCUPATION   RELATIONSHIP   RACE     SEX CAPITAL_GAIN
1  39         State-gov  77516  Bachelors            13       Never-married       Adm-clerical  Not-in-family  White    Male         2174
2  50  Self-emp-not-inc  83311  Bachelors            13  Married-civ-spouse    Exec-managerial        Husband  White    Male            0
3  38           Private 215646    HS-grad             9            Divorced  Handlers-cleaners  Not-in-family  White    Male            0
4  53           Private 234721       11th             7  Married-civ-spouse  Handlers-cleaners        Husband  Black    Male            0
5  28           Private 338409  Bachelors            13  Married-civ-spouse     Prof-specialty           Wife  Black  Female            0
6  37           Private 284582    Masters            14  Married-civ-spouse    Exec-managerial           Wife  White  Female            0
  CAPITAL_LOSS HOURS_PER_WEEK NATIVE_COUNTRY EARNING
1            0             40  United-States   <=50K
2            0             13  United-States   <=50K
3            0             40  United-States   <=50K
4            0             40  United-States   <=50K
5            0             40           Cuba   <=50K
6            0             40  United-States   <=50K
/////////////////////////////////////////////////////////////