Pointlike sets with respect to R and J