[Rd] R and Visual Studio

Dirk Eddelbuettel edd at debian.org
Tue Sep 19 14:07:42 CEST 2017


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



More information about the R-devel mailing list