Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MRO 4.0.2 Rscript.exe displays initial messages #123

Open
twofacauth opened this issue Feb 18, 2021 · 4 comments
Open

MRO 4.0.2 Rscript.exe displays initial messages #123

twofacauth opened this issue Feb 18, 2021 · 4 comments

Comments

@twofacauth
Copy link

Though Rscript.exe should be quiet, MRO 4.0.2 Rscript.exe displays initial messages like below.

image

This causes some errors when compiling a package from source.
Like this case:

PKG_CPPFLAGS += $(shell "${R_HOME}/bin/Rscript" -e "RcppParallel::CxxFlags()")
@koba-z33
Copy link

koba-z33 commented May 13, 2021

On CentOS, after fixing the following file, Rscript do not display Initail messages.
/opt/microsoft/ropen/4.0.2/lib64/R/etc/Rprofile.site

I don't know the location in windows.
Try to find Rprofile.site

before

...
quiet <- any(match(c("-q", "--silent", "--quiet", "--slave"), commandArgs()), na.rm=TRUE)
...

after

...
quiet <- any(match(c("-q", "--silent", "--quiet", "--slave", "--no-echo"), commandArgs()), na.rm=TRUE)
...

@cap0
Copy link

cap0 commented Dec 7, 2021

it works for me with '--no-echo' with two dashes before no-echo

@koba-z33
Copy link

koba-z33 commented Dec 8, 2021

Thanks for your comment
I fixed it.

@cap0
Copy link

cap0 commented Dec 9, 2021

Is there any other way than change the Rprofile.site?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants