Re: [R] Installing package into...

2019-03-12 Thread Rui Barradas

Hello,

Yes, the lib argument works in RStudio.

Hope this helps,

Rui Barradas

Às 16:24 de 12/03/2019, Michael Dewey escreveu:

Dear Steven

If you use install,packages() from within R there is a lib argument. I 
do not use RStudio so not sure how it works there.


Michael

On 12/03/2019 15:05, Steven Yen wrote:

I install package using either the command line or Tools -> Install
packages... (in RStudio) and get a non-fatal message saying...
Installing package into ‘C:/Users/xuhaer/Documents/R/win-library/3.5’
(as ‘lib’ is unspecified)
I know it is not a fatal message. But, is there a way to do a cleaner
installation without getting such message? Thanks.





__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
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] Installing package into...

2019-03-12 Thread Michael Dewey

Dear Steven

If you use install,packages() from within R there is a lib argument. I 
do not use RStudio so not sure how it works there.


Michael

On 12/03/2019 15:05, Steven Yen wrote:

I install package using either the command line or Tools -> Install
packages... (in RStudio) and get a non-fatal message saying...
Installing package into ‘C:/Users/xuhaer/Documents/R/win-library/3.5’
(as ‘lib’ is unspecified)
I know it is not a fatal message. But, is there a way to do a cleaner
installation without getting such message? Thanks.



--
Michael
http://www.dewey.myzen.co.uk/home.html

__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
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] Installing package into...

2019-03-12 Thread Duncan Murdoch

On 12/03/2019 11:05 a.m., Steven Yen wrote:

I install package using either the command line or Tools -> Install
packages... (in RStudio) and get a non-fatal message saying...
Installing package into ‘C:/Users/xuhaer/Documents/R/win-library/3.5’
(as ‘lib’ is unspecified)
I know it is not a fatal message. But, is there a way to do a cleaner
installation without getting such message? Thanks.



Have you tried specifying the library?  Then R wouldn't tell you its guess.

Duncan Murdoch

__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
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] installing package lme4

2017-08-18 Thread Doran, Harold
?install.packages

On 8/18/17, 7:39 AM, "Lucy McMahon"  wrote:

>I am hoping to run a generalised linear mixed effect model but I don't
>seem to have access to package lme4.
>
>
>library (lme4)
>Error in library(lme4) : there is no package called �lme4�
>
>
>I'm unsure of how to go about installing this package and I haven't been
>able to find much online either.
>
>
>I am using R version 3.4.1 on a Windows 10 laptop.
>
>
>Any help would be appreciated, thanks.
>
>
>   [[alternative HTML version deleted]]
>

__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
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] installing package 'rqpd' (Regression quantiles for panel data) on windows

2014-08-01 Thread Duncan Murdoch

On 01/08/2014 7:48 AM, Roy Sasson wrote:

hello R community,
i am trying to install rqpd package on windows, using the following command:

install.packages(rqpd,repos=http://R-Forge.R-project.org;)

however, i get the following message:

Warning: unable to access index for repository
http://R-Forge.R-project.org/bin/windows/contrib/2.15
Warning message:
package ‘rqpd’ is not available (for R version 2.15.1)

i have tried using different versions of R (newer and older), but with no
luck.

I have also checked out the following thread -
http://r.789695.n4.nabble.com/installing-package-rqpd-Regression-quantiles-for-panel-data-td4668594.html

but it is not so clear how this problem was resolved eventually.

would appreciate any assistance


You don't say what platform you're working on. On Windows, there is no 
binary for rqpd, but you can get the source. This appears to be an 
R-forge bug, because it will build from source without error. You should 
report this to R-forge. In the meantime, use type=source when you do 
the install. You shouldn't need any special tools to do this, since it's 
a pure R package, no compiled code.


Duncan Murdoch

__
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] installing package 'rqpd' (Regression quantiles for panel data) on windows

2014-08-01 Thread Prof Brian Ripley

On 01/08/2014 14:31, Duncan Murdoch wrote:

On 01/08/2014 7:48 AM, Roy Sasson wrote:

hello R community,
i am trying to install rqpd package on windows, using the following
command:

install.packages(rqpd,repos=http://R-Forge.R-project.org;)

however, i get the following message:

Warning: unable to access index for repository
http://R-Forge.R-project.org/bin/windows/contrib/2.15
Warning message:
package ‘rqpd’ is not available (for R version 2.15.1)

i have tried using different versions of R (newer and older), but with no
luck.

I have also checked out the following thread -
http://r.789695.n4.nabble.com/installing-package-rqpd-Regression-quantiles-for-panel-data-td4668594.html


but it is not so clear how this problem was resolved eventually.

would appreciate any assistance


You don't say what platform you're working on. On Windows, there is no


Actually he did, but he did not give the 'an a minimum' information 
asked for in the posting guide.



binary for rqpd, but you can get the source. This appears to be an
R-forge bug, because it will build from source without error. You should
report this to R-forge. In the meantime, use type=source when you do
the install. You shouldn't need any special tools to do this, since it's
a pure R package, no compiled code.


Not an R-Forge bug as his R is too old: R-Forge only builds binary 
packages for current R.  As the posting guide asked, update R before 
posting 


See also (as per the posting guide):

http://cran.r-project.org/bin/windows/base/rw-FAQ.html#How-can-I-get-a-binary-version-of-a-package_003f
http://cran.r-project.org/bin/windows/base/rw-FAQ.html#No-binary-packages-appear-to-be-available-for-my-version-of-R




Duncan Murdoch

__
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.



--
Brian D. Ripley,  rip...@stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel:  +44 1865 272861 (self)
1 South Parks Road, +44 1865 272866 (PA)
Oxford OX1 3TG, UKFax:  +44 1865 272595

__
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] installing package 'rqpd' (Regression quantiles for panel data) on windows

2014-08-01 Thread Duncan Murdoch

On 01/08/2014 9:50 AM, Prof Brian Ripley wrote:

On 01/08/2014 14:31, Duncan Murdoch wrote:
 On 01/08/2014 7:48 AM, Roy Sasson wrote:
 hello R community,
 i am trying to install rqpd package on windows, using the following
 command:

 install.packages(rqpd,repos=http://R-Forge.R-project.org;)

 however, i get the following message:

 Warning: unable to access index for repository
 http://R-Forge.R-project.org/bin/windows/contrib/2.15
 Warning message:
 package ‘rqpd’ is not available (for R version 2.15.1)

 i have tried using different versions of R (newer and older), but with no
 luck.

 I have also checked out the following thread -
 
http://r.789695.n4.nabble.com/installing-package-rqpd-Regression-quantiles-for-panel-data-td4668594.html


 but it is not so clear how this problem was resolved eventually.

 would appreciate any assistance

 You don't say what platform you're working on. On Windows, there is no

Actually he did, but he did not give the 'an a minimum' information
asked for in the posting guide.

 binary for rqpd, but you can get the source. This appears to be an
 R-forge bug, because it will build from source without error. You should
 report this to R-forge. In the meantime, use type=source when you do
 the install. You shouldn't need any special tools to do this, since it's
 a pure R package, no compiled code.

Not an R-Forge bug as his R is too old: R-Forge only builds binary
packages for current R.  As the posting guide asked, update R before
posting 


We both missed part of the posting:  he said he tried newer R versions 
too.  And I get this (on Windows):


 install.packages(rqpd,repos=http://R-Forge.R-project.org;)

   package ‘rqpd’ is available as a source package but not as a binary

Warning message:
package ‘rqpd’ is not available (for R version 3.1.1 Patched)

The log on R-forge shows that it was last built for Windows in 2012.  So 
I think this really is an R-forge bug...


Duncan Murdoch


See also (as per the posting guide):

http://cran.r-project.org/bin/windows/base/rw-FAQ.html#How-can-I-get-a-binary-version-of-a-package_003f
http://cran.r-project.org/bin/windows/base/rw-FAQ.html#No-binary-packages-appear-to-be-available-for-my-version-of-R



 Duncan Murdoch

 __
 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] installing package 'rqpd' (Regression quantiles for panel data)

2014-03-03 Thread fe_jasa
Dear Manish

I have installed from the file I send you. Doing directly from CRAN
doesn't result.
After installation you can see the help (help(rqpd).

Sincerely

PS: it works on last version of R in Linux (ubtuntu)

-- 

João Sousa Andrade
jasa04011...@gmail.com


__
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] installing package from source

2013-10-24 Thread David Winsemius

On Oct 23, 2013, at 7:53 PM, Long Vo wrote:

 Hi R users,
 Currently I want to fit a FIGARCH model to a dataset. The only package that
 allow for it that I could find is fGarch. However it seems that the FIGARCH
 model class fitting of this package has been moved to Oxmetrics. I tried to
 install the old versions of it using 'tar.gz' files from CRAN archive 
 http://cran.r-project.org/src/contrib/Archive/fGarch/
 http://cran.r-project.org/src/contrib/Archive/fGarch/   but not sure how
 it works. I tried
 
 install.packages(myfilepath\fGarch_260.71.tar.gz, repos = NULL,
 type=source)
 
 And received this error:
 
 Warning: invalid package './I:_R filesGarch_260.71.tar.gz'
 Error: ERROR: no packages specified
 Warning messages:
 1: running command 'I:/01_RFI~1/INSTAL~1/R-30~1.1/bin/i386/R CMD INSTALL
 -l I:\01_R files\installment\R-3.0.1\library ./I:_R files
 Garch_260.71.tar.gz' had status 1 
 2: In install.packages(I:\001_R files\fGarch_260.71.tar.gz, repos = NULL, 
 :
  installation of package ‘./I:_R filesGarch_260.71.tar.gz’ had non-zero
 exit status
 
 Any helps on this?
 

I've aways specified the package names and their locations separately in my 
call to install.packages, but I don't know if that is always needed. It also 
appears that you have no / separator between your path and the file name.

 Regards,
 Long
 
 
 
 --
 View this message in context: 
 http://r.789695.n4.nabble.com/installing-package-from-source-tp4678928.html
 Sent from the R help mailing list archive at Nabble.com.
 
 __
 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.

David Winsemius
Alameda, CA, USA

__
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] installing package from source

2013-10-24 Thread Marc Schwartz

On Oct 24, 2013, at 11:38 AM, David Winsemius dwinsem...@comcast.net wrote:

 
 On Oct 23, 2013, at 7:53 PM, Long Vo wrote:
 
 Hi R users,
 Currently I want to fit a FIGARCH model to a dataset. The only package that
 allow for it that I could find is fGarch. However it seems that the FIGARCH
 model class fitting of this package has been moved to Oxmetrics. I tried to
 install the old versions of it using 'tar.gz' files from CRAN archive 
 http://cran.r-project.org/src/contrib/Archive/fGarch/
 http://cran.r-project.org/src/contrib/Archive/fGarch/   but not sure how
 it works. I tried
 
 install.packages(myfilepath\fGarch_260.71.tar.gz, repos = NULL,
 type=source)
 
 And received this error:
 
 Warning: invalid package './I:_R filesGarch_260.71.tar.gz'
 Error: ERROR: no packages specified
 Warning messages:
 1: running command 'I:/01_RFI~1/INSTAL~1/R-30~1.1/bin/i386/R CMD INSTALL
 -l I:\01_R files\installment\R-3.0.1\library ./I:_R files
 Garch_260.71.tar.gz' had status 1 
 2: In install.packages(I:\001_R files\fGarch_260.71.tar.gz, repos = NULL, 
 :
 installation of package ‘./I:_R filesGarch_260.71.tar.gz’ had non-zero
 exit status
 
 Any helps on this?
 
 
 I've aways specified the package names and their locations separately in my 
 call to install.packages, but I don't know if that is always needed. It also 
 appears that you have no / separator between your path and the file name.


Long is trying to install a rather old version of the source R package that 
contains FORTRAN code on Windows.

Besides the immediate error in the way the path was constructed in the 
install.packages() call, using a single backslash, which needs to be escaped:

  
http://cran.r-project.org/bin/windows/base/rw-FAQ.html#R-can_0027t-find-my-file

there are likely to be issues from trying to install an old version of the 
package on a newer version of R, perhaps the lack of the requisite development 
tools for compiling FORTRAN:

  
http://cran.r-project.org/bin/windows/base/rw-FAQ.html#Can-I-install-packages-into-libraries-in-this-version_003f

and other issues as well.

Depending upon how far back you need to go in package versions, there may be 
pre-compiled Windows binaries (.zip files) available in directories here:

  http://cran.r-project.org/bin/windows/contrib/



Regards,

Marc Schwartz


 
 Regards,
 Long

__
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] installing package from source

2013-10-24 Thread Prof Brian Ripley

On 24/10/2013 18:25, Marc Schwartz wrote:


On Oct 24, 2013, at 11:38 AM, David Winsemius dwinsem...@comcast.net wrote:



On Oct 23, 2013, at 7:53 PM, Long Vo wrote:


Hi R users,
Currently I want to fit a FIGARCH model to a dataset. The only package that
allow for it that I could find is fGarch. However it seems that the FIGARCH
model class fitting of this package has been moved to Oxmetrics. I tried to
install the old versions of it using 'tar.gz' files from CRAN archive
http://cran.r-project.org/src/contrib/Archive/fGarch/
http://cran.r-project.org/src/contrib/Archive/fGarch/   but not sure how
it works. I tried

install.packages(myfilepath\fGarch_260.71.tar.gz, repos = NULL,
type=source)

And received this error:

Warning: invalid package './I:_R filesGarch_260.71.tar.gz'
Error: ERROR: no packages specified
Warning messages:
1: running command 'I:/01_RFI~1/INSTAL~1/R-30~1.1/bin/i386/R CMD INSTALL
-l I:\01_R files\installment\R-3.0.1\library ./I:_R files
Garch_260.71.tar.gz' had status 1
2: In install.packages(I:\001_R files\fGarch_260.71.tar.gz, repos = NULL,
:
installation of package ‘./I:_R filesGarch_260.71.tar.gz’ had non-zero
exit status

Any helps on this?



I've aways specified the package names and their locations separately in my call to 
install.packages, but I don't know if that is always needed. It also appears that you 
have no / separator between your path and the file name.



Long is trying to install a rather old version of the source R package that 
contains FORTRAN code on Windows.

Besides the immediate error in the way the path was constructed in the 
install.packages() call, using a single backslash, which needs to be escaped:

   
http://cran.r-project.org/bin/windows/base/rw-FAQ.html#R-can_0027t-find-my-file

there are likely to be issues from trying to install an old version of the 
package on a newer version of R, perhaps the lack of the requisite development 
tools for compiling FORTRAN:

   
http://cran.r-project.org/bin/windows/base/rw-FAQ.html#Can-I-install-packages-into-libraries-in-this-version_003f

and other issues as well.

Depending upon how far back you need to go in package versions, there may be 
pre-compiled Windows binaries (.zip files) available in directories here:

   http://cran.r-project.org/bin/windows/contrib/


I don't think so: see NEWS

CHANGES IN R 3.0.0:

  SIGNIFICANT USER-VISIBLE CHANGES:

• Packages need to be (re-)installed under this version (3.0.0) of
  R.

so only those under bin/windows/contrib/3.0 will work, and there is only 
one for each package.



--
Brian D. Ripley,  rip...@stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel:  +44 1865 272861 (self)
1 South Parks Road, +44 1865 272866 (PA)
Oxford OX1 3TG, UKFax:  +44 1865 272595

__
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] installing package from source

2013-10-24 Thread Marc Schwartz

On Oct 24, 2013, at 1:11 PM, Prof Brian Ripley rip...@stats.ox.ac.uk wrote:

 On 24/10/2013 18:25, Marc Schwartz wrote:
 
 On Oct 24, 2013, at 11:38 AM, David Winsemius dwinsem...@comcast.net wrote:
 
 
 On Oct 23, 2013, at 7:53 PM, Long Vo wrote:
 
 Hi R users,
 Currently I want to fit a FIGARCH model to a dataset. The only package that
 allow for it that I could find is fGarch. However it seems that the FIGARCH
 model class fitting of this package has been moved to Oxmetrics. I tried to
 install the old versions of it using 'tar.gz' files from CRAN archive
 http://cran.r-project.org/src/contrib/Archive/fGarch/
 http://cran.r-project.org/src/contrib/Archive/fGarch/   but not sure how
 it works. I tried
 
 install.packages(myfilepath\fGarch_260.71.tar.gz, repos = NULL,
 type=source)
 
 And received this error:
 
 Warning: invalid package './I:_R filesGarch_260.71.tar.gz'
 Error: ERROR: no packages specified
 Warning messages:
 1: running command 'I:/01_RFI~1/INSTAL~1/R-30~1.1/bin/i386/R CMD INSTALL
 -l I:\01_R files\installment\R-3.0.1\library ./I:_R files
 Garch_260.71.tar.gz' had status 1
 2: In install.packages(I:\001_R files\fGarch_260.71.tar.gz, repos = NULL,
 :
 installation of package ‘./I:_R filesGarch_260.71.tar.gz’ had non-zero
 exit status
 
 Any helps on this?
 
 
 I've aways specified the package names and their locations separately in my 
 call to install.packages, but I don't know if that is always needed. It 
 also appears that you have no / separator between your path and the file 
 name.
 
 
 Long is trying to install a rather old version of the source R package that 
 contains FORTRAN code on Windows.
 
 Besides the immediate error in the way the path was constructed in the 
 install.packages() call, using a single backslash, which needs to be escaped:
 
   
 http://cran.r-project.org/bin/windows/base/rw-FAQ.html#R-can_0027t-find-my-file
 
 there are likely to be issues from trying to install an old version of the 
 package on a newer version of R, perhaps the lack of the requisite 
 development tools for compiling FORTRAN:
 
   
 http://cran.r-project.org/bin/windows/base/rw-FAQ.html#Can-I-install-packages-into-libraries-in-this-version_003f
 
 and other issues as well.
 
 Depending upon how far back you need to go in package versions, there may be 
 pre-compiled Windows binaries (.zip files) available in directories here:
 
   http://cran.r-project.org/bin/windows/contrib/
 
 I don't think so: see NEWS
 
 CHANGES IN R 3.0.0:
 
  SIGNIFICANT USER-VISIBLE CHANGES:
 
• Packages need to be (re-)installed under this version (3.0.0) of
  R.
 
 so only those under bin/windows/contrib/3.0 will work, and there is only one 
 for each package.
 


Ah, OK. Thanks for noting that Prof. Ripley.

So, Long will need to make some decisions here and it may be worth contacting 
the fGARCH package maintainer to get any relevant insights into potential 
gotchas installing an older version of the package on a recent version of R, 
even from source after installing the needed tools, or having to revert to an 
older version of R to support the installation of the older package.

Older Windows binaries of R releases are available from:

  http://cran.r-project.org/bin/windows/base/old/

and R 2.6.1 would be about the release that corresponds to the particular 
version of fGARCH being used above, which is late 2007.

Regards,

Marc

__
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] installing package gstat

2013-10-10 Thread Thomas Adams
Simona,

You need to install the dependencies:

install.packages(gstat,dependencies=T)

Tom


On Thu, Oct 10, 2013 at 11:58 AM, Simona Augyte simona.aug...@uconn.eduwrote:

 Hello,
 # I am able to
 install.packages(gstat)
 #but when I try to upload I get an error message
 library(gstat)
 #Error in loadNamespace(j - i[[1L]], c(lib.loc, .libPaths()), versionCheck
 = vI[[j]]) :
 #  there is no package called ‘intervals’
 #In addition: Warning message:
 #package ‘gstat’ was built under R version 3.0.2
 #Error: package or namespace load failed for ‘gstat’


 what do you recommend?

 --

 Simona Augyte, MS
 PhD student
 Ecology and Evolutionary Biology
 University of Connecticut
 cell 707-832-7007

 [[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.



[[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] Installing package from website

2013-08-27 Thread Henrik Bengtsson
On Sun, Aug 25, 2013 at 10:55 AM, Christofer Bogaso
bogaso.christo...@gmail.com wrote:
 Hello again,

 I need to install Rmpi package from this
 http://www.stats.uwo.ca/faculty/yu/Rmpi/download/windows/MPICH2

 I was wondering if there is any direct way to install this in R. The
 trivial method would obviously be download and save the required zip file
 in the local disk and install it from there.

R.utils::installPackages(url)

/Henrik


 Any idea?

 Thanks and regards,

 [[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] Installing package from website

2013-08-25 Thread Prof Brian Ripley

On 25/08/2013 18:55, Christofer Bogaso wrote:

Hello again,

I need to install Rmpi package from this
http://www.stats.uwo.ca/faculty/yu/Rmpi/download/windows/MPICH2

I was wondering if there is any direct way to install this in R. The


No, because it is not a proper R repository.  In particular, what makes 
you believe that those files are for your unstated version of R?  (And 
whatever that is, they cannot plausibly all be given their spread of dates.)



trivial method would obviously be download and save the required zip file
in the local disk and install it from there.


You could combine those within R, e.g. by using download.file() and 
install.packages(repos = NULL).



Any idea?



--
Brian D. Ripley,  rip...@stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel:  +44 1865 272861 (self)
1 South Parks Road, +44 1865 272866 (PA)
Oxford OX1 3TG, UKFax:  +44 1865 272595

__
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] Installing package(s) into ... (as ‘lib’ is unspecified)

2013-06-13 Thread Greg Snow
What evidence do you have that the package did not install?  The only
differences in the output that you show is that in the second case you get
extra output about downloading the package which does not apply in the
first case since you did not need to download the package.


On Thu, Jun 13, 2013 at 11:26 AM, Raffaello Vardavas r_varda...@hotmail.com
 wrote:

 Dear All,

 this may be a trivial problem. A collaborator has created an R package for
 internal use (not available on CRAN). This installs and works fine on my
 Mac but fails to install on windows.



 When I install the packagein windows by browing and pointing to the .zip
 file I get the following error:



 
 install.packages(C:/Users/rvardava/RiskPerceptionNetworks/Tools/nirm/nirm.tags/nirm_0.6.5.zip,
 repos = NULL)
 Installing package(s) into ‘C:/Program Files/R/R-2.15.3/library’
 (as ‘lib’ is unspecified)
 
 install.packages(C:/Users/rvardava/RiskPerceptionNetworks/Tools/nirm/nirm.tags/nirm_0.6.4.zip,
 repos = NULL)
 Installing package(s) into ‘C:/Program Files/R/R-2.15.3/library’
 (as ‘lib’ is unspecified)



 However if I install a package from CRAN (e.g. deSolve) the same warning
 appears initially - but it continues and installs the package with no
 problems:


  install.packages(deSolve)
 Installing package(s) into ‘C:/Program Files/R/R-2.15.3/library’
 (as ‘lib’ is unspecified)
 trying URL '
 http://cran.stat.ucla.edu/bin/windows/contrib/2.15/deSolve_1.10-6.zip'
 Content type 'application/zip' length 2659517 bytes (2.5 Mb)
 opened URL
 downloaded 2.5 Mb

 package ‘deSolve’ successfully unpacked and MD5 sums checked

 The downloaded binary packages are in
  C:\Users\rvardava\AppData\Local\Temp\RtmpO8Ul1g\downloaded_packages



 Please help.



 Thanks.

 Raff

 [[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.




-- 
Gregory (Greg) L. Snow Ph.D.
538...@gmail.com

[[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] Installing package(s) into ... (as ‘lib’ is unspecified)

2013-06-13 Thread Duncan Murdoch

On 13/06/2013 1:26 PM, Raffaello Vardavas wrote:

Dear All,

this may be a trivial problem. A collaborator has created an R package for 
internal use (not available on CRAN). This installs and works fine on my Mac 
but fails to install on windows.

  


When I install the packagein windows by browing and pointing to the .zip file I 
get the following error:

  


 
install.packages(C:/Users/rvardava/RiskPerceptionNetworks/Tools/nirm/nirm.tags/nirm_0.6.5.zip,
 repos = NULL)
Installing package(s) into ‘C:/Program Files/R/R-2.15.3/library’
(as ‘lib’ is unspecified)
 
install.packages(C:/Users/rvardava/RiskPerceptionNetworks/Tools/nirm/nirm.tags/nirm_0.6.4.zip,
 repos = NULL)
Installing package(s) into ‘C:/Program Files/R/R-2.15.3/library’
(as ‘lib’ is unspecified)


Those are not errors, they are just notes to let you know where it was 
installed.
  


However if I install a package from CRAN (e.g. deSolve) the same warning 
appears initially - but it continues and installs the package with no problems:


 install.packages(deSolve)
Installing package(s) into ‘C:/Program Files/R/R-2.15.3/library’
(as ‘lib’ is unspecified)
trying URL 
'http://cran.stat.ucla.edu/bin/windows/contrib/2.15/deSolve_1.10-6.zip'
Content type 'application/zip' length 2659517 bytes (2.5 Mb)
opened URL
downloaded 2.5 Mb

package ‘deSolve’ successfully unpacked and MD5 sums checked

The downloaded binary packages are in
  C:\Users\rvardava\AppData\Local\Temp\RtmpO8Ul1g\downloaded_packages



You haven't shown us any error, but if the package doesn't work, it 
might be because it wasn't built properly.  A .zip file that works on a 
Mac is unlikely to also work on Windows:  Windows uses the .zip 
extension for *binary* installs.


Duncan Murdoch

__
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] installing package 'rqpd' (Regression quantiles for panel data)

2013-06-05 Thread Manish K. Srivastava
Dear Henric,

Thank you so much. I was able to successfully install the rqpd package 
on my Windows machine (win 7) using the R.2.15.1 version.
I greatly appreciate your wonderful help.

Thank you.

Best regards,

Manish


On 6/4/2013 3:54 PM, Henric Winell wrote:
 Manish,

 Manish K. Srivastava skrev 2013-06-03 16:19:
 Hello R community members,

 I'm trying to install the 'rqpd' package which is developed by Roger
 Koenker and Stefan Bache. When I try to install the package using the
 command 'install.packages(rqpd,repos=http://R-Forge.R-project.org;)'
 I'm getting the following two messages:

 i) package ‘rqpd’ is available as a source package but not as a binary
 ii) package ‘rqpd’ is not available (for R version 3.0.1)

 Are you using Windows or OS X?  R-Forge doesn't currently provide 
 binaries for OS X.

 On checking the Log of /pkg on the r-forge.r.project.org website, I find
 that the package was last modified on May 8,2012 and was made compatible
 with R2.14.

 Quick fix to make it compile for R = 2.14


 So, in another attempt, I downloaded the older version of R (2.14) to
 see if the 'rqpd' package could be installed using the older version,
 but still I had no luck.

 That's because R-Forge no longer provide binaries for 2.14.x.



 Is there any way I could still use this package?

 Binaries seem to be available for 2.15.x.  Alternatively, you can 
 always build from source and that'll work for 3.0.x.


 HTH,
 Henric





 Thank you for your help.

 Best regards,

 Manish





-- 



[[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] installing package 'rqpd' (Regression quantiles for panel data)

2013-06-04 Thread Henric Winell

Manish,

Manish K. Srivastava skrev 2013-06-03 16:19:

Hello R community members,

I'm trying to install the 'rqpd' package which is developed by Roger
Koenker and Stefan Bache. When I try to install the package using the
command 'install.packages(rqpd,repos=http://R-Forge.R-project.org;)'
I'm getting the following two messages:

i) package ‘rqpd’ is available as a source package but not as a binary
ii) package ‘rqpd’ is not available (for R version 3.0.1)


Are you using Windows or OS X?  R-Forge doesn't currently provide 
binaries for OS X.



On checking the Log of /pkg on the r-forge.r.project.org website, I find
that the package was last modified on May 8,2012 and was made compatible
with R2.14.

Quick fix to make it compile for R = 2.14


So, in another attempt, I downloaded the older version of R (2.14) to
see if the 'rqpd' package could be installed using the older version,
but still I had no luck.


That's because R-Forge no longer provide binaries for 2.14.x.




Is there any way I could still use this package?


Binaries seem to be available for 2.15.x.  Alternatively, you can always 
build from source and that'll work for 3.0.x.



HTH,
Henric






Thank you for your help.

Best regards,

Manish




__
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] installing package

2013-04-25 Thread Pascal Oettli

Hi,

Do you have administrator rights?

Regards,
Pascal


On 04/25/2013 04:19 PM, Gitte Brinch Andersen wrote:

Hi

I am trying to install a package (bioconductor) but every time I try to install 
it I get this message:

source(http://bioconductor.org/biocLite.R;)
Warning in install.packages(BiocInstaller, repos = a[BioCsoft, URL]) :
   'lib = C:/Program Files/R/R-3.0.0/library' is not writable
Error in install.packages(BiocInstaller, repos = a[BioCsoft, URL]) :
   unable to install packages

 biocLite(methylumi)


I normally use mac computers, but I cannot get the right path for the folders I 
should use, so now I am trying with a windows platform instead. But now I 
cannot install one of the packages my pipeline needs.

Can anyone help?

I know it is probably a simple problem, but I have never used R before and 
don't know how to solve problems in it.

Best

Gitte Andersen

E-mail: gitt...@hum-gen.au.dk

__
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] installing package

2013-04-25 Thread Martin Morgan

On 04/25/2013 12:19 AM, Gitte Brinch Andersen wrote:

Hi

I am trying to install a package (bioconductor) but every time I try to install 
it I get this message:

source(http://bioconductor.org/biocLite.R;)
Warning in install.packages(BiocInstaller, repos = a[BioCsoft, URL]) :
   'lib = C:/Program Files/R/R-3.0.0/library' is not writable
Error in install.packages(BiocInstaller, repos = a[BioCsoft, URL]) :
   unable to install packages


Hi Gitte -- this and your Mac path problems are really a question for the 
Bioconductor mailing list


  http://bioconductor.org/help/mailing-list/

I don't know the answer to your path problem, but the package author monitors 
that list and will be able to help.


I would have expected the attempt run the biocLite.R script to result in a 
dialog that asks 'Would you like to use a personal library instead?', to which 
you should answer 'yes'.


If for some reason you do not want to answer 'yes', then read the help page 
?.libPaths


Hope that helps, and please ask your questions about Bioconductor packages on 
the Bioconductor mailing list.


Martin



I normally use mac computers, but I cannot get the right path for the folders I 
should use, so now I am trying with a windows platform instead. But now I 
cannot install one of the packages my pipeline needs.

Can anyone help?

I know it is probably a simple problem, but I have never used R before and 
don't know how to solve problems in it.

Best

Gitte Andersen

E-mail: gitt...@hum-gen.au.dk

__
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.




--
Computational Biology / Fred Hutchinson Cancer Research Center
1100 Fairview Ave. N.
PO Box 19024 Seattle, WA 98109

Location: Arnold Building M1 B861
Phone: (206) 667-2793

__
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] installing package tkrplot

2012-03-05 Thread Uwe Ligges



On 05.03.2012 17:26, henk harmsen wrote:

package tkrplot worked, but has broken while installing from R 2.11 to
2.14.2.
it does not want to be installed anymore on a linux debian squeeze 64
system.

have tried:
- installing from source R: CMD INSTALL tkrplot_0.0-23.tar.gz
- via synaptic: package r-cran-tkrplot
- via terminal: sudo apt-get install r-cran-tkrplot
- in R: install.packages('tkrplot',dependencies=TRUE)

in all cases there is either a long list of errors, or 'package ‘tkrplot’
does not have a NAMESPACE and should be re-installed'.

does anybody know how to solve this?


Probably not without knowing the error message. We can only guess that 
your tcl/tk installation is broken or misses header files.


Uwe Ligges



henk

[[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] Installing package QRMlib

2012-02-29 Thread DT54321
Ah yes, I can open it with Notepad...it reads the following:

* installing *source* package 'QRMlib' ...
** Creating default NAMESPACE file
** libs
ERROR: compilation failed for package 'QRMlib'
* removing 'C:/PROGRA~1/R/R-214~1.1/bin/QRMLIB~1.RCH/QRMlib'



--
View this message in context: 
http://r.789695.n4.nabble.com/Installing-package-QRMlib-tp4425269p4431034.html
Sent from the R help mailing list archive at Nabble.com.

__
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] Installing package QRMlib

2012-02-29 Thread DT54321
I wouldn't see myself as an experienced R user soI would appreciate if anyone
is able to give me a clear set of instructions on how to install and load
QRMlib. The steps I've followed are:

1: Download 'QRMlib_1.4.5.1.tar.gz' from
http://cran.r-project.org/src/contrib/Archive/QRMlib/ to my local folder.

2. QRMlib depends on methods, fCalendar, fEcofin, mvtnorm, chron,its,Hmisc
so I install all of these. I install teh following from within RStuidos
using the  Packages tab:

a) mvtnorm
b) chron
c) its
d) Hmisc 
e) methods

And download the tar.gz files from the archive for:

A) fCalendar
b) fEcofin

In R, I also use the install.packages with type = source and repos = NULL
to install the packages listed in A) and B)

3. In R, then enter

iinstall.packages(file_name, type =source, repos = NULL)

where file_name is the directory for QRMlib_1.4.5.1.tar.gz.

It outputs the following error:

Installing package(s) into ‘C:/Program Files/R/R-2.14.1/library’
(as ‘lib’ is unspecified)
* installing *source* package 'QRMlib' ...
** Creating default NAMESPACE file
** libs
ERROR: compilation failed for package 'QRMlib'
* removing 'C:/Program Files/R/R-2.14.1/library/QRMlib'
* restoring previous 'C:/Program Files/R/R-2.14.1/library/QRMlib'
Warning in install.packages :
  running command 'C:/PROGRA~1/R/R-214~1.1/bin/i386/R CMD INSTALL -l
C:/Program Files/R/R-2.14.1/library  
my_local_folder/QRMlib_1.4.5.1.tar.gz' had status 1
Warning in install.packages :
  installation of package ‘Pmy_local_folder/QRMlib_1.4.5.1.tar.gz’ had
non-zero exit status

Please help!

--
View this message in context: 
http://r.789695.n4.nabble.com/Installing-package-QRMlib-tp4425269p4431453.html
Sent from the R help mailing list archive at Nabble.com.

__
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] Installing package QRMlib

2012-02-29 Thread Pfaff, Bernhard Dr.
Well, because QRMlib interfaces C routines (IIRC), the error message is pretty 
indicative, i.e. these routines cannot be compiled. Now, without further 
information there is not much to recommend, but:

1) check your RTools installation
2) Ask the package maintainer (cc'ed) when he will re-release QRMlib on CRAN, 
be patient until the binaries have been populated and use install.packages()

Best,
Bernhard

-Ursprüngliche Nachricht-
Von: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] Im 
Auftrag von DT54321
Gesendet: Mittwoch, 29. Februar 2012 14:17
An: r-help@r-project.org
Betreff: Re: [R] Installing package QRMlib

I wouldn't see myself as an experienced R user soI would appreciate if anyone 
is able to give me a clear set of instructions on how to install and load 
QRMlib. The steps I've followed are:

1: Download 'QRMlib_1.4.5.1.tar.gz' from 
http://cran.r-project.org/src/contrib/Archive/QRMlib/ to my local folder.

2. QRMlib depends on methods, fCalendar, fEcofin, mvtnorm, chron,its,Hmisc so I 
install all of these. I install teh following from within RStuidos using the  
Packages tab:

a) mvtnorm
b) chron
c) its
d) Hmisc
e) methods

And download the tar.gz files from the archive for:

A) fCalendar
b) fEcofin

In R, I also use the install.packages with type = source and repos = NULL to 
install the packages listed in A) and B)

3. In R, then enter

iinstall.packages(file_name, type =source, repos = NULL)

where file_name is the directory for QRMlib_1.4.5.1.tar.gz.

It outputs the following error:

Installing package(s) into ‘C:/Program Files/R/R-2.14.1/library’
(as ‘lib’ is unspecified)
* installing *source* package 'QRMlib' ...
** Creating default NAMESPACE file
** libs
ERROR: compilation failed for package 'QRMlib'
* removing 'C:/Program Files/R/R-2.14.1/library/QRMlib'
* restoring previous 'C:/Program Files/R/R-2.14.1/library/QRMlib'
Warning in install.packages :
  running command 'C:/PROGRA~1/R/R-214~1.1/bin/i386/R CMD INSTALL -l 
C:/Program Files/R/R-2.14.1/library  
my_local_folder/QRMlib_1.4.5.1.tar.gz' had status 1 Warning in 
install.packages :
  installation of package ‘Pmy_local_folder/QRMlib_1.4.5.1.tar.gz’ had non-zero 
exit status

Please help!

--
View this message in context: 
http://r.789695.n4.nabble.com/Installing-package-QRMlib-tp4425269p4431453.html
Sent from the R help mailing list archive at Nabble.com.

__
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.
*
Confidentiality Note: The information contained in this message,
and any attachments, may contain confidential and/or privileged
material. It is intended solely for the person(s) or entity to
which it is addressed. Any review, retransmission, dissemination,
or taking of any action in reliance upon this information by
persons or entities other than the intended recipient(s) is
prohibited. If you received this in error, please contact the
sender and delete the material from any computer.
*
__
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] Installing package QRMlib

2012-02-29 Thread jthetzel
QRMlib built without errors on my WIndows machine.  Here's the resulting zip
binary:
http://commondatastorage.googleapis.com/jthetzel-public/QRMlib_1.4.5.1.zip

Will that install on your machine?

Jeremy



DT54321 wrote
 
 I wouldn't see myself as an experienced R user soI would appreciate if
 anyone is able to give me a clear set of instructions on how to install
 and load QRMlib. The steps I've followed are:
 
 1: Download 'QRMlib_1.4.5.1.tar.gz' from
 http://cran.r-project.org/src/contrib/Archive/QRMlib/ to my local folder.
 
 2. QRMlib depends on methods, fCalendar, fEcofin, mvtnorm, chron,its,Hmisc
 so I install all of these. I install teh following from within RStuidos
 using the  Packages tab:
 
 a) mvtnorm
 b) chron
 c) its
 d) Hmisc 
 e) methods
 
 And download the tar.gz files from the archive for:
 
 A) fCalendar
 b) fEcofin
 
 In R, I also use the install.packages with type = source and repos =
 NULL to install the packages listed in A) and B)
 
 3. In R, then enter
 
 iinstall.packages(file_name, type =source, repos = NULL)
 
 where file_name is the directory for QRMlib_1.4.5.1.tar.gz.
 
 It outputs the following error:
 
 Installing package(s) into ‘C:/Program Files/R/R-2.14.1/library’
 (as ‘lib’ is unspecified)
 * installing *source* package 'QRMlib' ...
 ** Creating default NAMESPACE file
 ** libs
 ERROR: compilation failed for package 'QRMlib'
 * removing 'C:/Program Files/R/R-2.14.1/library/QRMlib'
 * restoring previous 'C:/Program Files/R/R-2.14.1/library/QRMlib'
 Warning in install.packages :
   running command 'C:/PROGRA~1/R/R-214~1.1/bin/i386/R CMD INSTALL -l
 C:/Program Files/R/R-2.14.1/library  
 my_local_folder/QRMlib_1.4.5.1.tar.gz' had status 1
 Warning in install.packages :
   installation of package ‘Pmy_local_folder/QRMlib_1.4.5.1.tar.gz’ had
 non-zero exit status
 
 Please help!
 

-
Jeremy T. Hetzel
Boston University
--
View this message in context: 
http://r.789695.n4.nabble.com/Installing-package-QRMlib-tp4425269p4431832.html
Sent from the R help mailing list archive at Nabble.com.

__
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] Installing package QRMlib

2012-02-29 Thread DT54321
That worked!

Thanks a lot Jeremy. 

--
View this message in context: 
http://r.789695.n4.nabble.com/Installing-package-QRMlib-tp4425269p4431895.html
Sent from the R help mailing list archive at Nabble.com.

__
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] Installing package QRMlib

2012-02-28 Thread Pfaff, Bernhard Dr.
Dear all:

well, what Duncan has suggested would work in principle. However, the 
dependencies of QRMlib as contained in the archive have been deprecated and the 
package maintainer (cc'ed to this email directly) is pretty close to a 
re-release of his package on CRAN, whereby primarily the outdated package 
dependency to fSeries is changed to timeSeries. 
Hence, before grabbing the deprecated package dependencies on R-Forge and 
install these, it might be worth waiting for the re-submittance of QRMlib to 
CRAN, given that it will be made in due course. Scott, do you have any further 
information whence QRMlib will be made available again on CRAN?

Best,
Bernhard

-Ursprüngliche Nachricht-
Von: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] Im 
Auftrag von Duncan Murdoch
Gesendet: Montag, 27. Februar 2012 21:16
An: R. Michael Weylandt
Cc: r-help@r-project.org; DT54321
Betreff: Re: [R] Installing package QRMlib

On 27/02/2012 3:01 PM, R. Michael Weylandt wrote:
 Do you perhaps need to add install.packages(...,  type=src)? Just a
 (untested) guess...

That should be type=source, and that should solve the problem, assuming 
Deepan has the necessary tools installed.  If not, he can get them from CRAN in 
the bin/windows/Rtools directory.

Duncan Murdoch

 Michael

 On Mon, Feb 27, 2012 at 12:07 PM, DT54321deepan.tailo...@gmail.com  wrote:
   Hi,
   I am having real problems downloading the package 'QRMlib'. The 
  tar.gz file  is shown here:
 
   http://cran.r-project.org/src/contrib/Archive/QRMlib/
 
   I have downloaded this to my local folder and entered the following 
  command:
 
   nstall.packages(myLocalFolder/QRMlib_1.4.5.1.tar.gz, repos = 
  NULL)
 
   but I am getting the following error message
 
   Installing package(s) into 'C:/Program Files/R/R-2.14.1/library'
   (as 'lib' is unspecified)
   Warning in install.packages :
 error 1 in extracting from zip file  Warning in install.packages 
  :
 cannot open compressed file 'QRMlib_1.4.5.1.tar.gz/DESCRIPTION', 
  probable  reason 'No such file or directory'
   Error in install.packages : cannot open the connection
 
   What am I doing wrong??
 
   Thanks
 
   --
   View this message in context: 
  http://r.789695.n4.nabble.com/Installing-package-QRMlib-tp4425269p44
  25269.html  Sent from the R help mailing list archive at Nabble.com.
 
   __
   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.

__
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.
*
Confidentiality Note: The information contained in this ...{{dropped:10}}

__
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] Installing package QRMlib

2012-02-28 Thread DT54321
Thanks for the reply guys. Well, I've tried the following command after
installing the package dependancies including timeSeries:

install.packages(file_name, type = source, repos = NULL)
 
Ans still no luck...I get the following error message:

Installing package(s) into ‘C:/Program Files/R/R-2.14.1/library’
(as ‘lib’ is unspecified)
* installing *source* package 'QRMlib' ...
** Creating default NAMESPACE file
** libs
ERROR: compilation failed for package 'QRMlib'
* removing 'C:/Program Files/R/R-2.14.1/library/QRMlib'
* restoring previous 'C:/Program Files/R/R-2.14.1/library/QRMlib'
Warning in install.packages :
  running command 'C:/PROGRA~1/R/R-214~1.1/bin/i386/R CMD INSTALL -l
C:/Program Files/R/R-2.14.1/library   
my_local_folder/QRMlib_1.4.5.1.tar.gz' had status 1
Warning in install.packages :
  installation of package ‘my_local_folder/QRMlib_1.4.5.1.tar.gz’ had
non-zero exit status

Any ideas??

--
View this message in context: 
http://r.789695.n4.nabble.com/Installing-package-QRMlib-tp4425269p4427627.html
Sent from the R help mailing list archive at Nabble.com.

__
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] Installing package QRMlib

2012-02-28 Thread Pfaff, Bernhard Dr.
As stated, you need to install the *deprecated* dependencies of QRMlib as shown 
in its DESCRIPTION as well as the reverse dependent *deprecated* packages. 
These can still be fetched from R-Forge (Rmetrics project). The package 
'timeSeries' will become a dependency of the to be re-released QRMlib package 
on CRAN.  

-Ursprüngliche Nachricht-
Von: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] Im 
Auftrag von DT54321
Gesendet: Dienstag, 28. Februar 2012 11:10
An: r-help@r-project.org
Betreff: Re: [R] Installing package QRMlib

Thanks for the reply guys. Well, I've tried the following command after 
installing the package dependancies including timeSeries:

install.packages(file_name, type = source, repos = NULL)
 
Ans still no luck...I get the following error message:

Installing package(s) into ‘C:/Program Files/R/R-2.14.1/library’
(as ‘lib’ is unspecified)
* installing *source* package 'QRMlib' ...
** Creating default NAMESPACE file
** libs
ERROR: compilation failed for package 'QRMlib'
* removing 'C:/Program Files/R/R-2.14.1/library/QRMlib'
* restoring previous 'C:/Program Files/R/R-2.14.1/library/QRMlib'
Warning in install.packages :
  running command 'C:/PROGRA~1/R/R-214~1.1/bin/i386/R CMD INSTALL -l
C:/Program Files/R/R-2.14.1/library   
my_local_folder/QRMlib_1.4.5.1.tar.gz' had status 1 Warning in 
install.packages :
  installation of package ‘my_local_folder/QRMlib_1.4.5.1.tar.gz’ had non-zero 
exit status

Any ideas??

--
View this message in context: 
http://r.789695.n4.nabble.com/Installing-package-QRMlib-tp4425269p4427627.html
Sent from the R help mailing list archive at Nabble.com.

__
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.
*
Confidentiality Note: The information contained in this message,
and any attachments, may contain confidential and/or privileged
material. It is intended solely for the person(s) or entity to
which it is addressed. Any review, retransmission, dissemination,
or taking of any action in reliance upon this information by
persons or entities other than the intended recipient(s) is
prohibited. If you received this in error, please contact the
sender and delete the material from any computer.
*
__
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] Installing package QRMlib

2012-02-28 Thread jthetzel
I think you'll need to install fEcofin from CRAN, and then the following
.tar.gz files from the CRAN archives:
fUtilities
fCalenday
fSeries

And then try installing the QRMlib .tar.gz.

If you're still having problems, try: 
C:/Program Files/R/R-2.14.0/bin/x64/R CMD check QRMlib_1.4.5.1.tar.gz
(or whatever is equivalent for your R installation) from the Windows command
prompt .  That will output more useful information on errors and warnings.


Jeremy


Jeremy Hetzel
Boston University



Pfaff, Bernhard Dr. wrote
 
 As stated, you need to install the *deprecated* dependencies of QRMlib as
 shown in its DESCRIPTION as well as the reverse dependent *deprecated*
 packages. These can still be fetched from R-Forge (Rmetrics project). The
 package 'timeSeries' will become a dependency of the to be re-released
 QRMlib package on CRAN.  
 
 -Ursprüngliche Nachricht-
 Von: r-help-bounces@ [mailto:r-help-bounces@] Im Auftrag von DT54321
 Gesendet: Dienstag, 28. Februar 2012 11:10
 An: r-help@
 Betreff: Re: [R] Installing package QRMlib
 
 Thanks for the reply guys. Well, I've tried the following command after
 installing the package dependancies including timeSeries:
 
 install.packages(file_name, type = source, repos = NULL)
  
 Ans still no luck...I get the following error message:
 
 Installing package(s) into ‘C:/Program Files/R/R-2.14.1/library’
 (as ‘lib’ is unspecified)
 * installing *source* package 'QRMlib' ...
 ** Creating default NAMESPACE file
 ** libs
 ERROR: compilation failed for package 'QRMlib'
 * removing 'C:/Program Files/R/R-2.14.1/library/QRMlib'
 * restoring previous 'C:/Program Files/R/R-2.14.1/library/QRMlib'
 Warning in install.packages :
   running command 'C:/PROGRA~1/R/R-214~1.1/bin/i386/R CMD INSTALL -l
 C:/Program Files/R/R-2.14.1/library   
 my_local_folder/QRMlib_1.4.5.1.tar.gz' had status 1 Warning in
 install.packages :
   installation of package ‘my_local_folder/QRMlib_1.4.5.1.tar.gz’ had
 non-zero exit status
 
 Any ideas??
 
 --
 View this message in context:
 http://r.789695.n4.nabble.com/Installing-package-QRMlib-tp4425269p4427627.html
 Sent from the R help mailing list archive at Nabble.com.
 
 __
 R-help@ 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.
 *
 Confidentiality Note: The information contained in this message,
 and any attachments, may contain confidential and/or privileged
 material. It is intended solely for the person(s) or entity to
 which it is addressed. Any review, retransmission, dissemination,
 or taking of any action in reliance upon this information by
 persons or entities other than the intended recipient(s) is
 prohibited. If you received this in error, please contact the
 sender and delete the material from any computer.
 *
 __
 R-help@ 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.
 

-
Jeremy T. Hetzel
Boston University
--
View this message in context: 
http://r.789695.n4.nabble.com/Installing-package-QRMlib-tp4425269p4428517.html
Sent from the R help mailing list archive at Nabble.com.

__
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] Installing package QRMlib

2012-02-28 Thread DT54321
According to the QRMlib package pdf, 

http://www.mirrorservice.org/sites/lib.stat.cmu.edu/R/CRAN/doc/packages/QRMlib.pdf

the package depennds on methods, fCalendar, fEcofin, mvtnorm,
chron,its,Hmisc. I have installed all of these (some were retrieved from
archive and some were retrieved from CRAN) and still getting errors.

I'm just wondering whether anyone has successfully loaded QRMlib??

--
View this message in context: 
http://r.789695.n4.nabble.com/Installing-package-QRMlib-tp4425269p4428600.html
Sent from the R help mailing list archive at Nabble.com.

__
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] Installing package QRMlib

2012-02-28 Thread DT54321
In command prompt, I direct to the following directory:

C:\Program Files\R\R-2.14.1\bin

Now I enter:

R CMD check my_local_folder\QRMlib_1.4.5.1.tar.gz

The following appears:

* using log directory 'C:/Program Files/R/R-2.14.1/bin/QRMlib.Rcheck'
* using R version 2.14.1 (2011-12-22)
* using platform: i386-pc-mingw32 (32-bit)
* using session charset: ISO8859-1
* checking for file 'QRMlib/DESCRIPTION' ... OK
* this is package 'QRMlib' version '1.4.5.1'
* checking package dependencies ... OK
* checking if this is a source package ... OK
* checking if there is a namespace ... NOTE
As from R 2.14.0 all packages need a namespace.
One will be generated on installation, but it is better to handcraft a
NAMESPACE file: R CMD build will produce a suitable starting point.
* checking for .dll and .exe files ... OK
* checking whether package 'QRMlib' can be installed ... ERROR
Installation failed.
See 'C:/Program Files/R/R-2.14.1/bin/QRMlib.Rcheck/00install.out' for
details.



--
View this message in context: 
http://r.789695.n4.nabble.com/Installing-package-QRMlib-tp4425269p4428988.html
Sent from the R help mailing list archive at Nabble.com.

__
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] Installing package QRMlib

2012-02-28 Thread jthetzel
Next, you should check C:/Program
Files/R/R-2.14.1/bin/QRMlib.Rcheck/00install.out for details on the error.


DT54321 wrote
 
 In command prompt, I direct to the following directory:
 
 C:\Program Files\R\R-2.14.1\bin
 
 Now I enter:
 
 R CMD check my_local_folder\QRMlib_1.4.5.1.tar.gz
 
 The following appears:
 
 * using log directory 'C:/Program Files/R/R-2.14.1/bin/QRMlib.Rcheck'
 * using R version 2.14.1 (2011-12-22)
 * using platform: i386-pc-mingw32 (32-bit)
 * using session charset: ISO8859-1
 * checking for file 'QRMlib/DESCRIPTION' ... OK
 * this is package 'QRMlib' version '1.4.5.1'
 * checking package dependencies ... OK
 * checking if this is a source package ... OK
 * checking if there is a namespace ... NOTE
 As from R 2.14.0 all packages need a namespace.
 One will be generated on installation, but it is better to handcraft a
 NAMESPACE file: R CMD build will produce a suitable starting point.
 * checking for .dll and .exe files ... OK
 * checking whether package 'QRMlib' can be installed ... ERROR
 Installation failed.
 See 'C:/Program Files/R/R-2.14.1/bin/QRMlib.Rcheck/00install.out' for
 details.
 

-
Jeremy T. Hetzel
Boston University
--
View this message in context: 
http://r.789695.n4.nabble.com/Installing-package-QRMlib-tp4425269p4429041.html
Sent from the R help mailing list archive at Nabble.com.

__
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] Installing package QRMlib

2012-02-28 Thread jthetzel
I installed fEcofin, fUtilities, fCalenday, and fSeries from the CRAN
archives and was able to install and load QRMlib.

Which errors does R CMD check QRMlib_1.4.5.1.tar.gz show?



DT54321 wrote
 
 According to the QRMlib package pdf, 
 
 http://www.mirrorservice.org/sites/lib.stat.cmu.edu/R/CRAN/doc/packages/QRMlib.pdf
 
 the package depennds on methods, fCalendar, fEcofin, mvtnorm,
 chron,its,Hmisc. I have installed all of these (some were retrieved from
 archive and some were retrieved from CRAN) and still getting errors.
 
 I'm just wondering whether anyone has successfully loaded QRMlib??
 

-
Jeremy T. Hetzel
Boston University
--
View this message in context: 
http://r.789695.n4.nabble.com/Installing-package-QRMlib-tp4425269p4428842.html
Sent from the R help mailing list archive at Nabble.com.

__
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] Installing package QRMlib

2012-02-28 Thread DT54321
Yes, I did. But my Windows did not know what program to open it with...

--
View this message in context: 
http://r.789695.n4.nabble.com/Installing-package-QRMlib-tp4425269p4429275.html
Sent from the R help mailing list archive at Nabble.com.

__
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] Installing package QRMlib

2012-02-28 Thread R. Michael Weylandt
Please quote context.

You can open it with any plain text editor. (i.e., notepad)

Michael

On Tue, Feb 28, 2012 at 2:42 PM, DT54321 deepan.tailo...@gmail.com wrote:
 Yes, I did. But my Windows did not know what program to open it with...

 --
 View this message in context: 
 http://r.789695.n4.nabble.com/Installing-package-QRMlib-tp4425269p4429275.html
 Sent from the R help mailing list archive at Nabble.com.

 __
 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] Installing package QRMlib

2012-02-27 Thread R. Michael Weylandt
Do you perhaps need to add install.packages(...,  type=src)? Just a
(untested) guess...

Michael

On Mon, Feb 27, 2012 at 12:07 PM, DT54321 deepan.tailo...@gmail.com wrote:
 Hi,
 I am having real problems downloading the package 'QRMlib'. The tar.gz file
 is shown here:

 http://cran.r-project.org/src/contrib/Archive/QRMlib/

 I have downloaded this to my local folder and entered the following command:

 nstall.packages(myLocalFolder/QRMlib_1.4.5.1.tar.gz, repos = NULL)

 but I am getting the following error message

 Installing package(s) into ‘C:/Program Files/R/R-2.14.1/library’
 (as ‘lib’ is unspecified)
 Warning in install.packages :
  error 1 in extracting from zip file
 Warning in install.packages :
  cannot open compressed file 'QRMlib_1.4.5.1.tar.gz/DESCRIPTION', probable
 reason 'No such file or directory'
 Error in install.packages : cannot open the connection

 What am I doing wrong??

 Thanks

 --
 View this message in context: 
 http://r.789695.n4.nabble.com/Installing-package-QRMlib-tp4425269p4425269.html
 Sent from the R help mailing list archive at Nabble.com.

 __
 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] Installing package QRMlib

2012-02-27 Thread Duncan Murdoch

On 27/02/2012 3:01 PM, R. Michael Weylandt wrote:

Do you perhaps need to add install.packages(...,  type=src)? Just a
(untested) guess...


That should be type=source, and that should solve the problem, 
assuming Deepan has the necessary tools installed.  If not, he can get 
them from CRAN in the bin/windows/Rtools directory.


Duncan Murdoch


Michael

On Mon, Feb 27, 2012 at 12:07 PM, DT54321deepan.tailo...@gmail.com  wrote:
  Hi,
  I am having real problems downloading the package 'QRMlib'. The tar.gz file
  is shown here:

  http://cran.r-project.org/src/contrib/Archive/QRMlib/

  I have downloaded this to my local folder and entered the following command:

  nstall.packages(myLocalFolder/QRMlib_1.4.5.1.tar.gz, repos = NULL)

  but I am getting the following error message

  Installing package(s) into ‘C:/Program Files/R/R-2.14.1/library’
  (as ‘lib’ is unspecified)
  Warning in install.packages :
error 1 in extracting from zip file
  Warning in install.packages :
cannot open compressed file 'QRMlib_1.4.5.1.tar.gz/DESCRIPTION', probable
  reason 'No such file or directory'
  Error in install.packages : cannot open the connection

  What am I doing wrong??

  Thanks

  --
  View this message in context: 
http://r.789695.n4.nabble.com/Installing-package-QRMlib-tp4425269p4425269.html
  Sent from the R help mailing list archive at Nabble.com.

  __
  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.


__
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] Installing package rgdal

2011-05-28 Thread Phil Spector

Alex -
  Notice that the error message says Error: proj_api.h not found.
Files ending with a suffix of .h are known as header files, and
on Ubuntu, they are distributed in so-called development packages,
which generally end with -dev .  So I'm guessing that you installed
the proj-bin package, and now you need to install the libproj-dev 
package.

  You'll see the same thing for any R package that needs to be built
against an external library.  Installing the library or binary is
not enough -- to build the R package you need the development files.
  Hope this helps.
- Phil Spector
 Statistical Computing Facility
 Department of Statistics
 UC Berkeley
 spec...@stat.berkeley.edu


On Sun, 29 May 2011, Alex Olssen wrote:


Dear R-helpers,

I am trying to install the package rgdal using the command

install.packages(rgdal)

in R.  I get the following error

Error: proj_api.h not found.
If the PROJ.4 library is installed in a non-standard location,
use --configure-args='--with-proj-include=/opt/local/include'
for example, replacing /opt/local/* with appropriate values
for your installation. If PROJ.4 is not installed, install it.
ERROR: configuration failed for package ‘rgdal’
* removing ‘/home/alex/R/i686-pc-linux-gnu-library/2.11/rgdal’

The downloaded packages are in
‘/tmp/RtmpVDlld6/downloaded_packages’
Warning message:
In install.packages(rgdal) :
 installation of package 'rgdal' had non-zero exit status

I am using ubuntu 10.10 and have installed PROJ.4 using the software
center.  I have also downloaded a binary of PROJ.4 and placed it in
/opt/local/

I have looked at the documentation for rgdal here -
http://cran.r-project.org/web/packages/rgdal/index.html
But it seems to be about using rgdal as opposed to installing it.

Any help would be appreciated.

Kind regards,

Alex

__
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] Installing package

2011-05-10 Thread Uwe Ligges



On 10.05.2011 06:34, Hurr wrote:

Using install packages pull-down, I chose a mirror and then package rJava.
Then it said that it cannot remove the rJava package already installed.
Then when I typed library(rJava) it said there was no rjava package.
Isn't that rather contradictory for R?



Start out without loading rJava and then try to reinstall. You probably 
tried to update when rJava was loaded and not al files could be removed 
due to file locking.


Uwe Ligges





--
View this message in context: 
http://r.789695.n4.nabble.com/Installing-package-tp3510987p3510987.html
Sent from the R help mailing list archive at Nabble.com.

__
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] Installing package in windows 7

2011-01-20 Thread Tal Galili
You probably need to get your users permissions (in win 7) set properly...


Contact
Details:---
Contact me: tal.gal...@gmail.com |  972-52-7275845
Read me: www.talgalili.com (Hebrew) | www.biostatistics.co.il (Hebrew) |
www.r-statistics.com (English)
--




On Wed, Jan 19, 2011 at 8:26 PM, radagast haseeb.mah...@gmail.com wrote:


 Hi all,

 I was trying to install a package called ei from this
 http://gking.harvard.edu/eiR link . With GCC, r-base-dev and some other R
 package dependencies installed it works perfect in my Ubuntu Linux system.

 Now I am trying to install the same in Windows 7 environment. So far my
 setup is as follows,

 1. R installed in home folder (c:\Users\username\R-2.12.1\R. It is set to
 run as administrator, and the R folder is writable.
 2. My working directory is (c:\Users\username\Documents)
 3. Rtool is installed in (c:\Rtools)

 Having this setup,

 4. I tried to install it by the command,
 install.packages(ei,repos=http://r.iq.harvard.edu;)
 This command gives me the following error message.


 ---
 Installing package(s) into ‘C:\Users\username\Documents/R/win-library/2.12’
 (as ‘lib’ is unspecified)
 Warning message:
 In getDependencies(pkgs, dependencies, available, lib) :
  package ‘ei’ is not available

 ---

 After that I have decided to have a try to install it from a local zip
 file,
 so I proceeded in the following way,


 5. I have downloaded the package ei_0.938.tar.gz, untar it and make a zip
 file from that. I placed it into my work directory.
 6. I opened the terminal (Run  cmd), went to the work directory and tried
 to run the command R COM INSTALL ei


 ---
 It shows me the following error message,
 C:\Users\username\DocumentsR COM INSTALL ei
 'R' is not recognized as an internal or external command,
 operable program or batch file.

 ---

 I am not sure what should I do now. Is there anyone to help?


 _ Rdgst.


 --
 View this message in context:
 http://r.789695.n4.nabble.com/Installing-package-in-windows-7-tp3225439p3225439.html
 Sent from the R help mailing list archive at Nabble.com.

 __
 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.


[[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] Installing package in windows 7

2011-01-20 Thread Prof Brian Ripley

On Thu, 20 Jan 2011, Tal Galili wrote:


You probably need to get your users permissions (in win 7) set properly...


I see no evidence that is the issue 

That site seems to be offering only source packages.  So in Windows 
you need


install.packages(ei,repos=http://r.iq.harvard.edu;, type='source')

This can be done without Rtools in R = 2.12.0.  Note though that it 
depends on other packages


  mvtnorm, msm, tmvtnorm, ellipse, plotrix, MASS, ucminf, cubature,
  mnormt, foreach

and those have dependencies (at least iterators), so I would install 
them from CRAN first (MASS should already be there).





Contact
Details:---
Contact me: tal.gal...@gmail.com |  972-52-7275845
Read me: www.talgalili.com (Hebrew) | www.biostatistics.co.il (Hebrew) |
www.r-statistics.com (English)
--




On Wed, Jan 19, 2011 at 8:26 PM, radagast haseeb.mah...@gmail.com wrote:



Hi all,

I was trying to install a package called ei from this
http://gking.harvard.edu/eiR link . With GCC, r-base-dev and some other R
package dependencies installed it works perfect in my Ubuntu Linux system.

Now I am trying to install the same in Windows 7 environment. So far my
setup is as follows,

1. R installed in home folder (c:\Users\username\R-2.12.1\R. It is set to
run as administrator, and the R folder is writable.
2. My working directory is (c:\Users\username\Documents)
3. Rtool is installed in (c:\Rtools)

Having this setup,

4. I tried to install it by the command,
install.packages(ei,repos=http://r.iq.harvard.edu;)
This command gives me the following error message.


---
Installing package(s) into ?C:\Users\username\Documents/R/win-library/2.12?
(as ?lib? is unspecified)
Warning message:
In getDependencies(pkgs, dependencies, available, lib) :
 package ?ei? is not available

---

After that I have decided to have a try to install it from a local zip
file,
so I proceeded in the following way,


5. I have downloaded the package ei_0.938.tar.gz, untar it and make a zip
file from that. I placed it into my work directory.
6. I opened the terminal (Run  cmd), went to the work directory and tried
to run the command R COM INSTALL ei


---
It shows me the following error message,
C:\Users\username\DocumentsR COM INSTALL ei
'R' is not recognized as an internal or external command,
operable program or batch file.

---

I am not sure what should I do now. Is there anyone to help?


_ Rdgst.


--
View this message in context:
http://r.789695.n4.nabble.com/Installing-package-in-windows-7-tp3225439p3225439.html
Sent from the R help mailing list archive at Nabble.com.

__
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.



[[alternative HTML version deleted]]




--
Brian D. Ripley,  rip...@stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel:  +44 1865 272861 (self)
1 South Parks Road, +44 1865 272866 (PA)
Oxford OX1 3TG, UKFax:  +44 1865 272595

__
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] Installing package in windows 7

2011-01-20 Thread Haseeb Mahmud
Prof. Brian Ripley and Tal Galili,

Thanks for your replies.

I cannot make the

*install.packages(ei,repos=http://r.iq.harvard.edu;, type='source')*

command work.

Alternatively, I can find the way (thanks to stackoverflow guys) I can
install that file from a local repo. For the sake of record, I am
summarizing the steps here,

1. Install R in root or home directory. Avoid Program Files directory. If
you install it there then make sure you are running R in administrative
privilege.

2. Install Rtools. During the installation please select package authoring
installation. Then in Select additional Tasks, check both fields, ie.
Edit the system path, Save version number 2.xx

3. Add path of R in the environment variable. To do that, right click the My
Computer icon  Properties  Advanced system settings  Environment
variables  find path and click edit  add the following line

c:\R-2.12.1\bin\i386;

(depending on the location you installed your R, you should edit the above
line accordingly)

After clicking ok, close all the terminals opened and then open a new
terminal and type - path. It should give you an output including the
following -

PATH=c:\Rtools\bin; c:\Rtools\perl\bin; c:\Rtools\MinGW\bin;
c:\Rtools\MinGW64\bin;c:\R-2.12.1\bin\i386;

Depending on the software installed you will find other inputs, but the
above are what you need.

4. Download the required package. Open a dos prompt. Go to the download
directory and put the following command,

R CMD INSTALL ei_0.938.tar.gz

It will ask the dependencies Tal Galili mentioned. Install the dependencies.
Try the command again. It should work then.



Kind regards.




On Thu, Jan 20, 2011 at 11:02 AM, Prof Brian Ripley
rip...@stats.ox.ac.ukwrote:

 On Thu, 20 Jan 2011, Tal Galili wrote:

  You probably need to get your users permissions (in win 7) set properly...


 I see no evidence that is the issue 

 That site seems to be offering only source packages.  So in Windows you
 need

 install.packages(ei,repos=http://r.iq.harvard.edu;, type='source')

 This can be done without Rtools in R = 2.12.0.  Note though that it
 depends on other packages

  mvtnorm, msm, tmvtnorm, ellipse, plotrix, MASS, ucminf, cubature,
  mnormt, foreach

 and those have dependencies (at least iterators), so I would install them
 from CRAN first (MASS should already be there).



 Contact
 Details:---
 Contact me: tal.gal...@gmail.com |  972-52-7275845
 Read me: www.talgalili.com (Hebrew) | www.biostatistics.co.il (Hebrew) |
 www.r-statistics.com (English)

 --




 On Wed, Jan 19, 2011 at 8:26 PM, radagast haseeb.mah...@gmail.com
 wrote:


 Hi all,

 I was trying to install a package called ei from this
 http://gking.harvard.edu/eiR link . With GCC, r-base-dev and some other
 R
 package dependencies installed it works perfect in my Ubuntu Linux
 system.

 Now I am trying to install the same in Windows 7 environment. So far my
 setup is as follows,

 1. R installed in home folder (c:\Users\username\R-2.12.1\R. It is set to
 run as administrator, and the R folder is writable.
 2. My working directory is (c:\Users\username\Documents)
 3. Rtool is installed in (c:\Rtools)

 Having this setup,

 4. I tried to install it by the command,
 install.packages(ei,repos=http://r.iq.harvard.edu;)
 This command gives me the following error message.



 ---
 Installing package(s) into
 ?C:\Users\username\Documents/R/win-library/2.12?
 (as ?lib? is unspecified)
 Warning message:
 In getDependencies(pkgs, dependencies, available, lib) :
  package ?ei? is not available


 ---

 After that I have decided to have a try to install it from a local zip
 file,
 so I proceeded in the following way,


 5. I have downloaded the package ei_0.938.tar.gz, untar it and make a zip
 file from that. I placed it into my work directory.
 6. I opened the terminal (Run  cmd), went to the work directory and
 tried
 to run the command R COM INSTALL ei



 ---
 It shows me the following error message,
 C:\Users\username\DocumentsR COM INSTALL ei
 'R' is not recognized as an internal or external command,
 operable program or batch file.


 ---

 I am not sure what should I do now. Is there anyone to help?


 _ Rdgst.


 --
 View this message in context:

 http://r.789695.n4.nabble.com/Installing-package-in-windows-7-tp3225439p3225439.html
 Sent from the R help mailing list archive at Nabble.com.

 __
 R-help@r-project.org mailing list
 

Re: [R] Installing package in windows 7

2011-01-20 Thread Tal Galili
Haseeb - thank you for republishing your solution.

Prof Brian Ripley - thanks for pointing to my error.

Best,
Tal


Contact
Details:---
Contact me: tal.gal...@gmail.com |  972-52-7275845
Read me: www.talgalili.com (Hebrew) | www.biostatistics.co.il (Hebrew) |
www.r-statistics.com (English)
--




On Thu, Jan 20, 2011 at 3:38 PM, Haseeb Mahmud haseeb.mah...@gmail.comwrote:

 Haseeb

[[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] installing package from source with Linux

2010-12-17 Thread Jannis
It defenitely seems to be related to the zipping/tar program. Untaring 
the file with gzip/tar and then installing the uncompressed folder with 
R CMD INSTALL seems to work (it gives quite a bunch of warnings though).


Jannis schrieb:

Dear list,


this may not be related to R but rather to my OS, but I do not 
understand the issue of compiling R packages deeply enough to figure 
out the exact cause of the problem.


I am trying to install a R package from source as it is not yet 
available under Cran (Rssa, downloaded here: 
https://github.com/asl/rssa).


Running

sudo R CMD INSTALL asl-rssa-6f458e4.tar.gz

from the console however gives me these error messages:

Warnung in untar2(tarfile, files, list, exdir) :
  checksum error for entry 'pax_global_header'
Fehler in untar2(tarfile, files, list, exdir) : unsupported entry type 
‘g’


Does anybody have any hints on how to solve this? Do I have the wrong 
packing program installed?


I am trying this with Ubuntu 9.10 and the following R system:

 sessionInfo()
R version 2.12.0 (2010-10-15)
Platform: i486-pc-linux-gnu (32-bit)

locale:
 [1] LC_CTYPE=de_DE.UTF-8   LC_NUMERIC=C
 [3] LC_TIME=de_DE.UTF-8LC_COLLATE=de_DE.UTF-8
 [5] LC_MONETARY=C  LC_MESSAGES=de_DE.UTF-8
 [7] LC_PAPER=de_DE.UTF-8   LC_NAME=C
 [9] LC_ADDRESS=C   LC_TELEPHONE=C
[11] LC_MEASUREMENT=de_DE.UTF-8 LC_IDENTIFICATION=C

attached base packages:
[1] stats graphics  grDevices utils datasets  methods   base

loaded via a namespace (and not attached):
[1] tools_2.12.0

Thanks for any hints! Trying the same with another package downloaded 
from Cran worked.


Jannis

__
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] installing package from source with Linux

2010-12-17 Thread Phil Spector

Jannis -
   I just downloaded asl-rssa-6f458e4.tar.gz and it installed
on my Linux system under R-2.10.1 with no problems, but gave
me similar errors under R-2.12.0.   You can get around the 
problem like this:


tar xvfz asl-rssa-6f458e4.tar.gz
R CMD INSTALL asl-rssa-6f458e4

Hope this helps.
   - Phil


On Fri, 17 Dec 2010, Jannis wrote:


Dear list,


this may not be related to R but rather to my OS, but I do not 
understand the issue of compiling R packages deeply enough to figure out 
the exact cause of the problem.


I am trying to install a R package from source as it is not yet 
available under Cran (Rssa, downloaded here: https://github.com/asl/rssa).


Running

sudo R CMD INSTALL asl-rssa-6f458e4.tar.gz

from the console however gives me these error messages:

Warnung in untar2(tarfile, files, list, exdir) :
  checksum error for entry 'pax_global_header'
Fehler in untar2(tarfile, files, list, exdir) : unsupported entry type ‘g’

Does anybody have any hints on how to solve this? Do I have the wrong 
packing program installed?


I am trying this with Ubuntu 9.10 and the following R system:

 sessionInfo()
R version 2.12.0 (2010-10-15)
Platform: i486-pc-linux-gnu (32-bit)

locale:
 [1] LC_CTYPE=de_DE.UTF-8   LC_NUMERIC=C
 [3] LC_TIME=de_DE.UTF-8LC_COLLATE=de_DE.UTF-8
 [5] LC_MONETARY=C  LC_MESSAGES=de_DE.UTF-8
 [7] LC_PAPER=de_DE.UTF-8   LC_NAME=C
 [9] LC_ADDRESS=C   LC_TELEPHONE=C
[11] LC_MEASUREMENT=de_DE.UTF-8 LC_IDENTIFICATION=C

attached base packages:
[1] stats graphics  grDevices utils datasets  methods   base

loaded via a namespace (and not attached):
[1] tools_2.12.0

Thanks for any hints! Trying the same with another package downloaded 
from Cran worked.


Jannis

__
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] installing package from source with Linux

2010-12-17 Thread Jannis

Thanks for your help, Phil! It works now!

Jannis

Phil Spector schrieb:

Jannis -
   I just downloaded asl-rssa-6f458e4.tar.gz and it installed
on my Linux system under R-2.10.1 with no problems, but gave
me similar errors under R-2.12.0.   You can get around the problem 
like this:


tar xvfz asl-rssa-6f458e4.tar.gz
R CMD INSTALL asl-rssa-6f458e4

Hope this helps.
   - Phil


On Fri, 17 Dec 2010, Jannis wrote:


Dear list,


this may not be related to R but rather to my OS, but I do not 
understand the issue of compiling R packages deeply enough to figure 
out the exact cause of the problem.


I am trying to install a R package from source as it is not yet 
available under Cran (Rssa, downloaded here: 
https://github.com/asl/rssa).


Running

sudo R CMD INSTALL asl-rssa-6f458e4.tar.gz

from the console however gives me these error messages:

Warnung in untar2(tarfile, files, list, exdir) :
  checksum error for entry 'pax_global_header'
Fehler in untar2(tarfile, files, list, exdir) : unsupported entry 
type ‘g’


Does anybody have any hints on how to solve this? Do I have the wrong 
packing program installed?


I am trying this with Ubuntu 9.10 and the following R system:

 sessionInfo()
R version 2.12.0 (2010-10-15)
Platform: i486-pc-linux-gnu (32-bit)

locale:
 [1] LC_CTYPE=de_DE.UTF-8   LC_NUMERIC=C
 [3] LC_TIME=de_DE.UTF-8LC_COLLATE=de_DE.UTF-8
 [5] LC_MONETARY=C  LC_MESSAGES=de_DE.UTF-8
 [7] LC_PAPER=de_DE.UTF-8   LC_NAME=C
 [9] LC_ADDRESS=C   LC_TELEPHONE=C
[11] LC_MEASUREMENT=de_DE.UTF-8 LC_IDENTIFICATION=C

attached base packages:
[1] stats graphics  grDevices utils datasets  methods   base

loaded via a namespace (and not attached):
[1] tools_2.12.0

Thanks for any hints! Trying the same with another package downloaded 
from Cran worked.


Jannis

__
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] Installing package for i386

2009-08-03 Thread Marc Schwartz

On Aug 3, 2009, at 3:01 PM, Sarah Hawley wrote:

I am trying to install a package from a collaborator that was given  
to me as

a zip file.
I'm running R 2.9.0 using Mac OSX 10.5.7
[R.app GUI 1.28 (5395) i386-apple-darwin8.11.1]

foo.zip contains all the usual package directories (man, R, R-ex, etc)
After unzipping foo, I used the following commands.

$ R CMD INSTALL foo
* Installing to library ‘/Library/Frameworks/R.framework/Resources/ 
library’

* Installing *binary* package ‘foo’ ...
* DONE (foo)

I open the R GUI and type

library(foo)

Error: package 'flsa' is not installed for 'arch=i386'

I assume this error has something to do with my Linux architecture  
but I

have no idea what is really going on.
Any suggestions would be appreciated.

Thank you.
Sarah


Sarah,

It looks like your colleague gave you a Windows binary version of the  
package. You cannot just unzip it and install it as such. The ZIP file  
would be the result of running 'R CMD build foo' on the package source  
tree on Windows, which does more than just archive the files in the  
package tree.


This has nothing to do with Linux BTW, as Mac OSX is a BSD Unix  
derivative, not Linux, albeit they are cousins of a sort...  :-)


Can your colleague provide you with just the actual source files in a  
tar or zip file without running R CMD build foo? If so, you can at  
least transfer the source files to your Mac and possibly build the  
package there for installation. This process will also be less  
complicated if the package only contains R code and no C or FORTRAN  
code.


HTH,

Marc Schwartz

__
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] Installing package for i386

2009-08-03 Thread David Winsemius


On Aug 3, 2009, at 4:01 PM, Sarah Hawley wrote:

I am trying to install a package from a collaborator that was given  
to me as

a zip file.
I'm running R 2.9.0 using Mac OSX 10.5.7
[R.app GUI 1.28 (5395) i386-apple-darwin8.11.1]

foo.zip contains all the usual package directories (man, R, R-ex, etc)
After unzipping foo, I used the following commands.

$ R CMD INSTALL foo
* Installing to library ‘/Library/Frameworks/R.framework/Resources/ 
library’

* Installing *binary* package ‘foo’ ...
* DONE (foo)

I open the R GUI and type

library(foo)

Error: package 'flsa' is not installed for 'arch=i386'

I assume this error has something to do with my Linux architecture  
but I

have no idea what is really going on.
Any suggestions would be appreciated.


You are not using a Linux architecture. You are using a variant of BSD  
Unix. That zip file (whatever its true name) was most likely designed  
for a Windows installation. Why don't you be more forthright about the  
name and lineage of the package and if reading the R Mac OS FAQ does  
not point you to more reliable advice regarding installation, then  
repost on the proper mailing list:


https://stat.ethz.ch/mailman/listinfo/r-sig-mac



David Winsemius, MD
Heritage Laboratories
West Hartford, CT

__
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] Installing package for i386

2009-08-03 Thread Sarah Hawley
Hi Mark, 
Thanks for the suggestion and for setting me straight about my operating
system. I will contact my collaborator.
Best, 
Sarah


On 8/3/09 1:59 PM, Marc Schwartz marc_schwa...@me.com wrote:

 On Aug 3, 2009, at 3:01 PM, Sarah Hawley wrote:
 
 I am trying to install a package from a collaborator that was given
 to me as
 a zip file.
 I'm running R 2.9.0 using Mac OSX 10.5.7
 [R.app GUI 1.28 (5395) i386-apple-darwin8.11.1]
 
 foo.zip contains all the usual package directories (man, R, R-ex, etc)
 After unzipping foo, I used the following commands.
 
 $ R CMD INSTALL foo
 * Installing to library Œ/Library/Frameworks/R.framework/Resources/
 library¹
 * Installing *binary* package Œfoo¹ ...
 * DONE (foo)
 
 I open the R GUI and type
 library(foo)
 Error: package 'flsa' is not installed for 'arch=i386'
 
 I assume this error has something to do with my Linux architecture
 but I
 have no idea what is really going on.
 Any suggestions would be appreciated.
 
 Thank you.
 Sarah
 
 Sarah,
 
 It looks like your colleague gave you a Windows binary version of the
 package. You cannot just unzip it and install it as such. The ZIP file
 would be the result of running 'R CMD build foo' on the package source
 tree on Windows, which does more than just archive the files in the
 package tree.
 
 This has nothing to do with Linux BTW, as Mac OSX is a BSD Unix
 derivative, not Linux, albeit they are cousins of a sort...  :-)
 
 Can your colleague provide you with just the actual source files in a
 tar or zip file without running R CMD build foo? If so, you can at
 least transfer the source files to your Mac and possibly build the
 package there for installation. This process will also be less
 complicated if the package only contains R code and no C or FORTRAN
 code.
 
 HTH,
 
 Marc Schwartz
 

-- 
Sarah Hawley
Data Analyst
Canary Foundation
sa...@canaryfoundation.org
415.412.2533

www.canaryfoundation.org
Stopping cancer early...
the best possible investment!

__
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] Installing package RODBC error - please help

2009-02-09 Thread Vaz Joao (QPT TO EPA)
Hi,

Anyone please help installing RODBC?


Cumprimentos,

Joao Vaz
Product Engineer
QPT Product Engineering 
Qimonda Portugal S.A.   

-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On 
Behalf Of Vaz Joao (QPT TO EPA)
Sent: Thursday, February 05, 2009 1:30 PM
To: r-help@r-project.org
Subject: [R] Installing package RODBC error - please help

Hi,

I have R version 2.8.1 running on Windows 2000 and can't seem to be able to 
install package RODBC. I've tried reinstalling R but that wasn't successful. 
Can some one please help?

This is the command I'm using and the subsequent error message:

 install.packages(RODBC, .Library, repos=http://cran.r-project.org;, 
 method=internal, destdir=getwd())

Warning: unable to access index for repository 
http://cran.r-project.org/bin/windows/contrib/2.8
Warning message:
package 'RODBC' is not available


Thanks,
Joao Vaz

__
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] Installing package RODBC error - please help

2009-02-09 Thread ONKELINX, Thierry
Try using a mirror instead of cran.r-project.org.

HTH,

Thierry





ir. Thierry Onkelinx
Instituut voor natuur- en bosonderzoek / Research Institute for Nature
and Forest
Cel biometrie, methodologie en kwaliteitszorg / Section biometrics,
methodology and quality assurance
Gaverstraat 4
9500 Geraardsbergen
Belgium 
tel. + 32 54/436 185
thierry.onkel...@inbo.be 
www.inbo.be 

To call in the statistician after the experiment is done may be no more
than asking him to perform a post-mortem examination: he may be able to
say what the experiment died of.
~ Sir Ronald Aylmer Fisher

The plural of anecdote is not data.
~ Roger Brinner

The combination of some data and an aching desire for an answer does not
ensure that a reasonable answer can be extracted from a given body of
data.
~ John Tukey

-Oorspronkelijk bericht-
Van: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org]
Namens Vaz Joao (QPT TO EPA)
Verzonden: maandag 9 februari 2009 10:49
Aan: r-help@r-project.org
Onderwerp: Re: [R] Installing package RODBC error - please help

Hi,

Anyone please help installing RODBC?


Cumprimentos,

Joao Vaz
Product Engineer
QPT Product Engineering 
Qimonda Portugal S.A.   

-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org]
On Behalf Of Vaz Joao (QPT TO EPA)
Sent: Thursday, February 05, 2009 1:30 PM
To: r-help@r-project.org
Subject: [R] Installing package RODBC error - please help

Hi,

I have R version 2.8.1 running on Windows 2000 and can't seem to be able
to install package RODBC. I've tried reinstalling R but that wasn't
successful. Can some one please help?

This is the command I'm using and the subsequent error message:

 install.packages(RODBC, .Library, repos=http://cran.r-project.org;,
method=internal, destdir=getwd())

Warning: unable to access index for repository
http://cran.r-project.org/bin/windows/contrib/2.8
Warning message:
package 'RODBC' is not available


Thanks,
Joao Vaz

__
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.

Dit bericht en eventuele bijlagen geven enkel de visie van de schrijver weer 
en binden het INBO onder geen enkel beding, zolang dit bericht niet bevestigd is
door een geldig ondertekend document. The views expressed in  this message 
and any annex are purely those of the writer and may not be regarded as stating 
an official position of INBO, as long as the message is not confirmed by a duly 
signed document.

__
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] Installing package from source in windows

2008-03-06 Thread Duncan Murdoch
On 06/03/2008 6:46 PM, Shewcraft, Ryan wrote:
 Hi all,
 
 I am trying to install a custom package from its source using windows.
 Using this guide
 http://www.maths.bris.ac.uk/~maman/computerstuff/Rhelp/Rpackages.html
 I've gotten to the fifth step, but I get the following error in the
 command window: 'sh' is not recognized as an internal or external
 command, operable program or batch file.  I saw in the help archives
 that R-tools needed to be installed and in the system path, so I did
 this but it still doesn't work.  Does anyone have an idea of what still
 could be going wrong?

Why use two year old documentation, when you've got current, accurate 
documentation with R (in the Installation and Administration manual)?

 Another website recommended If you know an R programmer who uses
 Windows you could ask him or her to compile the package and give you the
 resulting binary file which should be easier to install.  Would anyone
 mind doing this for me if I send you the tar.gz file?


See http://win-builder.r-project.org.

Duncan Murdoch

 Thanks,
 
 Ryan Shewcraft
 The Blackstone Group, L.P.
 345 Park Avenue, 28th Floor
 New York, NY 10154
 P: 212-583-5147
 F: 646-253-7633 
  
 
 
 Please open the following attachment for important information regarding this 
 e-mail communication.
 
 
 
 
 __
 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] installing package

2008-02-27 Thread Doran, Harold
Yes. If you're building this package in windows this is done at a dos prompt in 
your r source directory


-Original Message-
From: [EMAIL PROTECTED] on behalf of [EMAIL PROTECTED]
Sent: Wed 2/27/2008 1:02 PM
To: r-help@r-project.org
Subject: [R] installing package
 
Dear all,

I have prepared a package to install in R. I followed all steps explained
in  writing R extensions.  Also I read the section add-on package in
R installation and administration. These documents refer to R CMD
INSTALL command but I don't know how to use this command.
My specific question is where should I type this command? In help page, we
have

Use R CMD INSTALL --help for more usage information
when I type this, I have

 R CMD INSTALL --help
Error: unexpected symbol in R CMD

Is there something I do wrong?
Thanks in advance
Zahra Mntazeri

__
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.


[[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.