From edd @ending from debi@n@org  Mon Dec 24 00:19:09 2018
From: edd @ending from debi@n@org (Dirk Eddelbuettel)
Date: Sun, 23 Dec 2018 17:19:09 -0600
Subject: [Rd] Bug report: R.home() cause package Rcpp failed executing
 sourceCpp,
 similar bug are labeled "BUG 16660" since 2016 and here I could provide a
 solution that tested in my laptop.
In-Reply-To: <aeff153.d5285.167d20c814b.Coremail.qweytr1@mail.ustc.edu.cn>
References: <aeff153.d5285.167d20c814b.Coremail.qweytr1@mail.ustc.edu.cn>
Message-ID: <23584.6125.532886.218010@rob.eddelbuettel.com>


The short answer, supported (if memory serves) by the R Windows FAQ, is to
_not_ install in a path with spaces in the first place.

Pondering why R on Windows, after all these years, still uses a path with
spaces as the default choice is left as exercise to the reader.

Dirk

-- 
http://dirk.eddelbuettel.com | @eddelbuettel | edd at debian.org



[Rd] Bug report: R.home() cause package Rcpp failed executing sourceCpp, similar bug are labeled "BUG 16660" since 2016 and here I could provide a solution that tested in my laptop.
Dirk Eddelbuettel