Fixing deprecated functions in .R-files

# Defunct in R >= 3.0.0
real(length = 0)
as.real(x, ...)
is.real(x)

‘real’, ‘as.real’ and ‘is.real’ were long-deprecated synonyms for the ‘double’ versions.