I loaded package tensorflow
and run library(tensorflow)
. I got the message that tf is masked by .GlobalEnv
. Not sure what that means, but it seemed not to be an error.
I then ran install_tensorflow()
and that seems to run fine. I now ran library(tensorflow)
again without a message.
When checking the tensorflow installation with tf_config()
I get the tensorflow information (version v.1.4.0) and Python v3.6.
It all seemed OK. But when I am running hello <- tf$constant('Hello, TensorFlow!')
or any other tf$XXX
, I get the error:
Error in tf$constant : $ operator is invalid for atomic vectors.
So somehow tensorflow is not correctly installed. ?tf
opens the right description for the tensorflow module.
Anyone has an idea?