[BioC] object programming problem
sdavis2 at mail.nih.gov
Tue Mar 1 14:45:30 CET 2005
On Mar 1, 2005, at 8:32 AM, Ian Jeffery wrote:
> I have a programming problem that I have ran into once or twice
> Using the command ls returns the names of the files in the active R
> environment. I need to use the data contained in these files but ls()
> returns the names of the files. I'm wondering if there is a function
> can be used to access the data?
> An example of the problem is as follows.
>  10
>  1
>  "ag"
> The length of ag is 10 but the length of its name is 1. How do I get
> length command to look at the data instead of the name?
However, you may also want to consider using a list. I think this is
tangentially covered by an R-FAQ:
Look at 7.21.
More information about the Bioconductor