(Undated)--The cost of gasoline in Rhode Island is up four cents from one week ago.The average price for a gallon is two dollars, forty-two cents, according to RhodeIslandGasPrices.com.That's up twelve cents from a month ago.The national average is up to two-fifty.