Re: [R] Installing Packages

2020-03-12 Thread Jeff Reichman
Thank you all - that was helpful. I guess I assumes everything that got pushed 
up to the server was already compiled.

-Original Message-
From: Duncan Murdoch  
Sent: Wednesday, March 11, 2020 10:10 AM
To: reichm...@sbcglobal.net; r-help@r-project.org
Subject: Re: [R] Installing Packages

On 11/03/2020 7:46 a.m., Jeff Reichman wrote:
> R-Help
> 
>   
> 
> Recently I've started receiving the following message when updating 
> packages
> - "Do you want to install from sources the packages which need compilation."
> I generally click "Yes," but what is this asking me. That is it 
> appears to be re-compiling certain packages? Why?
> 

As the others answered:  that's because compiled versions aren't available on 
the server yet.

What they didn't say is why you might want to say "no".  You would say that if 
you expect the compile on your own system to fail, perhaps because you don't 
have compilers or special libraries installed.  R can install packages whose 
source is all in R, but needs external tools to install packages that 
incorporate other languages like C, C++ and Fortran.  Even if you have those 
compilers, some packages will need to link to libraries outside of R.

If you say "no", then R will look for an older compiled version of the package 
and install that.  This might cause trouble if some other package depends on 
the latest version of its dependencies:  you won't be able to install the 
latest version of that package either.

I'd recommend trying with "yes", then trying again with "no" if there were any 
install failures.

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 Packages

2020-03-11 Thread Duncan Murdoch

On 11/03/2020 7:46 a.m., Jeff Reichman wrote:

R-Help

  


Recently I've started receiving the following message when updating packages
- "Do you want to install from sources the packages which need compilation."
I generally click "Yes," but what is this asking me. That is it appears to
be re-compiling certain packages? Why?



As the others answered:  that's because compiled versions aren't 
available on the server yet.


What they didn't say is why you might want to say "no".  You would say 
that if you expect the compile on your own system to fail, perhaps 
because you don't have compilers or special libraries installed.  R can 
install packages whose source is all in R, but needs external tools to 
install packages that incorporate other languages like C, C++ and 
Fortran.  Even if you have those compilers, some packages will need to 
link to libraries outside of R.


If you say "no", then R will look for an older compiled version of the 
package and install that.  This might cause trouble if some other 
package depends on the latest version of its dependencies:  you won't be 
able to install the latest version of that package either.


I'd recommend trying with "yes", then trying again with "no" if there 
were any install failures.


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 Packages

2020-03-11 Thread Jeff Newmiller
Because pre-compiled (binary) versions of packages are getting built slower 
than the introduction of new versions of the packages are getting approved.

On March 11, 2020 7:46:22 AM PDT, Jeff Reichman  wrote:
>R-Help
>
> 
>
>Recently I've started receiving the following message when updating
>packages
>- "Do you want to install from sources the packages which need
>compilation."
>I generally click "Yes," but what is this asking me. That is it appears
>to
>be re-compiling certain packages? Why?
>
> 
>
>RStudio version: 1.2.5033
>
>R version: 3.6.3
>
> 
>
> 
>
>Sincerely
>
> 
>
>Jeff Reichman
>
> 
>
>
>   [[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.

-- 
Sent from my phone. Please excuse my brevity.

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

2020-03-11 Thread Wang Jiefei
Hi,

This means that the package you were trying to install does not have a
compiled version stored on the server. Sometimes you would not see the
question because the server has compiled the package for you, but sometimes
it doesn't.

Cheers,
Jiefei



On Wed, Mar 11, 2020 at 10:46 AM Jeff Reichman 
wrote:

> R-Help
>
>
>
> Recently I've started receiving the following message when updating
> packages
> - "Do you want to install from sources the packages which need
> compilation."
> I generally click "Yes," but what is this asking me. That is it appears to
> be re-compiling certain packages? Why?
>
>
>
> RStudio version: 1.2.5033
>
> R version: 3.6.3
>
>
>
>
>
> Sincerely
>
>
>
> Jeff Reichman
>
>
>
>
> [[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.
>

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


[R] Installing Packages

2020-03-11 Thread Jeff Reichman
R-Help

 

Recently I've started receiving the following message when updating packages
- "Do you want to install from sources the packages which need compilation."
I generally click "Yes," but what is this asking me. That is it appears to
be re-compiling certain packages? Why?

 

RStudio version: 1.2.5033

R version: 3.6.3

 

 

Sincerely

 

Jeff Reichman

 


[[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 packages in bulk

2018-10-01 Thread Rich Shepard

On Mon, 1 Oct 2018, Bert Gunter wrote:


Your syntax is wrong.
See the example at the end of ?install.packages.


Bert,

  Thank you.

Rich

__
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 packages in bulk

2018-10-01 Thread Bert Gunter
Your syntax is wrong.

pkgs

character ***vector*** of the names of packages

See the example at the end of ?install.packages.

"a","b", "c"  is **not** a vector
c("a", "b", "c")  **is** a vector.

-- Bert

Bert Gunter

"The trouble with having an open mind is that people keep coming along and
sticking things into it."
-- Opus (aka Berkeley Breathed in his "Bloom County" comic strip )


On Mon, Oct 1, 2018 at 3:04 PM Rich Shepard 
wrote:

>For a new installation of R-3.5.1 I want to install all packages on
> another host. I prepared a file, R-libraries.R, which contains
> install.packages('BH, ...') for the entire list.
>
>When I source() this file on the new host and select a CRAN mirror I see
> the message, "Warning message:
> package 'BH,covr, 
> [...truncated]
>
>Do I need a space after each comma or is there something else wrong with
> my syntax?
>
> Rich
>
> __
> 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.
>

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


[R] Installing packages in bulk

2018-10-01 Thread Rich Shepard

  For a new installation of R-3.5.1 I want to install all packages on
another host. I prepared a file, R-libraries.R, which contains
install.packages('BH, ...') for the entire list.

  When I source() this file on the new host and select a CRAN mirror I see
the message, "Warning message:
package 'BH,covr, 
[...truncated]

  Do I need a space after each comma or is there something else wrong with
my syntax?

Rich

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

2016-03-30 Thread James Henson
To All,
Thanks for your help.

I uninstalled R, the 3.2 library and R Studio.  Reinstalled R and R Studio.
Now the temp files move the newly installed packages into the
R-.23.2.4revised library.

> .libPaths()
[1] "C:/Users/james_henson/Desktop/Documents/R/win-library/3.2"
[2] "C:/Program Files/R/R-3.2.4revised/library"





On Mon, Mar 21, 2016 at 9:57 PM, Jeff Newmiller 
wrote:

> I hope not. That directory is not for working in. suggestion to restart R
> sounds most likely to fix the issue.
> --
> Sent from my phone. Please excuse my brevity.
>
> On March 21, 2016 2:10:01 PM PDT, KMNanus  wrote:
>>
>> Have you set your working directory to the “3.2” folder?
>> Ken
>> kmna...@gmail.com
>> 914-450-0816 (tel)
>> 347-730-4813 (fax)
>>
>>
>>
>>  On Mar 21, 2016, at 5:07 PM, James Henson  wrote:
>>>
>>>  Dear R community,
>>>
>>>  When I install or update a package, R prints the waring below.  I go to the
>>>  ‘downloaded_packages’ folder in the Temp file and manually move the new or
>>>  updated package to the folder ‘3.2’.   How can I instruct R to download new
>>>  and updates packages into the ‘3.2’ folder?
>>>
>>>  Warning in install.packages :
>>>
>>>   unable to move temporary installation
>>>  
>>> ‘C:\Users\james_henson\Desktop\Documents\R\win-library\3.2\file1c5c6f1731c8\nlme’
>>>  to ‘C:\Users\james_henson\Desktop\Documents\R\win-library\3.2\nlme
>>>
>>>
>>>
>>>  The downloaded binary packages are in
>>>
>>>
>>>  C:\Users\james_henson\AppData\Local\Temp\RtmpIZmUa3\downloaded_packages
>>>
>>>
>>>
>>>  Thank for your help.
>>>
>>>  James F. Henson
>>>
>>>   [[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.
>>>
>>
>> --
>>
>> 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.
>>
>>

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

2016-03-21 Thread Jeff Newmiller
I hope not.  That directory is not for working in. suggestion to restart R 
sounds most likely to fix the issue. 
-- 
Sent from my phone. Please excuse my brevity.

On March 21, 2016 2:10:01 PM PDT, KMNanus  wrote:
>Have you set your working directory to the “3.2” folder?
>Ken
>kmna...@gmail.com
>914-450-0816 (tel)
>347-730-4813 (fax)
>
>
>
>> On Mar 21, 2016, at 5:07 PM, James Henson 
>wrote:
>> 
>> Dear R community,
>> 
>> When I install or update a package, R prints the waring below.  I go
>to the
>> ‘downloaded_packages’ folder in the Temp file and manually move the
>new or
>> updated package to the folder ‘3.2’.   How can I instruct R to
>download new
>> and updates packages into the ‘3.2’ folder?
>> 
>> Warning in install.packages :
>> 
>>  unable to move temporary installation
>>
>‘C:\Users\james_henson\Desktop\Documents\R\win-library\3.2\file1c5c6f1731c8\nlme’
>> to ‘C:\Users\james_henson\Desktop\Documents\R\win-library\3.2\nlme
>> 
>> 
>> 
>> The downloaded binary packages are in
>> 
>> 
>>
>C:\Users\james_henson\AppData\Local\Temp\RtmpIZmUa3\downloaded_packages
>> 
>> 
>> 
>> Thank for your help.
>> 
>> James F. Henson
>> 
>>  [[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.
>
>__
>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.

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

2016-03-21 Thread KMNanus
Have you set your working directory to the “3.2” folder?
Ken
kmna...@gmail.com
914-450-0816 (tel)
347-730-4813 (fax)



> On Mar 21, 2016, at 5:07 PM, James Henson  wrote:
> 
> Dear R community,
> 
> When I install or update a package, R prints the waring below.  I go to the
> ‘downloaded_packages’ folder in the Temp file and manually move the new or
> updated package to the folder ‘3.2’.   How can I instruct R to download new
> and updates packages into the ‘3.2’ folder?
> 
> Warning in install.packages :
> 
>  unable to move temporary installation
> ‘C:\Users\james_henson\Desktop\Documents\R\win-library\3.2\file1c5c6f1731c8\nlme’
> to ‘C:\Users\james_henson\Desktop\Documents\R\win-library\3.2\nlme
> 
> 
> 
> The downloaded binary packages are in
> 
> 
> C:\Users\james_henson\AppData\Local\Temp\RtmpIZmUa3\downloaded_packages
> 
> 
> 
> Thank for your help.
> 
> James F. Henson
> 
>   [[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.

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

2016-03-21 Thread John Kane
Can you load the downloaded library? 
If so I'd not worry about it.

John Kane
Kingston ON Canada


> -Original Message-
> From: jfhens...@gmail.com
> Sent: Mon, 21 Mar 2016 16:07:41 -0500
> To: r-help@r-project.org
> Subject: [R] installing packages
> 
> Dear R community,
> 
> When I install or update a package, R prints the waring below.  I go to
> the
> ‘downloaded_packages’ folder in the Temp file and manually move the new
> or
> updated package to the folder ‘3.2’.   How can I instruct R to download
> new
> and updates packages into the ‘3.2’ folder?
> 
> Warning in install.packages :
> 
>   unable to move temporary installation
> ‘C:\Users\james_henson\Desktop\Documents\R\win-library\3.2\file1c5c6f1731c8\nlme’
> to ‘C:\Users\james_henson\Desktop\Documents\R\win-library\3.2\nlme
> 
> 
> 
> The downloaded binary packages are in
> 
> 
> C:\Users\james_henson\AppData\Local\Temp\RtmpIZmUa3\downloaded_packages
> 
> 
> 
> Thank for your help.
> 
> James F. Henson
> 
>   [[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.


Can't remember your password? Do you need a strong and secure password?
Use Password manager! It stores your passwords & protects your account.

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

2016-03-21 Thread Uwe Ligges



On 21.03.2016 22:07, James Henson wrote:

Dear R community,

When I install or update a package, R prints the waring below.  I go to the
‘downloaded_packages’ folder in the Temp file and manually move the new or
updated package to the folder ‘3.2’.   How can I instruct R to download new
and updates packages into the ‘3.2’ folder?

Warning in install.packages :

   unable to move temporary installation
‘C:\Users\james_henson\Desktop\Documents\R\win-library\3.2\file1c5c6f1731c8\nlme’
to ‘C:\Users\james_henson\Desktop\Documents\R\win-library\3.2\nlme



I guess you had nlme loaded? Start a fresh R without loading nlme, then 
R should be able to move the temp installation.


Best,
Uwe Ligges




The downloaded binary packages are in


C:\Users\james_henson\AppData\Local\Temp\RtmpIZmUa3\downloaded_packages



Thank for your help.

James F. Henson

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



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

[R] installing packages

2016-03-21 Thread James Henson
Dear R community,

When I install or update a package, R prints the waring below.  I go to the
‘downloaded_packages’ folder in the Temp file and manually move the new or
updated package to the folder ‘3.2’.   How can I instruct R to download new
and updates packages into the ‘3.2’ folder?

Warning in install.packages :

  unable to move temporary installation
‘C:\Users\james_henson\Desktop\Documents\R\win-library\3.2\file1c5c6f1731c8\nlme’
to ‘C:\Users\james_henson\Desktop\Documents\R\win-library\3.2\nlme



The downloaded binary packages are in


C:\Users\james_henson\AppData\Local\Temp\RtmpIZmUa3\downloaded_packages



Thank for your help.

James F. Henson

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

2015-01-26 Thread Michael Dewey



On 26/01/2015 16:51, Kenya Carpenter wrote:

Dear R- Help

When installing ggplot2 it seems to install correctly but then I can't load
it.  My R session is copied below.  Can you help?

See below




install.packages(ggplot2)

Installing package into ‘C:/Users/Kenya/Documents/R/win-library/3.1’
(as ‘lib’ is unspecified)
--- Please select a CRAN mirror for use in this session ---
trying URL '
http://lib.stat.cmu.edu/R/CRAN/bin/windows/contrib/3.1/ggplot2_1.0.0.zip'
Content type 'application/zip' length 2675989 bytes (2.6 Mb)
opened URL
downloaded 2.6 Mb

package ‘ggplot2’ successfully unpacked and MD5 sums checked

The downloaded binary packages are in
 C:\Users\Kenya\AppData\Local\Temp\RtmpCAsnP1\downloaded_packages

library(ggplot2)

Error in loadNamespace(j - i[[1L]], c(lib.loc, .libPaths()), versionCheck
= vI[[j]]) :
   there is no package called ‘Rcpp’
Error: package or namespace load failed for ‘ggplot2’

library(ggplot2)

Error in loadNamespace(j - i[[1L]], c(lib.loc, .libPaths()), versionCheck
= vI[[j]]) :
   there is no package called ‘Rcpp’


The first thing to check is whether you in fact have Rcpp installed.


Error: package or namespace load failed for ‘ggplot2’


Thanks in advance,
Kenya Carpenter

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

-
No virus found in this message.
Checked by AVG - www.avg.com
Version: 2015.0.5645 / Virus Database: 4273/9002 - Release Date: 01/26/15



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

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

[R] installing Packages

2015-01-26 Thread Kenya Carpenter
Dear R- Help

When installing ggplot2 it seems to install correctly but then I can't load
it.  My R session is copied below.  Can you help?


 install.packages(ggplot2)
Installing package into ‘C:/Users/Kenya/Documents/R/win-library/3.1’
(as ‘lib’ is unspecified)
--- Please select a CRAN mirror for use in this session ---
trying URL '
http://lib.stat.cmu.edu/R/CRAN/bin/windows/contrib/3.1/ggplot2_1.0.0.zip'
Content type 'application/zip' length 2675989 bytes (2.6 Mb)
opened URL
downloaded 2.6 Mb

package ‘ggplot2’ successfully unpacked and MD5 sums checked

The downloaded binary packages are in
C:\Users\Kenya\AppData\Local\Temp\RtmpCAsnP1\downloaded_packages
 library(ggplot2)
Error in loadNamespace(j - i[[1L]], c(lib.loc, .libPaths()), versionCheck
= vI[[j]]) :
  there is no package called ‘Rcpp’
Error: package or namespace load failed for ‘ggplot2’
 library(ggplot2)
Error in loadNamespace(j - i[[1L]], c(lib.loc, .libPaths()), versionCheck
= vI[[j]]) :
  there is no package called ‘Rcpp’
Error: package or namespace load failed for ‘ggplot2’


Thanks in advance,
Kenya Carpenter

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

2015-01-26 Thread MacQueen, Don
First look at the help page for install.packages:

  ?install.packages

and read about the dependencies argument.

Then try
  install.packages(ggplot2, dependencies=TRUE)


-- 
Don MacQueen

Lawrence Livermore National Laboratory
7000 East Ave., L-627
Livermore, CA 94550
925-423-1062





On 1/26/15, 8:51 AM, Kenya Carpenter kcarp...@umass.edu wrote:

Dear R- Help

When installing ggplot2 it seems to install correctly but then I can't
load
it.  My R session is copied below.  Can you help?


 install.packages(ggplot2)
Installing package into ŒC:/Users/Kenya/Documents/R/win-library/3.1¹
(as Œlib¹ is unspecified)
--- Please select a CRAN mirror for use in this session ---
trying URL '
http://lib.stat.cmu.edu/R/CRAN/bin/windows/contrib/3.1/ggplot2_1.0.0.zip'
Content type 'application/zip' length 2675989 bytes (2.6 Mb)
opened URL
downloaded 2.6 Mb

package Œggplot2¹ successfully unpacked and MD5 sums checked

The downloaded binary packages are in
C:\Users\Kenya\AppData\Local\Temp\RtmpCAsnP1\downloaded_packages
 library(ggplot2)
Error in loadNamespace(j - i[[1L]], c(lib.loc, .libPaths()), versionCheck
= vI[[j]]) :
  there is no package called ŒRcpp¹
Error: package or namespace load failed for Œggplot2¹
 library(ggplot2)
Error in loadNamespace(j - i[[1L]], c(lib.loc, .libPaths()), versionCheck
= vI[[j]]) :
  there is no package called ŒRcpp¹
Error: package or namespace load failed for Œggplot2¹


Thanks in advance,
Kenya Carpenter

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

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


[R] Installing Packages from a Local Repository

2012-12-23 Thread radhi
Hi everyone, I've followed the instructions from R-Admin Section 6.6 for
creating a local repository. I've modified my Rprofile.site file to add the
local repository to my repos, but I haven't been able to successfully
install my package from the repo. Here's the code that I've run.
## sessionInfo() getOption(repos)
setwd(Q:/Integrated Planning/R) list.files(path = ., recursive = TRUE)
tools::write_PACKAGES(bin/windows/contrib/2.15, type = win.binary)
list.files(path = ., recursive = TRUE) install.packages(RTIO)
install.packages(RTIO, repos = Q:/Integrated Planning/R)
install.packages(RTIO, repos = Q:/Integrated Planning/R, type =
win.binary)
unlink(c(bin/windows/contrib/2.15/PACKAGES,bin/windows/contrib/2.15/PACKAGES.gz))
  click here http://totalltelugumovies.blogspot.in  



--
View this message in context: 
http://r.789695.n4.nabble.com/Installing-Packages-from-a-Local-Repository-tp4653820.html
Sent from the R help mailing list archive at Nabble.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 Packages from a Local Repository

2012-12-15 Thread Uwe Ligges

You have to specify the repository as

file:Q:/Integrated Planning/R

(and I am not entirely sure if blanks are supported).

Best,
Uwe Ligges



On 13.12.2012 11:52, Tommy O'Dell wrote:

Hi everyone,

I've followed the instructions from R-Admin Section 6.6 for creating a
local repository. I've modified my Rprofile.site file to add the local
repository to my repos, but I haven't been able to successfully install my
package from the repo.

Here's the code that I've run.

##
sessionInfo()
getOption(repos)
setwd(Q:/Integrated Planning/R)
list.files(path = ., recursive = TRUE)
tools::write_PACKAGES(bin/windows/contrib/2.15, type = win.binary)
list.files(path = ., recursive = TRUE)

install.packages(RTIO)
install.packages(RTIO, repos = Q:/Integrated Planning/R)
install.packages(RTIO, repos = Q:/Integrated Planning/R, type =
win.binary)

unlink(c(bin/windows/contrib/2.15/PACKAGES,bin/windows/contrib/2.15/PACKAGES.gz))



And here it is with output included:
###

sessionInfo()

R version 2.15.1 (2012-06-22)
Platform: i386-pc-mingw32/i386 (32-bit)

locale:
[1] LC_COLLATE=English_Australia.1252  LC_CTYPE=English_Australia.1252
  LC_MONETARY=English_Australia.1252 LC_NUMERIC=C
LC_TIME=English_Australia.1252

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

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

getOption(repos)

 CRANCRANextra
MyLocal
 http://cran.ms.unimelb.edu.au/; http://www.stats. ox.ac.uk/pub/RWin
file://Q:/Integrated Planning/R

setwd(Q:/Integrated Planning/R)
list.files(path = ., recursive = TRUE)

[1] bin/windows/contrib/2.15/RTIO_0.1-2.zip

tools::write_PACKAGES(bin/windows/contrib/2.15, type = win.binary)
list.files(path = ., recursive = TRUE)

[1] bin/windows/contrib/2.15/PACKAGES
bin/windows/contrib/2.15/PACKAGES.gz
bin/windows/contrib/2.15/RTIO_0.1-2.zip


install.packages(RTIO)

Installing package(s) into ‘C:/Program Files/R/R-2.15.1/library’
(as ‘lib’ is unspecified)
Warning in install.packages :
   cannot open compressed file '//Q:/Integrated
Planning/R/bin/windows/contrib/2.15/PACKAGES', probable reason 'No such
file or directory'
Error in install.packages : cannot open the connection

install.packages(RTIO, repos = Q:/Integrated Planning/R)

Installing package(s) into ‘C:/Program Files/R/R-2.15.1/library’
(as ‘lib’ is unspecified)
Warning in install.packages :
   unable to access index for repository Q:/Integrated
Planning/R/bin/windows/contrib/2.15
Warning in install.packages :
   package ‘RTIO’ is not available (for R version 2.15.1)

install.packages(RTIO, repos = Q:/Integrated Planning/R, type =

win.binary)
Installing package(s) into ‘C:/Program Files/R/R-2.15.1/library’
(as ‘lib’ is unspecified)
Warning in install.packages :
   unable to access index for repository Q:/Integrated
Planning/R/bin/windows/contrib/2.15
Warning in install.packages :
   package ‘RTIO’ is not available (for R version 2.15.1)




unlink(c(bin/windows/contrib/2.15/PACKAGES,bin/windows/contrib/2.15/PACKAGES.gz))



###

I'd really like to be able to use install.packages(RTIO) without having
to specify the repo, as this will make it easy for our other less
experienced R users.

Any ideas why I get warning: cannot open compressed file and error:
cannot open the connection? As far as I can tell, I've followed the
R-Admin 6.6 instructions exactly.

If it matters, Q: is a mapped network drive.

[[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 Packages from a Local Repository

2012-12-15 Thread Prof Brian Ripley

On 15/12/2012 17:36, Uwe Ligges wrote:

You have to specify the repository as

file:Q:/Integrated Planning/R

(and I am not entirely sure if blanks are supported).


Actually, that's not right: see ?url.  All URI schemes start like 
file:// . For Windows the help says


 In this form the path is relative to the root of the filesystem,
 not a Windows concept.  The standard form on Windows is
 ‘file:///d:/R/repos’: for compatibility with earlier versions of R
 and Unix versions, any other form is parsed as R as ‘file://’ plus
 ‘path_to_file’.  Also, backslashes are accepted within the path
 even though RFC1738 does not allow them.

Spaces should work, since it is R which converts this to a filepath (in 
a real URI there are lots of restrictions and spaces need to be encoded 
if the restrictions are enforced).  But file:// URIs on Windows are a 
minefield.




Best,
Uwe Ligges



On 13.12.2012 11:52, Tommy O'Dell wrote:

Hi everyone,

I've followed the instructions from R-Admin Section 6.6 for creating a
local repository. I've modified my Rprofile.site file to add the local
repository to my repos, but I haven't been able to successfully
install my
package from the repo.

Here's the code that I've run.

##
sessionInfo()
getOption(repos)
setwd(Q:/Integrated Planning/R)
list.files(path = ., recursive = TRUE)
tools::write_PACKAGES(bin/windows/contrib/2.15, type = win.binary)
list.files(path = ., recursive = TRUE)

install.packages(RTIO)
install.packages(RTIO, repos = Q:/Integrated Planning/R)
install.packages(RTIO, repos = Q:/Integrated Planning/R, type =
win.binary)

unlink(c(bin/windows/contrib/2.15/PACKAGES,bin/windows/contrib/2.15/PACKAGES.gz))




And here it is with output included:
###

sessionInfo()

R version 2.15.1 (2012-06-22)
Platform: i386-pc-mingw32/i386 (32-bit)

locale:
[1] LC_COLLATE=English_Australia.1252  LC_CTYPE=English_Australia.1252
  LC_MONETARY=English_Australia.1252 LC_NUMERIC=C
LC_TIME=English_Australia.1252

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

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

getOption(repos)

 CRAN
CRANextra
MyLocal
 http://cran.ms.unimelb.edu.au/; http://www.stats.
ox.ac.uk/pub/RWin
file://Q:/Integrated Planning/R

setwd(Q:/Integrated Planning/R)
list.files(path = ., recursive = TRUE)

[1] bin/windows/contrib/2.15/RTIO_0.1-2.zip

tools::write_PACKAGES(bin/windows/contrib/2.15, type = win.binary)
list.files(path = ., recursive = TRUE)

[1] bin/windows/contrib/2.15/PACKAGES
bin/windows/contrib/2.15/PACKAGES.gz
bin/windows/contrib/2.15/RTIO_0.1-2.zip


install.packages(RTIO)

Installing package(s) into ‘C:/Program Files/R/R-2.15.1/library’
(as ‘lib’ is unspecified)
Warning in install.packages :
   cannot open compressed file '//Q:/Integrated
Planning/R/bin/windows/contrib/2.15/PACKAGES', probable reason 'No such
file or directory'
Error in install.packages : cannot open the connection

install.packages(RTIO, repos = Q:/Integrated Planning/R)

Installing package(s) into ‘C:/Program Files/R/R-2.15.1/library’
(as ‘lib’ is unspecified)
Warning in install.packages :
   unable to access index for repository Q:/Integrated
Planning/R/bin/windows/contrib/2.15
Warning in install.packages :
   package ‘RTIO’ is not available (for R version 2.15.1)

install.packages(RTIO, repos = Q:/Integrated Planning/R, type =

win.binary)
Installing package(s) into ‘C:/Program Files/R/R-2.15.1/library’
(as ‘lib’ is unspecified)
Warning in install.packages :
   unable to access index for repository Q:/Integrated
Planning/R/bin/windows/contrib/2.15
Warning in install.packages :
   package ‘RTIO’ is not available (for R version 2.15.1)




unlink(c(bin/windows/contrib/2.15/PACKAGES,bin/windows/contrib/2.15/PACKAGES.gz))




###

I'd really like to be able to use install.packages(RTIO) without
having
to specify the repo, as this will make it easy for our other less
experienced R users.

Any ideas why I get warning: cannot open compressed file and error:
cannot open the connection? As far as I can tell, I've followed the
R-Admin 6.6 instructions exactly.

If it matters, Q: is a mapped network drive.

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



--
Brian D. Ripley,  rip...@stats.ox.ac.uk
Professor of 

[R] Installing Packages from a Local Repository

2012-12-13 Thread Tommy O'Dell
Hi everyone,

I've followed the instructions from R-Admin Section 6.6 for creating a
local repository. I've modified my Rprofile.site file to add the local
repository to my repos, but I haven't been able to successfully install my
package from the repo.

Here's the code that I've run.

##
sessionInfo()
getOption(repos)
setwd(Q:/Integrated Planning/R)
list.files(path = ., recursive = TRUE)
tools::write_PACKAGES(bin/windows/contrib/2.15, type = win.binary)
list.files(path = ., recursive = TRUE)

install.packages(RTIO)
install.packages(RTIO, repos = Q:/Integrated Planning/R)
install.packages(RTIO, repos = Q:/Integrated Planning/R, type =
win.binary)

unlink(c(bin/windows/contrib/2.15/PACKAGES,bin/windows/contrib/2.15/PACKAGES.gz))



And here it is with output included:
###
 sessionInfo()
R version 2.15.1 (2012-06-22)
Platform: i386-pc-mingw32/i386 (32-bit)

locale:
[1] LC_COLLATE=English_Australia.1252  LC_CTYPE=English_Australia.1252
 LC_MONETARY=English_Australia.1252 LC_NUMERIC=C
LC_TIME=English_Australia.1252

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

loaded via a namespace (and not attached):
[1] tools_2.15.1
 getOption(repos)
CRANCRANextra
   MyLocal
http://cran.ms.unimelb.edu.au/; http://www.stats. ox.ac.uk/pub/RWin
   file://Q:/Integrated Planning/R
 setwd(Q:/Integrated Planning/R)
 list.files(path = ., recursive = TRUE)
[1] bin/windows/contrib/2.15/RTIO_0.1-2.zip
 tools::write_PACKAGES(bin/windows/contrib/2.15, type = win.binary)
 list.files(path = ., recursive = TRUE)
[1] bin/windows/contrib/2.15/PACKAGES
bin/windows/contrib/2.15/PACKAGES.gz
bin/windows/contrib/2.15/RTIO_0.1-2.zip

 install.packages(RTIO)
Installing package(s) into ‘C:/Program Files/R/R-2.15.1/library’
(as ‘lib’ is unspecified)
Warning in install.packages :
  cannot open compressed file '//Q:/Integrated
Planning/R/bin/windows/contrib/2.15/PACKAGES', probable reason 'No such
file or directory'
Error in install.packages : cannot open the connection
 install.packages(RTIO, repos = Q:/Integrated Planning/R)
Installing package(s) into ‘C:/Program Files/R/R-2.15.1/library’
(as ‘lib’ is unspecified)
Warning in install.packages :
  unable to access index for repository Q:/Integrated
Planning/R/bin/windows/contrib/2.15
Warning in install.packages :
  package ‘RTIO’ is not available (for R version 2.15.1)
 install.packages(RTIO, repos = Q:/Integrated Planning/R, type =
win.binary)
Installing package(s) into ‘C:/Program Files/R/R-2.15.1/library’
(as ‘lib’ is unspecified)
Warning in install.packages :
  unable to access index for repository Q:/Integrated
Planning/R/bin/windows/contrib/2.15
Warning in install.packages :
  package ‘RTIO’ is not available (for R version 2.15.1)


unlink(c(bin/windows/contrib/2.15/PACKAGES,bin/windows/contrib/2.15/PACKAGES.gz))

###

I'd really like to be able to use install.packages(RTIO) without having
to specify the repo, as this will make it easy for our other less
experienced R users.

Any ideas why I get warning: cannot open compressed file and error:
cannot open the connection? As far as I can tell, I've followed the
R-Admin 6.6 instructions exactly.

If it matters, Q: is a mapped network drive.

[[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] Installing packages xslx on Ubuntu (32bit)

2012-07-25 Thread Johannes Radinger
Hi,

I just recently changed my OS to Ubuntu 12.04 (32bit). Now I tried to install 
some packages required by my old and working scripts. Unfortunately I fail when 
trying to install the package xslx. Maybe it is related to the 32bit version 
of my R (its not possible to install a 64 bit version).

Can anyone help me to sucessfully install xslx?

Here some console output (e.g. sessionInfo()):

 install.packages(xslx)
Installing package(s) into '/usr/local/lib/R/site-library'
(as 'lib' is unspecified)
--- Please select a CRAN mirror for use in this session ---
Loading Tcl/Tk interface ... done
Warning message:
In getDependencies(pkgs, dependencies, available, lib) :
  package 'xslx' is not available (for R version 2.14.1)
 sessionInfo()
R version 2.14.1 (2011-12-22)
Platform: i686-pc-linux-gnu (32-bit)

locale:
[1] C

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

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

Any suggestions?

/Johannes

__
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 packages xslx on Ubuntu (32bit)

2012-07-25 Thread Ivan Calandra

Hi Johannes,

As the error message says, install the latest version of R!
If you don't want to do it (I don't know why you wouldn't) I think you 
can also install the package from source if the old version of the 
package is still somewhere out there.


HTH,
Ivan

--
Ivan CALANDRA
Université de Bourgogne
UMR CNRS/uB 6282 Biogéosciences
6 Boulevard Gabriel
21000 Dijon, FRANCE
+33(0)3.80.39.63.06
ivan.calan...@u-bourgogne.fr
http://biogeosciences.u-bourgogne.fr/calandra

Le 25/07/12 10:47, Johannes Radinger a écrit :

Hi,

I just recently changed my OS to Ubuntu 12.04 (32bit). Now I tried to install some 
packages required by my old and working scripts. Unfortunately I fail when trying to 
install the package xslx. Maybe it is related to the 32bit version of my R 
(its not possible to install a 64 bit version).

Can anyone help me to sucessfully install xslx?

Here some console output (e.g. sessionInfo()):


install.packages(xslx)

Installing package(s) into '/usr/local/lib/R/site-library'
(as 'lib' is unspecified)
--- Please select a CRAN mirror for use in this session ---
Loading Tcl/Tk interface ... done
Warning message:
In getDependencies(pkgs, dependencies, available, lib) :
   package 'xslx' is not available (for R version 2.14.1)

sessionInfo()

R version 2.14.1 (2011-12-22)
Platform: i686-pc-linux-gnu (32-bit)

locale:
[1] C

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

loaded via a namespace (and not attached):
[1] tcltk_2.14.1 tools_2.14.1
Any suggestions?

/Johannes

__
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 packages xslx on Ubuntu (32bit)

2012-07-25 Thread Pascal Oettli

Hello,

I was able to install it for R version 2.15.1, after reconfiguring R to 
enable the support of Java (R CMD javareconf) and installing rJava.


Did you try after upgrading R?

Regards.
Pascal


Le 25/07/2012 17:47, Johannes Radinger a écrit :

Hi,

I just recently changed my OS to Ubuntu 12.04 (32bit). Now I tried to install some 
packages required by my old and working scripts. Unfortunately I fail when trying to 
install the package xslx. Maybe it is related to the 32bit version of my R 
(its not possible to install a 64 bit version).

Can anyone help me to sucessfully install xslx?

Here some console output (e.g. sessionInfo()):


install.packages(xslx)

Installing package(s) into '/usr/local/lib/R/site-library'
(as 'lib' is unspecified)
--- Please select a CRAN mirror for use in this session ---
Loading Tcl/Tk interface ... done
Warning message:
In getDependencies(pkgs, dependencies, available, lib) :
   package 'xslx' is not available (for R version 2.14.1)

sessionInfo()

R version 2.14.1 (2011-12-22)
Platform: i686-pc-linux-gnu (32-bit)

locale:
[1] C

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

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




Any suggestions?

/Johannes

__
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 packages xslx on Ubuntu (32bit) [On R 2.14.1]

2012-07-25 Thread Prof Brian Ripley

Hmm, there is no such package: did you mean xlsx?

However, your R is old and quite a few packages are not available for 
it.  Please do as the posting guide suggests and update to R 2.15.1 (or 
R-patched).



On 25/07/2012 09:47, Johannes Radinger wrote:

Hi,

I just recently changed my OS to Ubuntu 12.04 (32bit). Now I tried to install some 
packages required by my old and working scripts. Unfortunately I fail when trying to 
install the package xslx. Maybe it is related to the 32bit version of my R 
(its not possible to install a 64 bit version).

Can anyone help me to sucessfully install xslx?

Here some console output (e.g. sessionInfo()):


install.packages(xslx)

Installing package(s) into '/usr/local/lib/R/site-library'
(as 'lib' is unspecified)
--- Please select a CRAN mirror for use in this session ---
Loading Tcl/Tk interface ... done
Warning message:
In getDependencies(pkgs, dependencies, available, lib) :
   package 'xslx' is not available (for R version 2.14.1)

sessionInfo()

R version 2.14.1 (2011-12-22)
Platform: i686-pc-linux-gnu (32-bit)

locale:
[1] C

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

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




Any suggestions?

/Johannes

__
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 packages xslx on Ubuntu (32bit) [On R 2.14.1]

2012-07-25 Thread Johannes Radinger
Hi


 Hmm, there is no such package: did you mean xlsx?

of course xlsx :), 

I upgraded to 2.15.1 and installed openjdk-6-jdk and run R CMD javareconf.
Then I was successful in installing package xlsx.

Thank you!

/Johannes

 
 However, your R is old and quite a few packages are not available for 
 it.  Please do as the posting guide suggests and update to R 2.15.1 (or 
 R-patched).
 
 
 On 25/07/2012 09:47, Johannes Radinger wrote:
  Hi,
 
  I just recently changed my OS to Ubuntu 12.04 (32bit). Now I tried to
 install some packages required by my old and working scripts. Unfortunately I
 fail when trying to install the package xslx. Maybe it is related to the
 32bit version of my R (its not possible to install a 64 bit version).
 
  Can anyone help me to sucessfully install xslx?
 
  Here some console output (e.g. sessionInfo()):
 
  install.packages(xslx)
  Installing package(s) into '/usr/local/lib/R/site-library'
  (as 'lib' is unspecified)
  --- Please select a CRAN mirror for use in this session ---
  Loading Tcl/Tk interface ... done
  Warning message:
  In getDependencies(pkgs, dependencies, available, lib) :
 package 'xslx' is not available (for R version 2.14.1)
  sessionInfo()
  R version 2.14.1 (2011-12-22)
  Platform: i686-pc-linux-gnu (32-bit)
 
  locale:
  [1] C
 
  attached base packages:
  [1] stats graphics  grDevices utils datasets  methods   base
 
  loaded via a namespace (and not attached):
  [1] tcltk_2.14.1 tools_2.14.1
 
 
  Any suggestions?
 
  /Johannes
 
  __
  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 packages from RProfile.site file

2012-07-18 Thread Uwe Ligges



On 17.07.2012 21:34, abhisarihan wrote:

I am trying to install custom packages upon starting R. A lot of the code
that is written by us right now is available for editing to the users. To
try and protect the code, I am packaging the production level code and
having the users install it on their machine during start up.

However, when I try to install packages in RProfile.site file, the program
goes into a loop and R is constantly launched over and over.



Yes: install.packages() starts a separate R instances to install the 
package which reads the Rprofile.site file and starts a separate R 
instances to install the package which reads the Rprofile.site file and 
starts a separate R instances to install the package which reads the 
Rprofile.site file 


Best,
Uwe Ligges





 I noticed that

a lock file for the package is created along with the package in the library
folder within R.

Here is the code I have added to the site file:

if(length(grep(customPackage, installed.packages()[,1]))==0) {
install.packages(customPackage, repos=NULL, type=source)
}

When I try to run this code after starting R (without changing the site
file), it installs the package perfectly fine and moves on. However, when I
try to do it through the RProfile file, that's when it creates the problems.

Any help on this matter would be greatly appreciated!

--
View this message in context: 
http://r.789695.n4.nabble.com/Installing-packages-from-RProfile-site-file-tp4636794.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 packages from RProfile.site file

2012-07-18 Thread G See
abhisarihan,

Please don't crosspost!
http://stackoverflow.com/questions/11530800/installing-packages-from-rprofile-site-file

Thanks,
Garrett

On Tue, Jul 17, 2012 at 2:34 PM, abhisarihan abhisari...@gmail.com wrote:
 I am trying to install custom packages upon starting R. A lot of the code
 that is written by us right now is available for editing to the users. To
 try and protect the code, I am packaging the production level code and
 having the users install it on their machine during start up.

 However, when I try to install packages in RProfile.site file, the program
 goes into a loop and R is constantly launched over and over. I noticed that
 a lock file for the package is created along with the package in the library
 folder within R.

 Here is the code I have added to the site file:

 if(length(grep(customPackage, installed.packages()[,1]))==0) {
 install.packages(customPackage, repos=NULL, type=source)
 }

 When I try to run this code after starting R (without changing the site
 file), it installs the package perfectly fine and moves on. However, when I
 try to do it through the RProfile file, that's when it creates the problems.

 Any help on this matter would be greatly appreciated!

 --
 View this message in context: 
 http://r.789695.n4.nabble.com/Installing-packages-from-RProfile-site-file-tp4636794.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] Installing packages from RProfile.site file

2012-07-17 Thread abhisarihan
I am trying to install custom packages upon starting R. A lot of the code
that is written by us right now is available for editing to the users. To
try and protect the code, I am packaging the production level code and
having the users install it on their machine during start up.

However, when I try to install packages in RProfile.site file, the program
goes into a loop and R is constantly launched over and over. I noticed that
a lock file for the package is created along with the package in the library
folder within R. 

Here is the code I have added to the site file:

if(length(grep(customPackage, installed.packages()[,1]))==0) {
install.packages(customPackage, repos=NULL, type=source)
}

When I try to run this code after starting R (without changing the site
file), it installs the package perfectly fine and moves on. However, when I
try to do it through the RProfile file, that's when it creates the problems.

Any help on this matter would be greatly appreciated!

--
View this message in context: 
http://r.789695.n4.nabble.com/Installing-packages-from-RProfile-site-file-tp4636794.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] Installing packages in R for UBUNTU

2011-09-27 Thread gbrenes
Hi.

We downloaded R 2.13.1 for UBUNTU.  We try to install several packages:
car, maps, maptools, raster, and we found the following warning or error
message:


Error:

**buffer overflow detected ***=/user/lib/R/bin/exec/R terminated***

We also found the usual error message that the packages are programmed in
an earlier version.

Do any of you know what could we do in order to install these packages
successfully?  Do we need to download a previous version of R for UBUNTU?

Thanks


Gilbert

__
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 packages in R for UBUNTU

2011-09-27 Thread Henri-Paul Indiogine
Hi!

2011/9/27  gbre...@ssc.wisc.edu:
 We downloaded R 2.13.1 for UBUNTU.  We try to install several packages:
 car, maps, maptools, raster, and we found the following warning or error
 message:

I suggest to use apt-get (synaptic) as much as possible to install R
packages and then use install.packages() for those that are not in the
Ubuntu repositories.

Henri-Paul

-- 
Henri-Paul Indiogine

Curriculum  Instruction
Texas AM University
TutorFind Learning Centre

Email: hindiog...@gmail.com
Skype: hindiogine
Website: http://people.cehd.tamu.edu/~sindiogine

__
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] installing packages systemwide

2011-08-19 Thread Mary Kindall
I installed some downloaded packages in R. I always do
$sudo R CMD INSTALL anRpackage.tar.gz


By default it is storing these packages into my directory
/home/mary/R/x86_64-pc-linux-gnu-library/2.13/.

However I want them to be systemwide into /usr/local/lib/R/site-library/
folder.

I tried
$sudo R
R install.packages(anRpackage, dep=TRUE)

I did not succeed into getting them install in req folder.
Any idea?



-- 
-
Mary Kindall
Yorktown Heights, NY
USA

[[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 packages systemwide

2011-08-19 Thread Yihui Xie
Take a look at:

R CMD INSTALL --help

and you will realize that you need to specify the library path, e.g. R
CMD INSTALL anRpackage --library=/usr/local/...

or take a look at ?install.packages and use the second argument, e.g.
install.packages('anRpackage', lib = '/usr/local/...')


Regards,
Yihui
--
Yihui Xie xieyi...@gmail.com
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa State University
2215 Snedecor Hall, Ames, IA



On Fri, Aug 19, 2011 at 12:10 PM, Mary Kindall mary.kind...@gmail.com wrote:
 I installed some downloaded packages in R. I always do
 $sudo R CMD INSTALL anRpackage.tar.gz


 By default it is storing these packages into my directory
 /home/mary/R/x86_64-pc-linux-gnu-library/2.13/.

 However I want them to be systemwide into /usr/local/lib/R/site-library/
 folder.

 I tried
 $sudo R
 R install.packages(anRpackage, dep=TRUE)

 I did not succeed into getting them install in req folder.
 Any idea?



 --
 -
 Mary Kindall
 Yorktown Heights, NY
 USA

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


[R] Installing packages

2011-06-24 Thread thomas.chesney
Hi,

I am trying to install the network package at my work computer. I'm using R
version 2.12.0 (2010-10-15)

At home I can use the Package Installer, but at work this is blocked by our
firewall. What I usually do is download the Mac binary and copy it to
R.Framework/Resources/Library, but this isn't working with network. I get
the following, which I think means I have the wrong binary for my version of
R? Any help would be appreciated.

Error in dyn.load(file, DLLpath = DLLpath, ...) : 
  unable to load shared object
'/Library/Frameworks/R.framework/Versions/2.12/Resources/library/network/libs/i386/network.so':
 
dlopen(/Library/Frameworks/R.framework/Versions/2.12/Resources/library/network/libs/i386/network.so,
6): Library not loaded:
/Library/Frameworks/R.framework/Versions/2.13/Resources/lib/libR.dylib
  Referenced from:
/Library/Frameworks/R.framework/Versions/2.12/Resources/library/network/libs/i386/network.so
  Reason: image not found
In addition: Warning message:
package 'network' was built under R version 2.13.0 
Error: package/namespace load failed for 'network'

Thank you
Thomas Chesney
University of Nottingham

--
View this message in context: 
http://r.789695.n4.nabble.com/Installing-packages-tp3621986p3621986.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 packages

2011-06-24 Thread David Winsemius


On Jun 24, 2011, at 4:29 AM, thomas.chesney wrote:


Hi,

I am trying to install the network package at my work computer.


Which is a machine of what sort? (Most likely a Mac from subsequent  
error messages)



I'm using R
version 2.12.0 (2010-10-15)

At home I can use the Package Installer, but at work this is blocked  
by our

firewall. What I usually do is download the Mac binary and copy it to
R.Framework/Resources/Library, but this isn't working with network.  
I get
the following, which I think means I have the wrong binary for my  
version of

R? Any help would be appreciated.

Error in dyn.load(file, DLLpath = DLLpath, ...) :
 unable to load shared object
'/Library/Frameworks/R.framework/Versions/2.12/Resources/library/ 
network/libs/i386/network.so':


It appears to me that you have gotten a source version of the package.  
There is a binary version for the Mac, at least there is with R  
version 2.13.x. Sometimes when trying to install with older versions  
of R there are difficulties. My suggestions:


0) Delete '/Library/Frameworks/R.framework/Versions/2.12/Resources/ 
library/network/' folder

1) Update R
2) Install binary version
3) post subsequent question of this nature to the Mac-SIG list.




dlopen(/Library/Frameworks/R.framework/Versions/2.12/Resources/ 
library/network/libs/i386/network.so,

6): Library not loaded:
/Library/Frameworks/R.framework/Versions/2.13/Resources/lib/libR.dylib
 Referenced from:
/Library/Frameworks/R.framework/Versions/2.12/Resources/library/ 
network/libs/i386/network.so

 Reason: image not found
In addition: Warning message:
package 'network' was built under R version 2.13.0
Error: package/namespace load failed for 'network'

Thank you
Thomas Chesney
University of Nottingham

--
View this message in context: 
http://r.789695.n4.nabble.com/Installing-packages-tp3621986p3621986.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, MD
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.


[R] Installing Packages

2010-11-10 Thread Caskey, Susan
Hi.. I am using R as a user, another group built everything I am using.  But I 
need to install some packages and my only internet access is via a web-proxy.  
I have hunted though the docs and I'm not finding anything on setting a proxy 
in the package install command.  Any help would be really appreciated.

Thanks
Sue

Susan Caskey
International Biological Threat Reduction
Sandia National Laboratories
saca...@sandia.gov
(505) 284-5095

*Everybody is somebody else's weirdo.




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

2010-11-10 Thread Nikos Rachmanis
Hi Sue,

Try to download the packages through here
http://cran.r-project.org/web/packages/

http://cran.r-project.org/web/packages/then r/packages/install packages
from local zip files

if you are running a script do not forget to cal them

i hope that helps,

N

On Wed, Nov 10, 2010 at 12:26 PM, Caskey, Susan saca...@sandia.gov wrote:

 Hi.. I am using R as a user, another group built everything I am using.
  But I need to install some packages and my only internet access is via a
 web-proxy.  I have hunted though the docs and I'm not finding anything on
 setting a proxy in the package install command.  Any help would be really
 appreciated.

 Thanks
 Sue

 Susan Caskey
 International Biological Threat Reduction
 Sandia National Laboratories
 saca...@sandia.gov
 (505) 284-5095

 *Everybody is somebody else's weirdo.




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

2010-11-10 Thread Duncan Murdoch

On 10/11/2010 12:26 PM, Caskey, Susan wrote:

Hi.. I am using R as a user, another group built everything I am using.  But I 
need to install some packages and my only internet access is via a web-proxy.  
I have hunted though the docs and I'm not finding anything on setting a proxy 
in the package install command.  Any help would be really appreciated.


If you're on Windows:

Start R with the --internet2 option, or run setInternet2() from within 
your R session.  Then R will use whatever proxy you have configured into 
Internet Explorer.


Duncan Murdoch


Thanks
Sue

Susan Caskey
International Biological Threat Reduction
Sandia National Laboratories
saca...@sandia.gov
(505) 284-5095

*Everybody is somebody else's weirdo.




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


[R] Installing packages and passing parameters

2010-08-05 Thread Alaios
Hello
I am trying to install the RandomFields package by using

install.packages(RandomFields) but the process fails.

I think that if I pass to the g++ compiler the -lgfortran option might work.

Could you please help me do this?

I would like to thank you in advance for your help

Best Regards
Alex
 


  
[[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 packages and passing parameters

2010-08-05 Thread Uwe Ligges
PLEASE do read the posting guide 
http://www.R-project.org/posting-guide.html and provide commented, 
minimal, self-contained, reproducible code.


This suggests to tell us:
OS?
R version?
Output you got so far?

Best,
Uwe Ligges


On 05.08.2010 11:16, Alaios wrote:

Hello
I am trying to install the RandomFields package by using

install.packages(RandomFields) but the process fails.

I think that if I pass to the g++ compiler the -lgfortran option might work.

Could you please help me do this?

I would like to thank you in advance for your help

Best Regards
Alex




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


[R] installing packages over ssh without X forwarding

2010-07-09 Thread petr
Hi,
Is it possible to install packages without the testing if installed
package can be loaded?
I need to install bunch of packages on multiple computers over ssh. Some
packages witch interact with X11 display cannot be installed in this way.
for example after:
 install.packages('cairoDevice',dep=T)
I get
(...)
*** installing help indices
** building package indices ...
** testing if installed package can be loaded
Error : .onLoad failed in loadNamespace() for 'cairoDevice', details:
  call: fun(...)
  error: GDK display not found - please make sure X11 is running
ERROR: loading failed
* removing #8216;/usr/local/lib64/R/library/cairoDevice#8217;
* restoring previous #8216;/usr/local/lib64/R/library/cairoDevice#8217;

The downloaded packages are in
#8216;/tmp/Rtmpk1XxTl/downloaded_packages#8217;
Updating HTML index of packages in '.Library'
Warning message:
In install.packages(cairoDevice, dep = T) :
  installation of package 'cairoDevice' had non-zero exit status

When I connect with remote computer using ssh -X r...@nod1 to enable X11
forwarding then installation works without problems. This would however
require manually connect with each administred computer a do the
installation. cssh which I use now to install packages on multiple
computers does not enable X11 forwarding. I have also tested installation
using R CMD INSTALL with --no-test-load options but the packages are
loaded unsuccesfully anyway. So is it possible to turn of package testing?
Petr

__
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 packages over ssh without X forwarding

2010-07-09 Thread Duncan Murdoch

On 09/07/2010 7:37 AM, p...@orbit.umbr.cas.cz wrote:

Hi,
Is it possible to install packages without the testing if installed
package can be loaded?
I need to install bunch of packages on multiple computers over ssh. Some
packages witch interact with X11 display cannot be installed in this way.
for example after:
 install.packages('cairoDevice',dep=T)
I get
(...)
*** installing help indices
** building package indices ...
** testing if installed package can be loaded
Error : .onLoad failed in loadNamespace() for 'cairoDevice', details:
  call: fun(...)
  error: GDK display not found - please make sure X11 is running
ERROR: loading failed
* removing #8216;/usr/local/lib64/R/library/cairoDevice#8217;
* restoring previous #8216;/usr/local/lib64/R/library/cairoDevice#8217;

The downloaded packages are in
#8216;/tmp/Rtmpk1XxTl/downloaded_packages#8217;
Updating HTML index of packages in '.Library'
Warning message:
In install.packages(cairoDevice, dep = T) :
  installation of package 'cairoDevice' had non-zero exit status

When I connect with remote computer using ssh -X r...@nod1 to enable X11
forwarding then installation works without problems. This would however
require manually connect with each administred computer a do the
installation. cssh which I use now to install packages on multiple
computers does not enable X11 forwarding. I have also tested installation
using R CMD INSTALL with --no-test-load options but the packages are
loaded unsuccesfully anyway. So is it possible to turn of package testing?
Petr


Yes, use the --no-test-load option to R CMD INSTALL, which you can 
pass through the INSTALL_opts argument to install.packages().


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] installing packages from a directory on the computer

2010-06-22 Thread Subramanian S
i wish to know how to set a folder in computer as a mirror from which i can
install packages
i am aware of the menu approach- Packagesinstall from local zip files but
i wish to know the command line approach because i dont have internet access
on the computer  where i will be using R.

i have put the zip files of packages in
C:\R\packages\bin\windows\contrib\2.11

i have put the following lines in Rprofile.site

 local({r - getOption(repos)
   r[CRAN] - file://C:/R/packages/
   options(repos=r)})

but when i run install.packages(package_name_here), i get the following
message:

Warning in gzfile(file, r) :
  cannot open compressed file
'//C:/R/packages/bin/windows/contrib/2.11/PACKAGES', probable reason 'No
such file or directory'
Error in gzfile(file, r) : cannot open the connection


Please help

[[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 packages from a directory on the computer

2010-06-22 Thread Peter Ehlers

On 2010-06-21 23:39, Subramanian S wrote:

i wish to know how to set a folder in computer as a mirror from which i can
install packages
i am aware of the menu approach- Packagesinstall from local zip files but
i wish to know the command line approach because i dont have internet access
on the computer  where i will be using R.


Why do you need internet access to install from *local* zip files?



i have put the zip files of packages in
C:\R\packages\bin\windows\contrib\2.11

i have put the following lines in Rprofile.site

  local({r- getOption(repos)
r[CRAN]- file://C:/R/packages/
options(repos=r)})

but when i run install.packages(package_name_here), i get the following
message:

Warning in gzfile(file, r) :
   cannot open compressed file
'//C:/R/packages/bin/windows/contrib/2.11/PACKAGES', probable reason 'No
such file or directory'
Error in gzfile(file, r) : cannot open the connection


Please help


Just use file.choose() for the pkgs argument (and perhaps
set repos=NULL).

  -Peter Ehlers

__
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] installing packages from a directory on the computer

2010-06-22 Thread Subramanian S
i wish to know how to set a folder in computer as a mirror from which i can
install packages
i am aware of the menu approach- Packagesinstall from local zip files but
i wish to know the command line approach because i dont have internet access
on the computer  where i will be using R.

i have put the zip files of packages in
C:\R\packages\bin\windows\contrib\2.11

i have put the following lines in Rprofile.site

 local({r - getOption(repos)
   r[CRAN] - file://C:/R/packages/
   options(repos=r)})

but when i run install.packages(package_name_here), i get the following
message:

Warning in gzfile(file, r) :
  cannot open compressed file
'//C:/R/packages/bin/windows/contrib/2.11/PACKAGES', probable reason 'No
such file or directory'
Error in gzfile(file, r) : cannot open the connection


Please help

[[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] installing packages from a directory on the computer

2010-06-22 Thread Subramanian S
Peter, i tried the file.choose() method of installing from local zip files;
its easy to install few packages that way. but you see if there are many
packages(say 10 or 12), then i wont be able to install the packages on
which the packages that i want to install depend because i guess i cant set
dependencies=TRUE by this method.

here is what i tried
i replaced http://my.local.cran; (code below) in Rprofile.site with
file://C:/R/packages/ and then did

install.packages(c(pkg1, pkg2, ...),dependencies=TRUE) in R console but
dint succeed..

# set a CRAN mirror
 local({r - getOption(repos)
  r[CRAN] - http://my.local.cran/;
   options(repos=r)})

Would Appreciate help

[[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 packages from a directory on the computer

2010-06-22 Thread David Winsemius


On Jun 22, 2010, at 5:48 AM, Subramanian S wrote:

Peter, i tried the file.choose() method of installing from local zip  
files;
its easy to install few packages that way. but you see if there are  
many
packages(say 10 or 12), then i wont be able to install the packages  
on
which the packages that i want to install depend because i guess i  
cant set

dependencies=TRUE by this method.

here is what i tried
i replaced http://my.local.cran; (code below) in Rprofile.site with
file://C:/R/packages/ and then did

install.packages(c(pkg1, pkg2, ...),dependencies=TRUE) in R  
console but

dint succeed..


What were the error messages?

(I would have guessed that you needed to specify that the packages  
should be installed from source, since I think that the default  
might be win.binary. The error messages should have been  
informative.  Always include full error messages as the Posting Guide  
clearly states.)




# set a CRAN mirror
local({r - getOption(repos)
 r[CRAN] - http://my.local.cran/;
  options(repos=r)})

Would Appreciate help

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


David Winsemius, MD
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.


[R] Installing packages from folder on the computer

2010-06-22 Thread Subramanian S
i am able to install zip files of packages from local zip files using the
file.choose() for the package argument in install.packages() function in R
console and also from the Packages menuinstall from local zip files. But
if there are many packages to install (say 15 or 20), then i have to factor
in dependencies of 15-20 packages which may be more than 100 or 200 packages
in all to be installed. i'd have to go and choose so many of them.

so, i want a command line solution.

here is what i tried:

following the CRAN Miror's hierarchy of the directory where package zip
files are, i have put zip files of packages in:
C:\R\packages\bin\windows\contrib\2.11

To set this folder as my Mirror to install packages from, in Rprofile.site i
replaced http://my.local.cran;  with file://C:/R/packages/ (full code
given below) and then in R console i enter:

install.packages(c(pkg1, pkg2, ...),dependencies=TRUE)

but dint succeed.

Error message: Warning in gzfile(file, r) :
  cannot open compressed file
'//C:/R/packages/bin/windows/contrib/2.11/PACKAGES', probable reason 'No
such file or directory'
Error in gzfile(file, r) : cannot open the connection

# code in Rprofile.site to set a CRAN mirror
 local({r - getOption(repos)
  r[CRAN] - http://my.local.cran/;
   options(repos=r)})


have changed this to:

 local({r - getOption(repos)
  r[CRAN] - file://C:/R/packages/
   options(repos=r)})

Pls help.

[[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 packages from a directory on the computer

2010-06-22 Thread Peter Ehlers

Okay, Subramanian S, try this:

pkgs - c(pkg1, pkg2, pkg3)
install.packages(pkgs, repos = NULL,
 contriburl = file:///c:/r/repos/2.12,
 dependencies = TRUE)

where I've got zipfiles in c:/r/repos/2.12.

Comments:
1. Note the 3 slashes after file:.
2. You will also have to copy the file PACKAGES into
   your download folder.
3. Specify lib= if you don't want to install into the
   default directory.
4. You may get warnings about unavailable packages.

  -Peter Ehlers

On 2010-06-22 7:38, David Winsemius wrote:


On Jun 22, 2010, at 5:48 AM, Subramanian S wrote:


Peter, i tried the file.choose() method of installing from local zip
files;
its easy to install few packages that way. but you see if there are many
packages(say 10 or 12), then i wont be able to install the packages on
which the packages that i want to install depend because i guess i
cant set
dependencies=TRUE by this method.

here is what i tried
i replaced http://my.local.cran; (code below) in Rprofile.site with
file://C:/R/packages/ and then did

install.packages(c(pkg1, pkg2, ...),dependencies=TRUE) in R
console but
dint succeed..


What were the error messages?

(I would have guessed that you needed to specify that the packages
should be installed from source, since I think that the default might
be win.binary. The error messages should have been informative. Always
include full error messages as the Posting Guide clearly states.)



# set a CRAN mirror
local({r - getOption(repos)
r[CRAN] - http://my.local.cran/;
options(repos=r)})

Would Appreciate help

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


David Winsemius, MD
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 packages from folder on the computer

2010-06-22 Thread Uwe Ligges



On 22.06.2010 19:30, Subramanian S wrote:

i am able to install zip files of packages from local zip files using the
file.choose() for the package argument in install.packages() function in R
console and also from the Packages menuinstall from local zip files. But
if there are many packages to install (say15 or 20), then i have to factor
in dependencies of 15-20 packages which may be more than 100 or 200 packages
in all to be installed. i'd have to go and choose so many of them.

so, i want a command line solution.

here is what i tried:

following the CRAN Miror's hierarchy of the directory where package zip
files are, i have put zip files of packages in:
C:\R\packages\bin\windows\contrib\2.11

To set this folder as my Mirror to install packages from, in Rprofile.site i
replaced http://my.local.cran;  with file://C:/R/packages/ (full code
given below) and then in R console i enter:

install.packages(c(pkg1, pkg2, ...),dependencies=TRUE)

but dint succeed.

Error message: Warning in gzfile(file, r) :
   cannot open compressed file
'//C:/R/packages/bin/windows/contrib/2.11/PACKAGES', probable reason 'No
such file or directory'


A CRAN style repository needs a PACKAGES file that is used by R to load 
the database of available packages within that repository.

Such a file can be created by function write_PACKAGES() in package tools.

Best,
Uwe Ligges




Error in gzfile(file, r) : cannot open the connection

# code in Rprofile.site to set a CRAN mirror
  local({r- getOption(repos)
   r[CRAN]- http://my.local.cran/;
options(repos=r)})


have changed this to:

  local({r- getOption(repos)
   r[CRAN]- file://C:/R/packages/
options(repos=r)})

Pls help.

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


[R] installing packages from a directory on the computer

2010-06-22 Thread Subramanian S
i tried

pkgs - c(pkg1, pkg2, pkg3)
install.packages(pkgs, repos = NULL,
+ contriburl =
file:///C:/R/packages/bin/windows/contrib/2.11,
+ dependencies = TRUE)

i have put the zip files in C:/R/packages/bin/windows/contrib/2.11
 ***  and extracted the packages.gz file in this folder ***

It works. Thank you Peter.

[[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] Installing packages based on the license

2008-11-26 Thread Ted Mendum
Hello,

I would like have an automatic way to avoid installing packages that I cannot 
use due to license restrictions.

For example, the conf.design package is limited to non-commercial use, and 
since I work for a for-profit business, I cannot use it.

I found out about the license terms of conf.design by chance; I would like to 
avoid any possibility of a mistake in the future.

Is there some clever combination of grep and install.packages that I could use 
to limit my downloads to, say, GPL-only packages?

Thanks,

Ted


Ted Mendum | Senior Scientist
Warner Babcock Institute for Green Chemistry
66 Cummings Park, Woburn, MA 01801

p:   781-937-9000   
f:781-937-9001

[EMAIL PROTECTED]
www.warnerbabcock.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 packages based on the license

2008-11-26 Thread Charles C. Berry

On Wed, 26 Nov 2008, Ted Mendum wrote:


Hello,

I would like have an automatic way to avoid installing packages that I cannot 
use due to license restrictions.

For example, the conf.design package is limited to non-commercial use, and 
since I work for a for-profit business, I cannot use it.

I found out about the license terms of conf.design by chance; I would like to 
avoid any possibility of a mistake in the future.

Is there some clever combination of grep and install.packages that I could use 
to limit my downloads to, say, GPL-only packages?


Something like:


txt - readLines(url(http://cran.r-project.org/web/packages/ALS/index.html;))
aok - regexpr(GPL,txt[grep(License,txt)+1])0


will work on CRAN as it is formatted now. Maybe roll it up in a function, 
say license.ok(), that returns the name of package if aok or print the 
license and stop if not aok. Then install.packages(license.ok(pkg.name))
should do it. Of course, this does not handle dependencies. For that you 
might want to parse with index.html with XML, follow the dependencies and 
check them all out, first.



HTH,

Chuck



Thanks,

Ted


Ted Mendum | Senior Scientist
Warner Babcock Institute for Green Chemistry
66 Cummings Park, Woburn, MA 01801

p:   781-937-9000  
f:781-937-9001

[EMAIL PROTECTED]
www.warnerbabcock.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.



Charles C. Berry(858) 534-2098
Dept of Family/Preventive Medicine
E mailto:[EMAIL PROTECTED]  UC San Diego
http://famprevmed.ucsd.edu/faculty/cberry/  La Jolla, San Diego 92093-0901

__
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 packages based on the license

2008-11-26 Thread Duncan Murdoch

On 26/11/2008 4:43 PM, Ted Mendum wrote:

Hello,

I would like have an automatic way to avoid installing packages that I cannot 
use due to license restrictions.

For example, the conf.design package is limited to non-commercial use, and 
since I work for a for-profit business, I cannot use it.

I found out about the license terms of conf.design by chance; I would like to 
avoid any possibility of a mistake in the future.

Is there some clever combination of grep and install.packages that I could use 
to limit my downloads to, say, GPL-only packages?


In theory, you should be able to look at the License field of 
available.packages(fields=License) and limit yourself to those with 
acceptable licenses.  However, I don't think CRAN reports on the license.


However, after you have installed a set of packages, you can scan the 
set of licenses using this code:


installed.packages(fields=License)[,License]

Duncan Murdoch



Thanks,

Ted


Ted Mendum | Senior Scientist
Warner Babcock Institute for Green Chemistry
66 Cummings Park, Woburn, MA 01801

p:   781-937-9000   
f:781-937-9001


[EMAIL PROTECTED]
www.warnerbabcock.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] Installing Packages in Windows Vista -- YES I tried Run as Administrator

2008-05-01 Thread Scotty Nelson

I'm having trouble installing packages in Windows Vista.  It's driving me
nuts.
I read all the threads and I have tried the following:

1) Right click on R and Run as Administrator
2) Turn off User Account Control
3) Toss machine across room (OK haven't tried this one yet, but I'm close)

Here is the R error messages I am getting

--- Please select a CRAN mirror for use in this session ---
trying URL
'http://cran.stat.ucla.edu/bin/windows/contrib/2.6/boot_1.2-32.zip'
Content type 'application/zip' length 51 bytes (759 Kb)
opened URL
downloaded 32 Kb

Error in gzfile(file, r) : unable to open connection
In addition: Warning messages:
1: In download.file(url, destfile, method, mode = wb) :
  downloaded length 33219 != reported length 51
2: In zip.unpack(pkg, tmpDir) : error 1 in extracting from zip file
3: In gzfile(file, r) :
  cannot open compressed file 'boot/DESCRIPTION', probable reason 'No such
file or directory'

Can anybody help?  My presentation is in 14 hours and right now I'm thin on
results.

THANK YOU THANK YOU THANK YOU!

-- Scotty
-- 
View this message in context: 
http://www.nabble.com/Installing-Packages-in-Windows-VistaYES-I-tried-Run-as-Administrator-tp16993043p16993043.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 Packages in Windows Vista -- YES I tried Run as Administrator

2008-05-01 Thread Prof Brian Ripley

Your issue is a corrupt download.  Try another CRAN mirror.

In any case, the current version of R includes that version of boot, so
you need to update (before posting, as the posting guide asked you to).

On Thu, 1 May 2008, Scotty Nelson wrote:



I'm having trouble installing packages in Windows Vista.  It's driving me
nuts.
I read all the threads and I have tried the following:

1) Right click on R and Run as Administrator
2) Turn off User Account Control
3) Toss machine across room (OK haven't tried this one yet, but I'm close)

Here is the R error messages I am getting

--- Please select a CRAN mirror for use in this session ---
trying URL
'http://cran.stat.ucla.edu/bin/windows/contrib/2.6/boot_1.2-32.zip'
Content type 'application/zip' length 51 bytes (759 Kb)
opened URL
downloaded 32 Kb

Error in gzfile(file, r) : unable to open connection
In addition: Warning messages:
1: In download.file(url, destfile, method, mode = wb) :
 downloaded length 33219 != reported length 51

   ^
Did you not see that?


2: In zip.unpack(pkg, tmpDir) : error 1 in extracting from zip file
3: In gzfile(file, r) :
 cannot open compressed file 'boot/DESCRIPTION', probable reason 'No such
file or directory'

Can anybody help?  My presentation is in 14 hours and right now I'm thin on
results.

THANK YOU THANK YOU THANK YOU!

-- Scotty
--
View this message in context: 
http://www.nabble.com/Installing-Packages-in-Windows-VistaYES-I-tried-Run-as-Administrator-tp16993043p16993043.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.



--
Brian D. Ripley,  [EMAIL PROTECTED]
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 Packages in Windows Vista -- YES I tried Run as Administrator

2008-05-01 Thread Mark Difford

Hi Scotty,

Can't give an answer from what you've provided, but one temp. work-around
that might work is to get onto CRAN -- packages and download the packages
you need from your web browser as zip files, then do an Install package(s)
from local zip files... from the Packages menu.

HTH, Mark.


Scotty Nelson wrote:
 
 I'm having trouble installing packages in Windows Vista.  It's driving me
 nuts.
 I read all the threads and I have tried the following:
 
 1) Right click on R and Run as Administrator
 2) Turn off User Account Control
 3) Toss machine across room (OK haven't tried this one yet, but I'm close)
 
 Here is the R error messages I am getting
 
 --- Please select a CRAN mirror for use in this session ---
 trying URL
 'http://cran.stat.ucla.edu/bin/windows/contrib/2.6/boot_1.2-32.zip'
 Content type 'application/zip' length 51 bytes (759 Kb)
 opened URL
 downloaded 32 Kb
 
 Error in gzfile(file, r) : unable to open connection
 In addition: Warning messages:
 1: In download.file(url, destfile, method, mode = wb) :
   downloaded length 33219 != reported length 51
 2: In zip.unpack(pkg, tmpDir) : error 1 in extracting from zip file
 3: In gzfile(file, r) :
   cannot open compressed file 'boot/DESCRIPTION', probable reason 'No such
 file or directory'
 
 Can anybody help?  My presentation is in 14 hours and right now I'm thin
 on results.
 
 THANK YOU THANK YOU THANK YOU!
 
 -- Scotty
 

-- 
View this message in context: 
http://www.nabble.com/Installing-Packages-in-Windows-VistaYES-I-tried-Run-as-Administrator-tp16993043p16995041.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] Installing packages

2007-12-03 Thread Dani Valverde
Hello,
I have a problem when making packages with version 2.6.1. I have a 
package which I could install in version 2.5.1. I have made some 
modifications of the package, and I would like to install it to 2.6.1. I 
check the package with R CMD check, I build it with R CMD build and when 
I try to install it it gives me an error, it tries to install something 
like R.css and tells me that cannot open the DESCRIPTION file. Then, I 
made the same procedure with version 2.5.1 and it worked fine. I am 
using Windows Vista and I changed the PATH environment variable to 
version 2.6.1. Any suggestion to solve the problem?
Best regards,

Dani

-- 
Daniel Valverde Saubí

Grup de Biologia Molecular de Llevats
Facultat de Veterinària de la Universitat Autònoma de Barcelona
Edifici V, Campus UAB
08193 Cerdanyola del Vallès- SPAIN

Centro de Investigación Biomédica en Red
en Bioingeniería, Biomateriales y
Nanomedicina (CIBER-BBN)

Grup d'Aplicacions Biomèdiques de la RMN
Facultat de Biociències
Universitat Autònoma de Barcelona
Edifici Cs, Campus UAB
08193 Cerdanyola del Vallès- SPAIN
+34 93 5814126

__
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] installing packages on OS X -- lgfortran problem

2007-11-03 Thread Stefanie Hartmann


I am trying to install two packages that are not available at CRAN  
(rmutil, dna). When trying the R CMD INSTALL with either file, I get  
an error message that ends with

/usr/libexec/gcc/i686-apple-darwin8/4.0.1/libtool: can't locate file  
for: -lgfortran
/usr/libexec/gcc/i686-apple-darwin8/4.0.1/libtool: file: -lgfortran  
is not an object file (not allowed in a library)

Can anyone please help?
I have R 2.6 on a Macbook running 10.4.10. I have installed XCode 2.5.

A complete error message is given below.

Thank you!

Stefanie



* Installing to library '/Library/Frameworks/R.framework/Resources/ 
library'
* Installing *source* package 'rmutil' ...
** libs
** arch - i386
gcc-4.0 -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk - 
std=gnu99 -no-cpp-precomp -I/Library/Frameworks/R.framework/Resources/ 
include -I/Library/Frameworks/R.framework/Resources/include/i386  - 
msse3-fPIC  -g -O2 -march=nocona -c cutil.c -o cutil.o
gcc-4.0 -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk - 
std=gnu99 -no-cpp-precomp -I/Library/Frameworks/R.framework/Resources/ 
include -I/Library/Frameworks/R.framework/Resources/include/i386  - 
msse3-fPIC  -g -O2 -march=nocona -c dist.c -o dist.o
gfortran-4.0 -arch i386  -isysroot /Developer/SDKs/MacOSX10.4u.sdk   - 
fPIC  -g -O2 -march=nocona -c gettvc.f -o gettvc.o
gcc-4.0 -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk - 
std=gnu99 -no-cpp-precomp -I/Library/Frameworks/R.framework/Resources/ 
include -I/Library/Frameworks/R.framework/Resources/include/i386  - 
msse3-fPIC  -g -O2 -march=nocona -c romberg.c -o romberg.o
gcc-4.0 -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk - 
std=gnu99 -no-cpp-precomp -I/Library/Frameworks/R.framework/Resources/ 
include -I/Library/Frameworks/R.framework/Resources/include/i386  - 
msse3-fPIC  -g -O2 -march=nocona -c toms614.c -o toms614.o
gcc-4.0 -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk - 
std=gnu99 -dynamiclib -Wl,-headerpad_max_install_names -Wl,- 
macosx_version_min -Wl,10.3 -undefined dynamic_lookup -single_module - 
multiply_defined suppress -o rmutil.so cutil.o dist.o gettvc.o  
romberg.o toms614.o -L/usr/local/lib/gcc/i686-apple-darwin8/4.2.1 - 
lgfortran -lgcc_s.10.4
/usr/libexec/gcc/i686-apple-darwin8/4.0.1/libtool: can't locate file  
for: -lgfortran
/usr/libexec/gcc/i686-apple-darwin8/4.0.1/libtool: file: -lgfortran  
is not an object file (not allowed in a library)
make: *** [rmutil.so] Error 1
ERROR: compilation failed for package 'rmutil'
** Removing '/Library/Frameworks/R.framework/Versions/2.6/Resources/ 
library/rmutil'

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