[Rd] R and Visual Studio
Brian Ripley
ripley at stats.ox.ac.uk
Wed Sep 20 10:02:32 CEST 2017
> On 19 Sep 2017, at 11:53, lille stor <lille.stor at gmx.com> wrote:
>
> Hi,
>
> 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?
It has been done, in the distant past. However, none of the attempts produced a build which could pass R's checks.
>
> 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)?
It is not too difficult to make and load a DLL with VS and even link to R internals using an import library. Details are in the manual or linked from there (section 5.5). (There is no static library for R on Windows.)
>
> Thank you!
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
More information about the R-devel
mailing list