[R] rdb and rds files include abolute file paths / help understanding how lazy-load dbs are created

David Winsemius dwinsemius at comcast.net
Fri Apr 21 01:36:33 CEST 2017


I would have thunk that the right list would be

https://stat.ethz.ch/mailman/listinfo/r-package-devel

Best
David 

Sent from my iPhone

> On Apr 19, 2017, at 3:40 PM, Philip Rinn <rinni at inventati.org> wrote:
> 
> Hi,
> 
>> On 12.04.2017 at 08:09, Jeff Newmiller wrote:
>> 
>> Someone might respond here anyway, but I think this is more of an R-devel
>> question.
> 
> I tired R-devel before[1] with no response :(.
> 
>> Anyway, as long as the package file after installation has appropriate file
>> names for where it is installed, what does it matter what is in the files
>> before installation?
> 
> That's actually the point. In the installed .rd[bs] files the absolute file paths
> are still present but often[2] the referenced files don't even exist on the
> computer the packaged is installed. My approach therefore is to replace those
> absolute paths by relative[3] paths. But to do so I need to understand where
> exactly those absolute paths are injected in the files - that's why I asked for
> help in my fist mail - sorry for not being clear enough.
> 
> Best,
> Philip
> 
> 
> [1] https://stat.ethz.ch/pipermail/r-devel/2017-April/074016.html
> [2] At least on Linux for packages installed via the distribution packages system.
> And I think this also holds for prebuild windows/mac builds from cran.
> [3] Relative to teh root directory of the package source
> 
> ______________________________________________
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.

	[[alternative HTML version deleted]]



More information about the R-help mailing list