Skip to content
Back to formatted view

Raw Message

Message-ID: <alpine.LNX.2.00.1301311546330.32615@salmo.appl-ecosys.com>
Date: 2013-01-31T23:55:01Z
From: Rich Shepard
Subject: rbind Missing Something: Need New Eyes

I don't see what's missing in my statements to add rows to a data frame
and someone else will probably see what needs to be added to the statements.

   The data frame has this structure (without any data):

  $ PHYLUM     : chr
  $ SUBPHYLUM  : chr
  $ SUPERCLASS : chr
  $ CLASS      : chr
  $ SUBCLASS   : chr
  $ INFRACLASS : chr
  $ SUPERORDER : chr
  $ ORDER      : chr
  $ SUBORDER   : chr
  $ INFRAORDER : chr
  $ SUPERFAMILY: chr
  $ FAMILY     : chr
  $ SUBFAMILY  : chr
  $ TRIBE      : chr
  $ SUBTRIBE   : chr
  $ GENUS      : chr
  $ TAXON      : chr

   One command (all on one line) is:

itis.ttable <- rbind(itis.ttable, data.frame(PHYLUM = "ARTHROPODA",
SUBPHYLUM = "MANDIBULATA", SUPERCLASS = NA, CLASS = "INSECTA", SUBCLASS =
"DICONDYLIA", INFRACLASS = "PTERYGOTA", SUPERORDER = "PANORPIDA", ORDER =
"TRICHOPTERA", SUBORDER = "INTEGRIPALPIA", INFRAORDER = "PLENITENTORIA",
SUPERFAMILY = "LIMNEPHILOIDAE", FAMILY = "LIMNEPHILIDAE", SUBFAMILY =
"LIMNEPHILINAE", TRIBE = "STENOPHYLACINI", SUBTRIBE = NA, GENUS =
"CHYRANDRA", TAXON = "CENTRALIS"))

   R's response is to ask for more input by displaying the continuation
prompt, +.

   What am I not seeing that R needs to add this row to the data frame?

Rich