Re: [R] error message %1 is not a valid Win32 application.

From: Duncan Murdoch <>
Date: Thu, 26 May 2011 21:05:31 -0400

On 11-05-26 8:42 PM, sivan aldor wrote:
> The only command I am using is
> dyn.load("dbsvls.dll")

Okay, I get the error message you showed if I try to load something that really isn't a valid Win32 dll, and I don't get it when I load a valid one. (I'm not sure if I can fix it to replace the %1 with the filename; I'll look into that.) How do you know your dbsvls.dll really is valid?

Duncan Murdoch

> On Thu, May 26, 2011 at 8:41 PM, Duncan Murdoch
> < <>> wrote:
> On 11-05-26 4:53 PM, sivan aldor wrote:
> Hi Everyone,
> I am trying to work with a routine that is from the IMSL called
> have the file as a .dll file.
> I have been trying to call the routine using the dyn.load
> function. I am
> working on a 32-bit windows 7 OS with 3 GB. For some reason i
> still keep
> getting the error message
> LoadLibrary %1 is not a valid Win32 application
> I looked at previous posting and they were all related to people
> trying to
> run dll files that was created under 64bit and not under 32bit.
> But I am
> running it on the correct settings.
> I have placed the .dll file in the BIN folder so R can find it.
> Any thoughts? ideas on how I should handle this?
> Why don't you tell us what you did?
> Duncan Murdoch
> mailing list PLEASE do read the posting guide and provide commented, minimal, self-contained, reproducible code. Received on Fri 27 May 2011 - 01:09:19 GMT

This quarter's messages: by month, or sorted: [ by date ] [ by thread ] [ by subject ] [ by author ]

All messages

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Fri 27 May 2011 - 01:40:10 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive