Let's take for example text following :

```
x<-'RMSE_coef= -0.6 MAE_coef=-0.4'

```

what I want to do is to create to extract those values -0.6 and -0.4 from x and change them to numeric values.

It would be very easy after extracting those numbers from x (we just can use function `as.numeric()`) and the problem is over. The question is - how to get those values ?

*EDIT*

Is there any possibility of one code which can do it for generic case ? I mean for :

```
x<-'RMSE_coef= -0.6 MAE_coef=-0.4'
x<-'RMSE_coef= 0.6 MAE_coef=0.4'
x<-'RMSE_coef= 0.6 MAE_coef=-0.4'
x<-'RMSE_coef= -0.6 MAE_coef=0.4'

```