
Dear guys,

I want to convert S4 object into list.

When I perform the following on RStudio, the expected result can be obtained.

x <- as.list(hgu133aENTREZID)
#hgu133aENTREZID is a S4 object, after the above command, x can be converted into list.

When I try to build above command into an R package and check it, there is an error during the checking phase.

Error in as.list.default((hgu133aENTREZID)) :
  no method for coercing this S4 class to a vector
Calls: -> as.list -> as.list.default
Execution halted
   
Why I can not convert S4 into list during the checking package.


Any help would be appreciated.






turinglife
	[[alternative HTML version deleted]]

