Vincent,
If you remove the "=" from your function call, it should work fine.
Steve
-----Original Message-----
From: s-news-owner@lists.biostat.wustl.edu
[mailto:s-news-owner@lists.biostat.wustl.edu] On Behalf Of Furstoss
Sent: Thursday, February 01, 2007 6:14 AM
To: snews
Subject: [S] bug rep ?
hello,
I work with:
S-PLUS : Copyright (c) 1988, 2004 Insightful Corp.
S : Copyright Lucent Technologies, Inc.
Version 6.2.1 for Sun SPARC, SunOS 5.8, 64-bit : 2004
and i get a strange trouble:
> rep=("o",10)
Problem: Syntax error: illegal "," on input line 1
but:
> rep("p",10)
[1] "p" "p" "p" "p" "p" "p" "p" "p" "p" "p"
> rep("n",10)
[1] "n" "n" "n" "n" "n" "n" "n" "n" "n" "n"
do you have same trouble on different version and machine ?
(i try on IBM RS/6000, AIX 5.1 : 2004 and i get same
same message)
Many thanks,
--
Vincent Furstoss
fax: 05 49 43 93 72
tel: 05 49 89 00 93
mailto:vincent.furstoss@lusignan.inra.fr
--------------------------------------------------------------------
This message was distributed by s-news@lists.biostat.wustl.edu. To
unsubscribe send e-mail to s-news-request@lists.biostat.wustl.edu with
the BODY of the message: unsubscribe s-news
----------------------------------------------------------------------
LEGAL NOTICE
Unless expressly stated otherwise, this message is confidential and may be
privileged. It is intended for the addressee(s) only. Access to this E-mail
by anyone else is unauthorized. If you are not an addressee, any disclosure or
copying of the contents of this E-mail or any action taken (or not taken) in
reliance on it is unauthorized and may be unlawful. If you are not an
addressee, please inform the sender immediately.
|