| To: | s-news@lists.biostat.wustl.edu |
|---|---|
| Subject: | problem with workbench |
| From: | Dave Evens <devens8765@yahoo.com> |
| Date: | Thu, 16 Jun 2005 09:06:23 -0700 (PDT) |
| Domainkey-signature: | a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=0VuhOYSUuW0+xTtiqFATHIEJccON4Q7GoEDPQDJDY9dT1bsKfBIUdl0pW3lzXRdrMymL0QgFYzr43BXy8yyggu6gB23nStG+pxw5Nhanr6Ms87+ZKmz9OJQMcV1rhv1sDXreLPJyKeoc7+hHwh8pRuef8ZSmWrK9UXlL+jlCTlk= ; |
Dear all,
I'm having some problems with the Splus Workbench. For
example, the following should work
data1 <- vector(mode="list", length=10)
names(data1) <- paste(LETTERS[1:10])
data1 <- lapply(1:length(data1), function(k) {
data1[[k]] <- k
data1[[k]]
})
but I get the error
Problem in FUN(...X.sub.i....): object "data1" must be
assigned locally before replacement
What does this mean?
Thanks in advance for any help.
Dave
__________________________________
Discover Yahoo!
Find restaurants, movies, travel and more fun for the weekend. Check it out!
http://discover.yahoo.com/weekend.html
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: a trivial question on 'lm', Savitri Appana |
|---|---|
| Next by Date: | Re: problem with workbench, Richard M. Heiberger |
| Previous by Thread: | Re: a trivial question on 'lm', Savitri Appana |
| Next by Thread: | Re: problem with workbench, Richard M. Heiberger |
| Indexes: | [Date] [Thread] [Top] [All Lists] |