Skip to content

Need your help setting $R_check_force_suggests = "FALSE" on Windows system

2 messages · Zhiqiu Hu, Uwe Ligges

#
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
#
On 15.05.2012 19:23, Zhiqiu Hu wrote:
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