Open yonicd opened 3 years ago
Thank you for your kind words and for taking the time to report this issue.
I have had one other person report the same issue, but I'm afraid that I'm unable to reproduce this myself. Could you please let me know:
For myself:
Thank you,
Jeroen
docker run --rm -it -v "$(pwd)":/data datasciencetoolbox/dsatcl2e
(from book instructions setup)20210628
FWIW I tried this on a WinOS 10 w WSL 2
and got the same error msg.
Thank you. I also tested it on an older MacBook (not M1) and on Windows. Both cases worked. Very curious.
I found this answer on Stack Overflow. Would you mind running the following in the Docker container:
$ export R_HOME=/usr/lib/R
$ R
I have no idea if this works, but if it does, then I'll change the Docker image to set this variable. Thanks for your help.
I have tried this in the past (added to the PATH in original post), it doesn't seem to work.
$ export R_HOME=/usr/lib/R
$ R
ERROR: R_HOME ('/usr/lib/R') not found
I were involved in the same error when I ran R --version
in the datasciencetoolbox/dsatcl2e container and export R_HOME=/usr/lib/R
didn't work,then I commented out lines 263-267 of the executable files /usr/lib/R/bin/R and /usr/bin/R with nano and it works for me.
Thanks for writing this book, it is very enjoyable to read and learn from it.
In chapter 5 where
rush
is introduced I am trying to run the examples to create figure 5.1 and am getting an errorafter figuring out that
{rush}
is an R package I tried loading R directly and got the same errorI tried adding the path to $PATH, that didnt help either
Last i tried to reinstall via
apt-get
R itself, that didnt help either.Any suggestions on getting past this little problem?