Rmosek installation problems on Windows

172 views
Skip to first unread message

allegro

unread,
Feb 9, 2012, 8:27:44 AM2/9/12
to mosek
I read the other messages and I have a similar problem but I don't
know how to resolve this issue:

The error messages I got are as follows:

* installing *source* package 'Rmosek' ...
** package 'Rmosek' successfully unpacked and MD5 sums checked
Configuring for the Windows platform (sub-architecture: "/i386")
where: not found
where: not found
*** No variable 'PKG_MOSEKHOME' in environment ***
*** No variable 'PKG_MOSEKHOME' in ./src/setup/i386/Localsys.txt file
***
*** Could not guess variable 'PKG_MOSEKHOME' from command 'mosek' in
Windows CMD ***
ERROR: configuration failed for package 'Rmosek'

I have set environmental path for C:\Program Files\Mosek\6\tools
\platform\win32x86\bin but still no luck.

Any pointers?



Henrik Alsing Friberg

unread,
Feb 9, 2012, 9:17:46 AM2/9/12
to mosek
Translation of error message:
>> Auto-configuration failed because the Windows CMD command "where" was not found.

What version of Windows are you using?

Kind regards,
Henrik Alsing Friberg

allegro

unread,
Feb 23, 2012, 8:02:30 PM2/23/12
to mosek
Windows XP

Sorry for the delay in reply, I just came back from my travels.

Henrik Alsing Friberg

unread,
Feb 24, 2012, 4:36:14 AM2/24/12
to mosek
The 'where' command is unfortunately not part of Windows XP per
default. As the following blog post suggests, downloading the Visual
Studio SDK (free) and setting up environment paths may, however,
enable the 'where' command on your system. Beware that I have not
tested this claim, and you could end up wasting a lot of time..
>> http://www.informit.com/guides/content.aspx?g=dotnet&seqNum=525

The alternative is of course to accept that auto-configuration did not
work, and perform a manual configuration instead. To do so, go through
the following steps:
(1) Download the source code of the package (compressed as .tar.gz)
(2) Extract the archive to a folder
(3) Setup the Localsys.txt file within
(4) Compress folder back to an archive
(5) Install this file from R

More details are found in the userguide. The userguide and the source
code of the package, can be found as featured downloads on
>> http://rmosek.r-forge.r-project.org/

The tedious manual installation is a Windows problem only. On Linux
and MacOS, R supports the 'configure.vars' argument in the
'install.packages' command which can be used to specify the location
of MOSEK, otherwise searched for by auto-configuration. Hopefully,
this argument will be supported on Windows too some day.

Kind regards,
Henrik Alsing Friberg


allegro

unread,
Feb 29, 2012, 11:19:22 PM2/29/12
to mosek
Okay, I can now confirm its installed now. I used the manual
configuration as outlined in the Rmosek operation manual for windows.

Thanks.

Steve
Reply all
Reply to author
Forward
0 new messages