[R] getting started, reading listing and saving data

Petr Pikal petr.pikal at precheza.cz
Thu Nov 24 07:36:38 CET 2005


   On 23 Nov 2005 at 13:44, Ronnie Babigumira wrote:
   Date sent:         &#16
   From:         &#16   <r.babigumira at gmail.com>

   To:          
   Subject:             and saving data

   [DEL:  > Thomas many thanks,  though str(myo   I want, it :DEL]

   [DEL:  >  prompted  me  to try head(myobject [3:4])    really close :DEL]

   [DEL:  >  to  what  I  want,  I  get  the  first few obse   variables 3 and 4 :DEL]

   [DEL:  >  in  my  data. What I would like to do howe   same thing :DEL]

   [DEL:  > but with the variable names explicitly (   use :DEL]

   [DEL: > something like varname3 and varname4) :DEL]

   [DEL: > :DEL]

   [DEL: > Any ideas :DEL]

   Hi

   qouote names

   head(myobject [, c("some.name", "some.other.name
   HTH

   Petr

   [DEL: > :DEL]

   [DEL:  >  Again,  many  thanks to all on the list wh   promise I am :DEL]

   [DEL:  >  frantically  trying to read up everything   and bring :DEL]

   [DEL:  > myself upto speed so I will not be consu   a lot of :DEL]

   [DEL: > read the manual sort of questions) :DEL]

   [DEL: > :DEL]

   [DEL: > :DEL]

   [DEL: > :DEL]

   [DEL:  >  On  11/23/05,  Thomas  Schönhoff <tsch   wrote: :DEL]

   [DEL: > > Hello, :DEL]

   [DEL: > > :DEL]

   [DEL:  >  >  2005/11/23, Ronnie Babigumira <r   :DEL]

   [DEL: > > > Many thanks to Peter Alspach,    for the :DEL]

   [DEL:  >  >  >  help.  Peter and Jim, head? and   needed to :DEL]

   [DEL:  > > > list a few observations. Peter   str? to :DEL]

   [DEL: > > > me. I totally agree with you o
   [DEL: > > > :DEL]

   [DEL:  >  >  >  Murray  thanks for file > sa   save.image) :DEL]

   [DEL: > > > addresses the third of my conc
   [DEL: > > > :DEL]

   [DEL:  > > > One last question related to h   best if :DEL]

   [DEL:  > > > you have a few variables (colu   I use the :DEL]

   [DEL:  >  >  >  information on the variable na   list the :DEL]

   [DEL: > > > first few few observations for
   [DEL: > > > :DEL]

   [DEL:  >  > > To make it clear. Say I load a   named v1 :DEL]

   [DEL:  >  >  >  to vn. I use str(mydata) and I   names.. :DEL]

   [DEL: > > > :DEL]

   [DEL: > > > str(x) :DEL]

   [DEL: > > > v1 ...... :DEL]

   [DEL: > > > .  ...... :DEL]

   [DEL: > > > .  ...... :DEL]

   [DEL: > > > .  ...... :DEL]

   [DEL: > > > .  ...... :DEL]

   [DEL: > > > Vn ...... :DEL]

   [DEL: > > > :DEL]

   [DEL:  >  > > How do i list the first n obse   :DEL]

   [DEL: > > :DEL]

   [DEL:  >  >  Not  sure  if  this  is  what  you  are  lo   str(myobject[ 5:9]) :DEL]

   [DEL: > > :DEL]

   [DEL: > > regards :DEL]

   [DEL: > > :DEL]

   [DEL: > :DEL]

   [DEL: > ________________________________________
   [DEL: > R-help at stat.math.ethz.ch mailing list :DEL]

   [DEL: > https://stat.ethz.ch/mailman/listinfo/r-
   [DEL: > PLEASE do read the posting guide! :DEL] 
   [DEL: > http://www.R-project.org/posting-guide.h
   Petr Pikal

   petr.pikal at precheza.cz



More information about the R-help mailing list