How to extract the x,y coordinated otf the center of pixel 200, 300 of a Rasters.Raster object?

In general, as a “casual” gis user, I find very useful in this package the “raster as a matrix” concept, it facilitates a lot the raster treatment, but I find complicated to pass from the (xid,yid) space to the coordinates space and vice versa (see also my other post). Perhaps an API that facilitates these passages would be useful…