From simon.urbanek at r-project.org  Mon Dec 22 21:40:20 2008
From: simon.urbanek at r-project.org (Simon Urbanek)
Date: Mon, 22 Dec 2008 15:40:20 -0500
Subject: [Rd] rscproxy version conflict
In-Reply-To: <494FF8F2.2080009@univie.ac.at>
References: <A343EAB77B324AF08F072FDD07E47D36@fwnc.net>
	<494FF8F2.2080009@univie.ac.at>
Message-ID: <C24998E0-3900-4C63-A9BB-6E5A234DF199@r-project.org>


On Dec 22, 2008, at 15:30 , Erich Neuwirth wrote:

> We found out about this problem only a few days ago.
> The reason is that the official binary packages were compiled with
> 2.8.1, but the distributed Windows binary of R was still 2.8.0.
> rscproxy needs to be compiled for the correct version of R.
> Now with R 2.8.1 being release officially the problem should  
> disappear,
> but we (which is mostly Thomas Baier, the mastermind behind rcom and
> R(D)COM server) will try to find a way to avoid this problem with the
> next R update.
>
> Before R 2.8.0, rproxy.dll distributed with R itself was
> supplying the underlying mechanism for the rcom package and R(D)COM
> server. rproxy.dll was removed from R itself, and rscproxy is the
> current substitute. rproxy.dll, being part of R itself, always matched
> the R version to the very last digit. With rscproxy, it is more
> difficult to stay in sync.
>
>

FWIW: technically, you don't have to match the patch level version.  
Although default DLL checks usually require perfect match, it should  
be safe to require that R version lies in [x.y.z, x.y+1.0)  where  
x.y.z is the R version that the interfacing DLL was compiled against.  
(And hence it is safe to use R x.y.0 as the base for compilation until  
R x.y+1.0 is released).

Cheers,
Simon


>
>
> meerman wrote:
>> After installing the package 'rscproxy' downloaded from the CRAN  
>> server, I
>> get the following error message from R 2.8.0 about a version  
>> conflict :
>>
>>
>>
>>
>>
>> package 'rscproxy' successfully unpacked and MD5 sums checked
>>
>>
>>
>> The downloaded packages are in
>>
>>         C:\Documents and Settings\John Meerman\Local
>>
>> Settings\Temp\RtmpbK9mxN\downloaded_packages
>>
>> updating HTML package descriptions
>>
>>> local({pkg <- select.list(sort(.packages(all.available = TRUE)))
>>
>> + if(nchar(pkg)) library(pkg, character.only=TRUE)})
>>
>> *Warning message:
>>
>> package 'rscproxy' was built under R version 2.8.1 *>
>>
>>
>>
>> This prevents me e.g. to use the R (D)COM 3.0 server.
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> John Meerman
>>
>>
>>
>>
>> 	[[alternative HTML version deleted]]
>>
>> ______________________________________________
>> R-devel at r-project.org mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-devel
>>
>>
>> ------------------------------------------------------------------------
>>
>>
>> No virus found in this incoming message.
>> Checked by AVG - http://www.avg.com
>> Version: 8.0.176 / Virus Database: 270.9.19/1854 - Release Date:  
>> 12/17/2008 7:21 PM
>>
>
> -- 
> Erich Neuwirth, University of Vienna
> Faculty of Computer Science
> Computer Supported Didactics Working Group
> Visit our SunSITE at http://sunsite.univie.ac.at
> Phone: +43-1-4277-39464 Fax: +43-1-4277-39459
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>
>



[Rd] rscproxy version conflict
Simon Urbanek