fixed package and added b.RInit