Re: [R-pkg-devel] Linking to a large external library

2022-06-10 Thread Ben Engbers
"rologlite" verwijst naar een .dll file. Ik neem dus aan dat deze 
package bedoeld is voor Windows.
Mijn vraag is of "rologlite" ook gebruikt kan worden op Linux? Zo ja, 
dan ben ik zeer benieuwd en ga ik kijken hoe ik dat voor mijn 
ontwikkelwerkzaamheden kan gebruiken?


Ben Engbers

Op 08-06-2022 om 22:24 schreef matthias-gondan:
Whenever I add a little feature I have to update the entire package, and so have its users (currently: 0, but that might change). 

Maybe I'll be the first ;-)

Therefore, I have now written a second package ("rologlite") that just links to the Swi-Prolog dll, which is much smaller in size than embedding it). It searches for Swi-Prolog in the path, in the registry, in the environment, and if all this fails, it checks if rolog is installed and looks for the swipl dll in the rolog package. 


__
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel


__
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel


Re: [R-pkg-devel] Linking to a large external library

2022-06-10 Thread Ben Engbers

Hi,

The official Fedora 36 repository still offers R 4.1.3. Since "rolog" 
requires at least R (≥ 4.2), this package cannot be installed yet.
I have no experience with removing the 'default' version and then 
manually replacing it with R version 4.2. For now I'm waiting for R 4.2 
to be released in Fedora 36 ;-(


Ben

P.S. I already send an update request to the Fedora team

Op 10-06-2022 om 13:15 schreef Matthias Gondan:

Dear Ben,

Not restricted to Windows. rolog is on CRAN, you can install it 
normally, there's also a nice Vignette with use cases.


rologlite is under development, but the API will be similar.

Best wishes

Matthias

Am 10.06.2022 12:30 schrieb Ben Engbers :

"rologlite" verwijst naar een .dll file. Ik neem dus aan dat deze
package bedoeld is voor Windows.
Mijn vraag is of "rologlite" ook gebruikt kan worden op Linux? Zo ja,
dan ben ik zeer benieuwd en ga ik kijken hoe ik dat voor mijn
ontwikkelwerkzaamheden kan gebruiken?

Ben Engbers

Op 08-06-2022 om 22:24 schreef matthias-gondan:
 > Whenever I add a little feature I have to update the entire
package, and so have its users (currently: 0, but that might change).
Maybe I'll be the first ;-)

 > Therefore, I have now written a second package ("rologlite") that
just links to the Swi-Prolog dll, which is much smaller in size than
embedding it). It searches for Swi-Prolog in the path, in the
registry, in the environment, and if all this fails, it checks if
rolog is installed and looks for the swipl dll in the rolog package.
 >
 > __
 > R-package-devel@r-project.org mailing list
 > https://stat.ethz.ch/mailman/listinfo/r-package-devel



__
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel


Re: [R-pkg-devel] Linking to a large external library

2022-06-10 Thread Iñaki Ucar
On Fri, 10 Jun 2022 at 14:54, Ben Engbers  wrote:
>
> \Hi,
>
> It's been several Fedora versions since I installed R with the command
> 'sudo dnf install R'. And with every update of Fedora, R was
> automatically updated to the recent version. Fedora 36 was only recently
> released. So I would expect that for Fedora 4.1.3 would be the most
> recent. 'sudo dnf update R' confirms this.
> The page in the link does not provide instructions for updates. Or am I
> missing something?

There are instructions specifically in [1] to run a recent version of
R (or any other software) that is available in rawhide but not in the
current release. The problem is that R 4.2 is not available in rawhide
either yet, so it won't work. Probably spot (I've cc'ed him in my last
email) has been too busy these weeks.

[1] 
https://cloud.r-project.org/bin/linux/fedora/#toolbox-container-based-development

Iñaki

> Op 10-06-2022 om 14:31 schreef Dirk Eddelbuettel:
> >
> > See eg   https://cloud.r-project.org/bin/linux/fedora/   to learn how to
> > easily get R 4.2.* onto a (current) Fedora system.
> >
> > Dirk
>
> --
> Ben Engbers
>
> __
> R-package-devel@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-package-devel



-- 
Iñaki Úcar

__
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel