[6334] in s-news-athena

home help back first fref pref prev next nref lref last post

a basic question

daemon@ATHENA.MIT.EDU (NENOV@neurosurg.medsch.ucla.edu)
Tue Jan 31 16:18:28 1995

From: NENOV@neurosurg.medsch.ucla.edu
To: s-news@utstat.toronto.edu
Cc: NENOV@neurosurg.medsch.ucla.edu
Date: Tue, 31 Jan 95 12:37:00 PST

Dear S-plus-falks,

I am struggeling with a basic question.  Within a function I create a 
character string by pasting several substrings with the intention to use this 
string as the name of an existing S-plus object.  My question is, how can I 
convert this character string to a pointer to the actual object, or in 
otherwords:

a <- c(1,2,3)
b <- "a"

? how should I call b so that it returns the object a rather than "a".

Please help,

Val Nenov
Division of Neurosurgery
UCLA


home help back first fref pref prev next nref lref last post