Hello,
This is an R-syntax question when attempting to manipulate/access objects
when passed to a function.

I have a function attempting to just print values attached to an argument
object. For example,

printThis <- function(obj, parm2, parm3) {
   print(obj.stuff1)
   print(obj.stuff2)
}

where I've assigned stuff1 and stuff2 to the actual object passed as such

actualObject.stuff1 <- c("list","of","something")
actualObject.stuff2 <- c("list","of","something other thing")
printThis(actualObject) # actual call to the function above


But I'm getting the following error when calling the printThis method on
actualObject.
   "object 'obj.stuff1' not found"

How do I access all objects attached to a variable.  I think I'm
misunderstanding this "." (dot) where it's most likely just an acceptable
way of naming variables in R.

So what's the best way to create an object such that I can access what I've
assumed to be object properties?

Thanks,
Paul

	[[alternative HTML version deleted]]

