[R] Why does this give a syntax error?

Wladimir Eremeev wl at eimb.ru
Fri May 20 16:52:04 CEST 2005


 The statemets ends with '0,)', maybe this is the reason...
 BTW, all statements end with the similar symbols.
 I have found, that R some times complain on this and sometimes not,
 but did not search the reasons.

 My R 2.1.0 on win2000 doesn't complain on the statement
 bryansAtLineLevel<-c( blah-blah-blah
 which I have copy-pasted from the mail message.

 Why don't you want to use 'rep' in generating sequences?
 
 You also could store data in separate file(s) and use something like
 read.table.

 At least, these could make your script more readable.

--
Best regards
Wladimir Eremeev                                     mailto:wl at eimb.ru

==========================================================================
Research Scientist, PhD                           Leninsky Prospect 33,
Space Monitoring & Ecoinformation Systems Sector, Moscow, Russia, 119071,
Institute of Ecology,                             Phone: (095) 135-9972;
Russian Academy of Sciences                       Fax: (095) 135-9972




More information about the R-help mailing list