Zhiqiu Hu
2012-May-15 17:23 UTC
[R] Need your help setting $R_check_force_suggests = "FALSE" on Windows system
r-help at r-project.org Dear friends, I want to make the following change of R setting on a windows 7 desktop. $R_check_force_suggests = "FALSE" Since I have no experience using Unix, I don't how to make the suggestions in "writing R extension" works for windows. I will appreciate if you would help me to figure out what is the equivalent of the following settings in Windows system. *********************** In addition to the available command line options, R CMD check also allows customization by setting (Perl) configuration variables in a configuration file, the location of which can be specified via the --rcfile option and defaults to $HOME/.R/check.conf provided that the environment variable HOME is set. The following configuration variables are currently available. $R_check_force_suggests If true, give an error if suggested packages are not available. Default: true. *********************** Installation paths on my desktop C:\Rtools C:\Program Files\R\R-2.15.0\bin\x64 Thank you very much. Noah
Uwe Ligges
2012-May-16 15:32 UTC
[R] Need your help setting $R_check_force_suggests = "FALSE" on Windows system
On 15.05.2012 19:23, Zhiqiu Hu wrote:> r-help at r-project.org > Dear friends, > > I want to make the following change of R setting on a windows 7 desktop. > > $R_check_force_suggests = "FALSE"You can change it globally in the operating systems defaults for environment variable, or for the current session in the Windows command shell (cmd) you can simply say set _R_CHECK_FORCE_SUGGESTS_=FALSE Note the underscores and the upper case spelling! Uwe Ligges> Since I have no experience using Unix, I don't how to make the > suggestions in "writing R extension" works for windows. I will > appreciate if you would help me to figure out what is the equivalent > of the following settings in Windows system. > > *********************** > In addition to the available command line options, R CMD check also > allows customization by setting (Perl) configuration variables in a > configuration file, the location of which can be specified via the > --rcfile option and defaults to $HOME/.R/check.conf provided that the > environment variable HOME is set. > > The following configuration variables are currently available. > > $R_check_force_suggests > If true, give an error if suggested packages are not available. > Default: true. > *********************** > > Installation paths on my desktop > C:\Rtools > C:\Program Files\R\R-2.15.0\bin\x64 > > Thank you very much. > > Noah > > ______________________________________________ > R-help at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code.