From edd at debian.org  Tue Sep 19 14:07:42 2017
From: edd at debian.org (Dirk Eddelbuettel)
Date: Tue, 19 Sep 2017 07:07:42 -0500
Subject: [Rd] R and Visual Studio
In-Reply-To: <trinity-cddc4f47-6b93-4b2a-a871-008b244b7b05-1505818418311@3c-app-mailcom-bs13>
References: <trinity-170edabd-6be0-4bb8-844a-b48f58def3f5-1505818344254@3c-app-mailcom-bs13>
 <trinity-cddc4f47-6b93-4b2a-a871-008b244b7b05-1505818418311@3c-app-mailcom-bs13>
Message-ID: <22977.2190.558095.267328@bud.eddelbuettel.com>


On 19 September 2017 at 12:53, lille stor wrote:
| I am trying to build R using Visual Studio 2010 but without success. My question is if it possible build?R with this compiler anyway?

In general, no.

[ I believe there is an exception if you're a true compiler expert and really
know what you're doing. No such person is part of the wider R community as
far as I know. ]

| If not, could someone please tell how to link one's C code against both the static and shared libraries of R for Windows (that comes from the official website found here https://cran.r-project.org/mirrors.html)?

By reading the Fine Manuals that came with your version of R, in particular
'R Installation and Administration' and 'Writing R Extensions'.  You will
need to install Rtools which provides the compiler R uses on Windows.

Dirk

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



[Rd] R and Visual Studio
Dirk Eddelbuettel