Open davidrs opened 8 years ago
Can you please describe the errors you are having, as well as a description of your setup?
I don't have my laptop on me, so I only have major version numbers. R version 3.X Ubuntu 12.x
First problem was I had no Cran mirror defined so i added a line of code to the script to explicitly set the repo in the package install section, I tried a couple of different repos to get best results. For a bit it was complaining about read_csv not being defined, then it had issues with the url format oat "download.file(..." but i moved the file locally to get passed that, now it's complaining about undefined function: bind_cols
I assume this is another failed package install.
I'm not sure what the issue is. The script assumes that you have installed the dependencies for the required packages. After the minor modifications to the script that I pushed (these I think are only necessary due to some permission thing -- it should work in general), the following script installs R and the dependencies for the packages on a fresh Ubuntu 12.x install, and the script runs without any issues (after installing all the packages and setting a CRAN mirror, which takes a bit of time):
sudo apt-add-repository 'deb https://cran.rstudio.com/bin/linux/ubuntu precise/'
sudo apt-get update
sudo apt-get -y install r-base
sudo aptitude install libgdal-dev
sudo aptitude install libproj-dev
I spent a while trying to get the script running on my environment, but it kept failing. Any details you can add about env setup would be awesome. I suggest a readme inside this folder.