LINUX.ORG.RU

История изменений

Исправление steemandlinux, (текущая версия) :

> CURRENTHOUR <- replace(CURRENTHOUR, CURRENTHOUR, hours)
Warning message:
In x[list] <- values :
  number of items to replace is not a multiple of replacement length

> CURRENTHOUR <- replace(CURRENTHOUR, CURRENTHOUR[hours], hours)
Warning message:
In x[list] <- values :
  number of items to replace is not a multiple of replacement length

У меня индекс вектора hours хранится в _значении_ CURRENTHOUR. А не индекс к индексу.

Исправление steemandlinux, :

> CURRENTHOUR <- replace(CURRENTHOUR, CURRENTHOUR, hours)
Warning message:
In x[list] <- values :
  number of items to replace is not a multiple of replacement length

> CURRENTHOUR <- replace(CURRENTHOUR, CURRENTHOUR[hours], hours)
Warning message:
In x[list] <- values :
  number of items to replace is not a multiple of replacement length

Исходная версия steemandlinux, :

> CURRENTHOUR <- replace(CURRENTHOUR, CURRENTHOUR, hours)
Warning message:
In x[list] <- values :
  number of items to replace is not a multiple of replacement length
> CURRENTHOUR <- replace(CURRENTHOUR, CURRENTHOUR[hours], hours)
Warning message:
In x[list] <- values :
  number of items to replace is not a multiple of replacement length