[R] g++ error causes non-zero exit status for package installation
Winfried Moser
winfried@mo@er @ending from gm@il@com
Sat Jan 5 20:40:09 CET 2019
dirk & bill, you guys are incredible! the non-silent .Rprofile was the
problem!
making the code interactive didn't help either, only silenceing it helped!
thanks so much! i assume moving to r-sig-debian is now obsolete.
ps, @dirk: adding michael rutters ppa also helped, but the packages get
installed to R_LIBS_SITE, and not (as i am used to) to R_LIBS-USER.
but this was only a minor inconvinience (i like to keep the packages in one
directory).
thanks again!
winfried
Am Sa., 5. Jan. 2019 um 18:40 Uhr schrieb Dirk Eddelbuettel <edd using debian.org
>:
>
> On 5 January 2019 at 09:14, William Dunlap via R-help wrote:
> | You would get these errors ("R: file or directory not found, version:
> file
> | or directory not found...") if you had a ~/.Rprofile file containing the
> | line 'cat(version$version.string, sep="\n").
>
> Well spotted -- very much so. That is bound to break use within
> src/Makevars
> and alike. If you must do something in ~/.Rprofile either make it silent,
> or
> make it conditional based on if (interactive()) { ...that_code_here... }
>
> Dirk
>
> --
> http://dirk.eddelbuettel.com | @eddelbuettel | edd using debian.org
>
[[alternative HTML version deleted]]
More information about the R-help
mailing list