[R-SIG-Mac]R syntax error?

Stefano Iacus jago@mclink.it
Wed, 27 Mar 2002 10:00:43 +0100


Peter, this version works for me (both Carbon and Darwin R). You should 
better not cut strings.

Stefano


labvnewe <- c("SequenceNumber", "Firm Number", "still activ", "notAktiv",
"economDevelopSectorm", "ecomEntwBereich.u", "ecommDevelopm",
"ecommEntwi.u", "finacial probl", "Finanzprob.u", "Managmprobl.w",
"Managmprobl.u", "MarketgAufwand.w", "MarketgAufwand.u", "politRahmen.w",
"politRahmen.u", "FachkrMangel.w", "FachkrMangel.u", "Technkmangelh.w",
"Technkmangelh.u", "Techimplem.w", "Techimplem.u", "Outsourceprobl.w",
"Outsourceprobl.u", "wirtschEntwi.w", "wirtschEntwi.u", "Reorgprobl.w",
"Reorgprobl.u", "Sonst.w", "Sonst.u", "SonstWelche", "marketing 
investmt",
"Marktinvest.u", "reorganisation", "Reorg.u", "TechnolSuperiority",
"Technüberleg.u", "optimal use of gov support", "Fördoptimal.u",
"known traditional brand", "Bekannttrad.u", "geogaph range extension",
"geogrAusweitg.u", "lower prices than trad", "NiedrPreisgegtrad.u",
"synergy efffects w.trad.", "Synergieff.u", "regional portals",
"regPortal.u", "other success factors", "SonstErfolgfkt.u", 
"SonstErfolgWelch",
"changEmploy.abs", "loss.empl.gt.10", "loss.empl 1.5to10", "employm 
equal",
"empl-gro.gt.10", "empl-grow 1.5-10", "growthtrad","growthB2C" )

On Martedì, marzo 26, 2002, at 10:44 , Peter Paul Sint wrote:

> The two definitions of labvnewe differ only in the last 3 items.
> The first fails on R141 with : syntax error
> Is there a limit on c() lenght?
>
> labvnewe<-  c("SequenceNumber","Firm Number","still 
> activ","notAktiv","economDevelopSectorm","ecomEntwBereich.u","ecommDevelopm"
> ,"ecommEntwi.u","finacial 
> probl","Finanzprob.u","Managmprobl.w","Managmprobl.u","MarketgAufwand.w","MarketgAufwand.
> u","politRahmen.w","politRahmen.u","FachkrMangel.w","FachkrMangel.u","Technkmangelh.
> w","Technkmangelh.u","Techimplem.w","Techimplem.u","Outsourceprobl.w","Outsourceprobl.
> u","wirtschEntwi.w","wirtschEntwi.u","Reorgprobl.w","Reorgprobl.u","Sonst.
> w","Sonst.u","SonstWelche","marketing 
> investmt","Marktinvest.u","reorganisation","Reorg.u","TechnolSuperiority"
> ,"Technüberleg.u","optimal use of gov support","Fördoptimal.u","known 
> traditional brand","Bekannttrad.u","geogaph range 
> extension","geogrAusweitg.u","lower prices than 
> trad","NiedrPreisgegtrad.u","synergy efffects 
> w.trad.","Synergieff.u","regional portals","regPortal.u","other success 
> factors","SonstErfolgfkt.u","SonstErfolgWelch","changEmploy.abs","loss.empl.
> gt.10","loss.empl 1.5to10","employm equal","empl-grow 1.5-10","empl-
> gro.gt.10" ,"growthtrad","growthB2C")
>
> labvnewe<-  c("SequenceNumber","Firm Number","still 
> activ","notAktiv","economDevelopSectorm","ecomEntwBereich.u","ecommDevelopm"
> ,"ecommEntwi.u","finacial 
> probl","Finanzprob.u","Managmprobl.w","Managmprobl.u","MarketgAufwand.w","MarketgAufwand.
> u","politRahmen.w","politRahmen.u","FachkrMangel.w","FachkrMangel.u","Technkmangelh.
> w","Technkmangelh.u","Techimplem.w","Techimplem.u","Outsourceprobl.w","Outsourceprobl.
> u","wirtschEntwi.w","wirtschEntwi.u","Reorgprobl.w","Reorgprobl.u","Sonst.
> w","Sonst.u","SonstWelche","marketing 
> investmt","Marktinvest.u","reorganisation","Reorg.u","TechnolSuperiority"
> ,"Technüberleg.u","optimal use of gov support","Fördoptimal.u","known 
> traditional brand","Bekannttrad.u","geogaph range 
> extension","geogrAusweitg.u","lower prices than 
> trad","NiedrPreisgegtrad.u","synergy efffects 
> w.trad.","Synergieff.u","regional portals","regPortal.u","other success 
> factors","SonstErfolgfkt.u","SonstErfolgWelch","changEmploy.abs","loss.empl.
> gt.10","loss.empl 1.5to10","employm equal","empl-grow 1.5-10") 
> #,"empl-gro.gt.10" ,"growthtrad","growthB2C")
>
> labvnewe[58:60]<- c("empl-gro.gt.10" ,"growthtrad","growthB2C")
>
> --
> CHANGED phone number extensions. We will move in spring (April?) 2002 to
>    Prinz Eugen-Strasse 8-10, A-1040 Wien
> Peter Paul Sint (sint@oeaw.ac.at, http://www.iwe.oeaw.ac.at/sint )
> RU - Institutional Change and European Integration,
> Austrian Academy of Sciences ICE, Baeckerstr.13
> A-1010 Wien/Vienna, Austria, EU
> vox +431-51581-7553  (fax +431-51581-7566)
>