Hi,

I am quite new to Raster library and a bit confused.
Basically I would like to raster an area, and then place information
(Identifuer, Direction) in each cell ,as follows:

> myraster<-raster()
>  myraster[1:3]<-list(id=c(1),direction=c(14,20))
Error in min(vals) : invalid 'type' (list) of argument
In addition: Warning message:
In .replace(x, i = i, value = value, recycle = 1) :
  number of items to replace is not a multiple of replacement length


It seems to me that I can not put an object of type List,or vector,...in
the cells??

If this is the case, what would be the alternative solutions?

/Shahab

	[[alternative HTML version deleted]]

