R.I. Gen. Laws § 12-6-1. Examination on complaint of commission of offense.