Skip to content
Back to formatted view

Raw Message

Message-ID: <f2b1c631-512b-744e-a7e0-f75c4a97d849@insa-toulouse.fr>
Date: 2022-05-24T15:43:45Z
From: Serguei Sokol
Subject: How to access to internal header files
In-Reply-To: <CAPDYroXoJ2p-KnbkfPmgF8rJmbEF4OoqDx=ndj=rrorsK_ETrA@mail.gmail.com>

Le 24/05/2022 ? 16:59, Sebastian Fischer a ?crit?:
> Thanks, It would be great to get instructions on how I can compile R, so
> that those header files are visible and can be used when compiling

"R Installation and Administration" can help 
https://cran.r-project.org/doc/manuals/r-release/R-admin.html


> via R CMD SHLIB,

If you search to compile R itself, it will be with "make ". "R CMD 
SHLIB" is rather for your own source files.

Best,
Serguei.

>
> best regards
>
> Sebastian Fischer
>
> Am Di., 24. Mai 2022 um 15:50 Uhr schrieb Dirk Eddelbuettel <edd at debian.org
>> :
>> On 24 May 2022 at 15:23, Martin Maechler wrote:
>> | Well, if you want to explore how R is written ... and that's the
>> | only good reason for looking into such private header files ...
>> | then get the sources of R and explore...
>> |
>> | The official sources (and even daily snapshots from both
>> | "R-patched" and "R-devel")  are available e.g. from
>> |
>> |  https://cran.r-project.org/sources.html
>>
>> And for those who prefer the GitHub interface (including reasonably
>> powerful
>> searches, now even via two APIs, as well as editor support) there are the
>> mirrors of the svn repo at GitHub of which
>>
>>     https://github.com/r-devel/r-svn
>>
>> is the more recent variant with extra polish to better map original commits
>> to a nicely browseable git commit history.  It also has all the branches.
>>
>> I still keep an svn checkout for local builds of r-devel as I have since
>> 'forever' but find the github access extremely valuable for browsing.
>>
>> So a cheers for Jeroen for taking care of this.
>>
>> Dirk
>>
>> --
>> dirk.eddelbuettel.com | @eddelbuettel | edd at debian.org
>>
> 	[[alternative HTML version deleted]]
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel