Use the below code to update the sales and profit field data type and values.
superstore$Sales = substring(superstore$Sales,2)
superstore$Profit = substring(superstore$Profit,2)
# Change the data type as integer/ numeric
class(superstore$Sales) = "Numeric"
# Or
superstore$Sales= as.numeric(superstore$Sales)