R – reading tabular data files

commandline session

> dfrm  print(dfrm
dfrm
> print(dfrm)
    V1      V2
1 Name Jeffrin
2  Age      35
3  Sex    Male
> dfrm  print(dfrm)
            V1
1 Name-Jeffrin
2       Age-35
3     Sex-Male
> dfrm  print(dfrm)
            V1
1 Name-Jeffrin
2       Age-35
3     Sex-Male
> class(dfrm$V1)
[1] "factor"
> class(dfrm$V1)
[1] "factor"
> class(dfrm$V2)
[1] "NULL"
> class(dfrm$V3)
[1] "NULL"
>

$ 4.2.20 6 506---> cat first.txt
Name-Jeffrin
Age-35
Sex-Male
$ 4.2.20 7 507--->

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s