Re: [R] Matrix package will not loead

2012-12-06 Thread Uzuner, Tolga I
Many thanks !
Tolga

-Original Message-
From: Martin Maechler [mailto:maech...@stat.math.ethz.ch] 
Sent: 06 December 2012 17:19
To: Uzuner, Tolga I
Cc: r-help@r-project.org
Subject: Re: [R] Matrix package will not loead

>>>>> Uzuner, Tolga 
>>>>> on Thu, 6 Dec 2012 16:42:37 + writes:

> Thank you for all this, but it appears to be the case that while the 
packages have been compiled for 2-15.2, the version of R available for download 
at CRAN is 2-15.1 . I have submitted another email into the list asking for the 
2-15.2 version (sadly, I am not able to compile code in my working 
environment), but could it be that I am missing something ?

Dear Tolga,
just in case you are stuck using R 2.15.1 :

Prof Ripley (and others I think) told you on November 13 when this
thread started,
that you should just the version of Matrix that *comes*  with
your version of R.
(and then do *not* update Matrix, because you might accidentally
 get the one *compiled* with R 2.15.2 and hence only working there).

OTOH,
I'm pretty sure you'll find R 2.15.2 for 32-bit Windows rather
sooner than later, if you really want.. 

E.g. if you use our Swiss CRAN mirror,

  http://cran.CH.r-project.org/bin/windows/base/
( which ==> http://stat.ethz.ch/CRAN/bin/windows/base/ )

shows 2.15.2 for download.

Martin

> Thanks in advance,
> Tolga

> -Original Message-
> From: Duncan Murdoch [mailto:murdoch.dun...@gmail.com] 
    > Sent: 13 November 2012 14:08
> To: Uzuner, Tolga I
> Cc: Prof Brian Ripley; r-help@r-project.org
> Subject: Re: [R] Matrix package will not loead

> On 13/11/2012 8:28 AM, Uzuner, Tolga I wrote:
>> Many thanks for your advice and assistance.
>> 
>> Sadly, I am unable to install "from source" as my operating environment 
does not have Rtools or a compiler.
>> 
>> Is there an old version compiled somewhere I can use ?

> You might be able to find one on a mirror that isn't up to date, but it 
> would be a much better idea to update your R to the latest release.

> Duncan Murdoch
>> 
>> 
>> 
>> > install.packages("H:\\Downloads\\Matrix_1.0-10.tar.gz", repos = NULL, 
type="source")
>> Installing package(s) into 'H:/R/win-library/2.15'
>> (as 'lib' is unspecified)
>> * installing *source* package 'Matrix' ...
>> ** package 'Matrix' successfully unpacked and MD5 sums checked
>> ** libs
>> ERROR: compilation failed for package 'Matrix'
>> * removing 'H:/R/win-library/2.15/Matrix'
>> Warning messages:
>> 1: running command 'C:/PROGRA~1/R/R-215~1.1/bin/i386/R CMD INSTALL -l 
"H:/R/win-library/2.15"   "H:/Downloads/Matrix_1.0-10.tar.gz"' had status 1
>> 2: In install.packages("H:\\Downloads\\Matrix_1.0-10.tar.gz", repos = 
NULL,  :
>> installation of package 'H:/Downloads/Matrix_1.0-10.tar.gz' had non-zero 
exit status
>> > install.packages("Matrix", type="source")
>> Installing package(s) into 'H:/R/win-library/2.15'
>> (as 'lib' is unspecified)
>> --- Please select a CRAN mirror for use in this session ---
>> trying URL 
'http://cran.ma.imperial.ac.uk/src/contrib/Matrix_1.0-9.tar.gz'
>> Error in download.file(url, destfile, method, mode = "wb", ...) :
>> cannot open URL 
'http://cran.ma.imperial.ac.uk/src/contrib/Matrix_1.0-9.tar.gz'
>> In addition: Warning message:
>> In download.file(url, destfile, method, mode = "wb", ...) :
>> cannot open: HTTP status was '404 Not Found'
>> Warning in download.packages(pkgs, destdir = tmpd, available = 
available,  :
>> 
>> 
>> -Original Message-
>> From: Prof Brian Ripley [mailto:rip...@stats.ox.ac.uk]
>> Sent: 13 November 2012 13:03
>> To: Duncan Murdoch
    >> Cc: Uzuner, Tolga I; r-help@r-project.org
>> Subject: Re: [R] Matrix package will not loead
>> 
>> You will find the problem and solution in the list archives.
>> 
>> The current version of Matrix can be installed *from source* on R (>=
>> 2.15.0), as it claims.  But if you install it on R >= 2.15.2 then it
>> uses features of 2.15.2 and hence can only be run on R >= 2.15.2. And
>> there was a warning about this 
>> 
>> On 13/11/2012 12:38, Duncan Murdoch wrote:
>> > On 12-11-13 7:06 AM, Uzuner, Tolga I wrote:
>> >> Dear F

Re: [R] 2-15.2 Windows 32-bit version anywhere ?

2012-12-06 Thread Uzuner, Tolga I
Odd... I am seeing 2-15.1

This is the URL I am going to:

http://cran.r-project.org/bin/windows/base/R-2.15.1-win.exe

I have tried Imperial College London, and University of Bristol.

-Original Message-
From: Uwe Ligges [mailto:lig...@statistik.tu-dortmund.de] 
Sent: 06 December 2012 16:43
To: Uzuner, Tolga I
Cc: r-help@r-project.org
Subject: Re: [R] 2-15.2 Windows 32-bit version anywhere ?



On 06.12.2012 17:30, Uzuner, Tolga I wrote:
> Dear R Users,
>
> I am working in an environment in which I am not able to compile any code. 
> Sad, but true.
>
> Is there a Windows 32-bit version of 2-15.2 anywhere ? I am currently unable 
> to use packages Matrix and mgcv because they appear to have been compiled for 
> 2-15.2 but only 2-15.1 is available for download from the regular CRAN 
> websites.


R-2.15.2 is available from CRAN.
Which mirror are you using or which page are you looking at?


Uwe Ligges


> Thanks in advance,
> Tolga
>
>
> This email is confidential and subject to important disclaimers and
> conditions including on offers for the purchase or sale of
> securities, accuracy and completeness of information, viruses,
> confidentiality, legal privilege, and legal entity disclaimers,
> available at http://www.jpmorgan.com/pages/disclosures/email.
>   [[alternative HTML version deleted]]
>
> __
> R-help@r-project.org mailing list
> 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.
>

__
R-help@r-project.org mailing list
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.


Re: [R] Matrix package will not loead

2012-12-06 Thread Uzuner, Tolga I
Thank you for all this, but it appears to be the case that while the packages 
have been compiled for 2-15.2, the version of R available for download at CRAN 
is 2-15.1 . I have submitted another email into the list asking for the 2-15.2 
version (sadly, I am not able to compile code in my working environment), but 
could it be that I am missing something ?

Thanks in advance,
Tolga

-Original Message-
From: Duncan Murdoch [mailto:murdoch.dun...@gmail.com] 
Sent: 13 November 2012 14:08
To: Uzuner, Tolga I
Cc: Prof Brian Ripley; r-help@r-project.org
Subject: Re: [R] Matrix package will not loead

On 13/11/2012 8:28 AM, Uzuner, Tolga I wrote:
> Many thanks for your advice and assistance.
>
> Sadly, I am unable to install "from source" as my operating environment does 
> not have Rtools or a compiler.
>
> Is there an old version compiled somewhere I can use ?

You might be able to find one on a mirror that isn't up to date, but it 
would be a much better idea to update your R to the latest release.

Duncan Murdoch
>
>
>
> > install.packages("H:\\Downloads\\Matrix_1.0-10.tar.gz", repos = NULL, 
> > type="source")
> Installing package(s) into 'H:/R/win-library/2.15'
> (as 'lib' is unspecified)
> * installing *source* package 'Matrix' ...
> ** package 'Matrix' successfully unpacked and MD5 sums checked
> ** libs
> ERROR: compilation failed for package 'Matrix'
> * removing 'H:/R/win-library/2.15/Matrix'
> Warning messages:
> 1: running command 'C:/PROGRA~1/R/R-215~1.1/bin/i386/R CMD INSTALL -l 
> "H:/R/win-library/2.15"   "H:/Downloads/Matrix_1.0-10.tar.gz"' had status 1
> 2: In install.packages("H:\\Downloads\\Matrix_1.0-10.tar.gz", repos = NULL,  :
>installation of package 'H:/Downloads/Matrix_1.0-10.tar.gz' had non-zero 
> exit status
> > install.packages("Matrix", type="source")
> Installing package(s) into 'H:/R/win-library/2.15'
> (as 'lib' is unspecified)
> --- Please select a CRAN mirror for use in this session ---
> trying URL 'http://cran.ma.imperial.ac.uk/src/contrib/Matrix_1.0-9.tar.gz'
> Error in download.file(url, destfile, method, mode = "wb", ...) :
>cannot open URL 
> 'http://cran.ma.imperial.ac.uk/src/contrib/Matrix_1.0-9.tar.gz'
> In addition: Warning message:
> In download.file(url, destfile, method, mode = "wb", ...) :
>cannot open: HTTP status was '404 Not Found'
> Warning in download.packages(pkgs, destdir = tmpd, available = available,  :
>
>
> -Original Message-
> From: Prof Brian Ripley [mailto:rip...@stats.ox.ac.uk]
> Sent: 13 November 2012 13:03
> To: Duncan Murdoch
> Cc: Uzuner, Tolga I; r-help@r-project.org
> Subject: Re: [R] Matrix package will not loead
>
> You will find the problem and solution in the list archives.
>
> The current version of Matrix can be installed *from source* on R (>=
> 2.15.0), as it claims.  But if you install it on R >= 2.15.2 then it
> uses features of 2.15.2 and hence can only be run on R >= 2.15.2. And
> there was a warning about this 
>
> On 13/11/2012 12:38, Duncan Murdoch wrote:
> > On 12-11-13 7:06 AM, Uzuner, Tolga I wrote:
> >> Dear Fellow R Users,
> >>
> >> I am having a problem with the Matrix package, in Windows XP on  R
> >> 2.15.1 .
> >>
> >> This is the only package where I experience this. I remove the package
> >> first, re install, and then when trying to load, get a LoadLibrary
> >> failure as below.
> >
> > I've just installed a binary copy of Matrix 1.0-10 in R 2.15.2 patched,
> > and I get an error too on attaching it:  "The procedure entry point
> > Rf_copyListMatrix could not be located in the dynamic link library
> > R.dll."  I'm pretty sure that procedure is available in R.dll currently,
> > so I don't know what the real problem is.
>
> The issue is if it is exported from R.dll, which only happened just
> before 2.15.2.  Works for me with the Matrix binary package on the CRAN
> master and both 2.15.2 and the current R-patched (which in any case
> contains that version).
>
> >
> > I have just rebuilt R, and the same package works fine.  So I'd suggest
> > that you download the latest R-patched from CRAN, and hopefully things
> > will be fine.
> >
> > Duncan Murdoch
> >
> >
> >>
> >> Thanks in advance for any assistance.
> >>
> >> Regards,
> >> Tolga
> >>
> >>
> >>> remove.packages("Matrix")
> &

[R] 2-15.2 Windows 32-bit version anywhere ?

2012-12-06 Thread Uzuner, Tolga I
Dear R Users,

I am working in an environment in which I am not able to compile any code. Sad, 
but true.

Is there a Windows 32-bit version of 2-15.2 anywhere ? I am currently unable to 
use packages Matrix and mgcv because they appear to have been compiled for 
2-15.2 but only 2-15.1 is available for download from the regular CRAN websites.

Thanks in advance,
Tolga


This email is confidential and subject to important disclaimers and
conditions including on offers for the purchase or sale of
securities, accuracy and completeness of information, viruses,
confidentiality, legal privilege, and legal entity disclaimers,
available at http://www.jpmorgan.com/pages/disclosures/email.  
[[alternative HTML version deleted]]

__
R-help@r-project.org mailing list
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.


Re: [R] Matrix package will not loead

2012-11-13 Thread Uzuner, Tolga I
Many thanks for your advice and assistance. 

Sadly, I am unable to install "from source" as my operating environment does 
not have Rtools or a compiler.

Is there an old version compiled somewhere I can use ?



> install.packages("H:\\Downloads\\Matrix_1.0-10.tar.gz", repos = NULL, 
> type="source")
Installing package(s) into 'H:/R/win-library/2.15'
(as 'lib' is unspecified)
* installing *source* package 'Matrix' ...
** package 'Matrix' successfully unpacked and MD5 sums checked
** libs
ERROR: compilation failed for package 'Matrix'
* removing 'H:/R/win-library/2.15/Matrix'
Warning messages:
1: running command 'C:/PROGRA~1/R/R-215~1.1/bin/i386/R CMD INSTALL -l 
"H:/R/win-library/2.15"   "H:/Downloads/Matrix_1.0-10.tar.gz"' had status 1 
2: In install.packages("H:\\Downloads\\Matrix_1.0-10.tar.gz", repos = NULL,  :
  installation of package 'H:/Downloads/Matrix_1.0-10.tar.gz' had non-zero exit 
status
> install.packages("Matrix", type="source")
Installing package(s) into 'H:/R/win-library/2.15'
(as 'lib' is unspecified)
--- Please select a CRAN mirror for use in this session ---
trying URL 'http://cran.ma.imperial.ac.uk/src/contrib/Matrix_1.0-9.tar.gz'
Error in download.file(url, destfile, method, mode = "wb", ...) : 
  cannot open URL 
'http://cran.ma.imperial.ac.uk/src/contrib/Matrix_1.0-9.tar.gz'
In addition: Warning message:
In download.file(url, destfile, method, mode = "wb", ...) :
  cannot open: HTTP status was '404 Not Found'
Warning in download.packages(pkgs, destdir = tmpd, available = available,  :
  

-Original Message-
From: Prof Brian Ripley [mailto:rip...@stats.ox.ac.uk] 
Sent: 13 November 2012 13:03
To: Duncan Murdoch
Cc: Uzuner, Tolga I; r-help@r-project.org
Subject: Re: [R] Matrix package will not loead

You will find the problem and solution in the list archives.

The current version of Matrix can be installed *from source* on R (>= 
2.15.0), as it claims.  But if you install it on R >= 2.15.2 then it 
uses features of 2.15.2 and hence can only be run on R >= 2.15.2. And 
there was a warning about this 

On 13/11/2012 12:38, Duncan Murdoch wrote:
> On 12-11-13 7:06 AM, Uzuner, Tolga I wrote:
>> Dear Fellow R Users,
>>
>> I am having a problem with the Matrix package, in Windows XP on  R
>> 2.15.1 .
>>
>> This is the only package where I experience this. I remove the package
>> first, re install, and then when trying to load, get a LoadLibrary
>> failure as below.
>
> I've just installed a binary copy of Matrix 1.0-10 in R 2.15.2 patched,
> and I get an error too on attaching it:  "The procedure entry point
> Rf_copyListMatrix could not be located in the dynamic link library
> R.dll."  I'm pretty sure that procedure is available in R.dll currently,
> so I don't know what the real problem is.

The issue is if it is exported from R.dll, which only happened just 
before 2.15.2.  Works for me with the Matrix binary package on the CRAN 
master and both 2.15.2 and the current R-patched (which in any case 
contains that version).

>
> I have just rebuilt R, and the same package works fine.  So I'd suggest
> that you download the latest R-patched from CRAN, and hopefully things
> will be fine.
>
> Duncan Murdoch
>
>
>>
>> Thanks in advance for any assistance.
>>
>> Regards,
>> Tolga
>>
>>
>>> remove.packages("Matrix")
>> Removing package(s) from 'H:/R/win-library/2.15'
>> (as 'lib' is unspecified)
>>> install.packages("Matrix")
>> Installing package(s) into 'H:/R/win-library/2.15'
>> (as 'lib' is unspecified)
>> trying URL
>> 'http://cran.ma.imperial.ac.uk/bin/windows/contrib/2.15/Matrix_1.0-10.zip'
>>
>> Content type 'application/zip' length 3289545 bytes (3.1 Mb)
>> opened URL
>> downloaded 3.1 Mb
>>
>> package 'Matrix' successfully unpacked and MD5 sums checked
>>
>> The downloaded binary packages are in
>>  C:\Data\N048564\temp\RtmpoDC7HF\downloaded_packages
>>> library("Matrix")
>> Error in inDL(x, as.logical(local), as.logical(now), ...) :
>>unable to load shared object
>> 'H:/R/win-library/2.15/Matrix/libs/i386/Matrix.dll':
>>LoadLibrary failure:  The specified procedure could not be found.
>>
>> In addition: Warning message:
>> package 'Matrix' was built under R version 2.15.2
>> Error: package/namespace load failed for 'Matrix'
>>>
>>
>>
>

[R] Matrix package will not loead

2012-11-13 Thread Uzuner, Tolga I
Dear Fellow R Users,

I am having a problem with the Matrix package, in Windows XP on  R 2.15.1 .

This is the only package where I experience this. I remove the package first, 
re install, and then when trying to load, get a LoadLibrary failure as below.

Thanks in advance for any assistance.

Regards,
Tolga


> remove.packages("Matrix")
Removing package(s) from 'H:/R/win-library/2.15'
(as 'lib' is unspecified)
> install.packages("Matrix")
Installing package(s) into 'H:/R/win-library/2.15'
(as 'lib' is unspecified)
trying URL 
'http://cran.ma.imperial.ac.uk/bin/windows/contrib/2.15/Matrix_1.0-10.zip'
Content type 'application/zip' length 3289545 bytes (3.1 Mb)
opened URL
downloaded 3.1 Mb

package 'Matrix' successfully unpacked and MD5 sums checked

The downloaded binary packages are in
C:\Data\N048564\temp\RtmpoDC7HF\downloaded_packages
> library("Matrix")
Error in inDL(x, as.logical(local), as.logical(now), ...) :
  unable to load shared object 
'H:/R/win-library/2.15/Matrix/libs/i386/Matrix.dll':
  LoadLibrary failure:  The specified procedure could not be found.

In addition: Warning message:
package 'Matrix' was built under R version 2.15.2
Error: package/namespace load failed for 'Matrix'
>



This email is confidential and subject to important disclaimers and
conditions including on offers for the purchase or sale of
securities, accuracy and completeness of information, viruses,
confidentiality, legal privilege, and legal entity disclaimers,
available at http://www.jpmorgan.com/pages/disclosures/email.  
[[alternative HTML version deleted]]

__
R-help@r-project.org mailing list
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.


Re: [R] How can I prevent solve.QP from printing the solution progress ?

2012-01-13 Thread Uzuner, Tolga I
Many thanks all,
Tolga

-Original Message-
From: Chibisi Chima-Okereke [mailto:cchima-oker...@mango-solutions.com] 
Sent: 12 January 2012 17:14
To: Uzuner, Tolga I
Cc: Jack Teall; Richard Pugh
Subject: RE: How can I prevent solve.QP from printing the solution progress ?

Try something like this ...

myFile <- tempfile()

sink(file = myFile)
solve.Qp ()
sink()
file.remove(myFile) #or
unlink(myFile)

Kind regards

Chibisi

-Original Message-
From: Jack Teall 
Sent: 12 January 2012 16:49
To: Matt Aldridge; Richard Pugh; Consultants
Subject: FW: How can I prevent solve.QP from printing the solution progress ?

tolga.i.uzu...@jpmorgan.com



Jack Teall



T:+44 (0)1249 766811
F: +44 (0)1249 767707
www.mango-solutions.com 




-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On 
Behalf Of Uzuner, Tolga I
Sent: 12 January 2012 16:46
To: r-help@r-project.org
Subject: [R] How can I prevent solve.QP from printing the solution progress ?

Dear R Users,
How can I prevent solve.Qp from printing the solution progress ?
Thanks in advance,
Tolga


This email is confidential and subject to important disclaimers and conditions 
including on offers for the purchase or sale of securities, accuracy and 
completeness of information, viruses, confidentiality, legal privilege, and 
legal entity disclaimers, available at 
http://www.jpmorgan.com/pages/disclosures/email.  
[[alternative HTML version deleted]]

__
R-help@r-project.org mailing list
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.
LEGAL NOTICE\ This message is intended for the use of th...{{dropped:11}}

__
R-help@r-project.org mailing list
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.


[R] How can I prevent solve.QP from printing the solution progress ?

2012-01-12 Thread Uzuner, Tolga I
Dear R Users,
How can I prevent solve.Qp from printing the solution progress ?
Thanks in advance,
Tolga


This email is confidential and subject to important disclaimers and
conditions including on offers for the purchase or sale of
securities, accuracy and completeness of information, viruses,
confidentiality, legal privilege, and legal entity disclaimers,
available at http://www.jpmorgan.com/pages/disclosures/email.  
[[alternative HTML version deleted]]

__
R-help@r-project.org mailing list
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.