I cannot connect to RStudio server

On a virtual machine (Red Hat Enterprise Linux Server release 7.3 (Maipo)), I have installed R from a local repository created with an archive downloaded from the Hortonworks website:
Name : R
Arch : x86_64
Version : 3.2.3
Release : 4.el7
Size : 0.0
Repo : installed
From repo : HDP-UTILS-1.1.0.21
R seems to work fine:

1+1
[1] 2
I have installed RStudio:
Name : rstudio-server
Arch : i686
Version : 1.1.447
Release : 1
When connecting to the server, I have the error message: “RStudio Initialization Error – Unable to connect to service” :worried:
It seems that RStudio does not “see” R because rstudio-server verify-installation provides the answer: /usr/lib/rstudio-server/bin/rsession: error while loading shared libraries: libR.so: wrong ELF class: ELFCLASS64:pensive:
Did someone have the same problem?
If so, how did you solve it?
Many thanks in advance!!!