Re: [R] Unable to install ggplot2

2019-03-06 Thread Hadley Wickham
rlang works with R 3.1 and up, but it does require compilation from
source, which I suspect is the root cause of this problem.

Hadley

On Wed, Mar 6, 2019 at 5:36 PM peter dalgaard  wrote:
>
> Also, R seems to be version 3.2.x i.e. 3-4 years old. Earliest rlang is anno 
> 2017 as far as I can tell.
>
> -pd
>
> > On 6 Mar 2019, at 19:22 , Norberto Hernandez  
> > wrote:
> >
> > I have the same issue with ggplot2 and the rlang package, you need to
> > have the most updated version of the rlang library in order to get
> > installed ggplot2
> >
> > Regards
> > Norberto
> >
> > El mar., 5 mar. 2019 a las 14:24, Jeff Newmiller
> > () escribió:
> >>
> >> Please post the text version of the error in the future... your picture is 
> >> almost unreadable. Also, if it is actually important that you are using 
> >> RStudio then your question probably doesn't belong here. Also, if the 
> >> problem is a faulty contributed package then you will need to contact the 
> >> package maintainer as the Posting Guide mentioned below says.
> >>
> >> I don't know why the dependency is not being handled correctly, but my 
> >> suggestion would be to install the rlang package first, and once that is 
> >> installed try installing ggplot2. Read the errors... it says there is a 
> >> problem with the rlang package.
> >>
> >> On March 5, 2019 10:04:41 AM PST, Kamalika Ray  
> >> wrote:
> >>> Hi,
> >>> I have been trying to install the ggplot2 package but I am unable to do
> >>> so. My Mac OS version is 10.7.4 and I have downloaded the
> >>> R-Studio-1.1.463.
> >>> I have attached the screenshot of the error message which appears.
> >>>
> >>> Please help!
> >>>
> >>> Thank you,
> >>> Kamalika
> >>> India
> >>
> >> --
> >> 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.
> >
> > __
> > 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.
>
> --
> Peter Dalgaard, Professor,
> Center for Statistics, Copenhagen Business School
> Solbjerg Plads 3, 2000 Frederiksberg, Denmark
> Phone: (+45)38153501
> Office: A 4.23
> Email: pd@cbs.dk  Priv: pda...@gmail.com
>
> __
> 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.



-- 
http://hadley.nz

__
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] Unable to install ggplot2

2019-03-06 Thread peter dalgaard
Also, R seems to be version 3.2.x i.e. 3-4 years old. Earliest rlang is anno 
2017 as far as I can tell.

-pd

> On 6 Mar 2019, at 19:22 , Norberto Hernandez  
> wrote:
> 
> I have the same issue with ggplot2 and the rlang package, you need to
> have the most updated version of the rlang library in order to get
> installed ggplot2
> 
> Regards
> Norberto
> 
> El mar., 5 mar. 2019 a las 14:24, Jeff Newmiller
> () escribió:
>> 
>> Please post the text version of the error in the future... your picture is 
>> almost unreadable. Also, if it is actually important that you are using 
>> RStudio then your question probably doesn't belong here. Also, if the 
>> problem is a faulty contributed package then you will need to contact the 
>> package maintainer as the Posting Guide mentioned below says.
>> 
>> I don't know why the dependency is not being handled correctly, but my 
>> suggestion would be to install the rlang package first, and once that is 
>> installed try installing ggplot2. Read the errors... it says there is a 
>> problem with the rlang package.
>> 
>> On March 5, 2019 10:04:41 AM PST, Kamalika Ray  
>> wrote:
>>> Hi,
>>> I have been trying to install the ggplot2 package but I am unable to do
>>> so. My Mac OS version is 10.7.4 and I have downloaded the
>>> R-Studio-1.1.463.
>>> I have attached the screenshot of the error message which appears.
>>> 
>>> Please help!
>>> 
>>> Thank you,
>>> Kamalika
>>> India
>> 
>> --
>> 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.
> 
> __
> 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.

-- 
Peter Dalgaard, Professor,
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3, 2000 Frederiksberg, Denmark
Phone: (+45)38153501
Office: A 4.23
Email: pd@cbs.dk  Priv: pda...@gmail.com

__
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] Unable to install ggplot2

2019-03-06 Thread Norberto Hernandez
I have the same issue with ggplot2 and the rlang package, you need to
have the most updated version of the rlang library in order to get
installed ggplot2

Regards
Norberto

El mar., 5 mar. 2019 a las 14:24, Jeff Newmiller
() escribió:
>
> Please post the text version of the error in the future... your picture is 
> almost unreadable. Also, if it is actually important that you are using 
> RStudio then your question probably doesn't belong here. Also, if the problem 
> is a faulty contributed package then you will need to contact the package 
> maintainer as the Posting Guide mentioned below says.
>
> I don't know why the dependency is not being handled correctly, but my 
> suggestion would be to install the rlang package first, and once that is 
> installed try installing ggplot2. Read the errors... it says there is a 
> problem with the rlang package.
>
> On March 5, 2019 10:04:41 AM PST, Kamalika Ray  
> wrote:
> >Hi,
> >I have been trying to install the ggplot2 package but I am unable to do
> >so. My Mac OS version is 10.7.4 and I have downloaded the
> >R-Studio-1.1.463.
> >I have attached the screenshot of the error message which appears.
> >
> >Please help!
> >
> >Thank you,
> >Kamalika
> >India
>
> --
> 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.

__
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] Unable to install ggplot2

2019-03-05 Thread Jeff Newmiller
Please post the text version of the error in the future... your picture is 
almost unreadable. Also, if it is actually important that you are using RStudio 
then your question probably doesn't belong here. Also, if the problem is a 
faulty contributed package then you will need to contact the package maintainer 
as the Posting Guide mentioned below says.

I don't know why the dependency is not being handled correctly, but my 
suggestion would be to install the rlang package first, and once that is 
installed try installing ggplot2. Read the errors... it says there is a problem 
with the rlang package.

On March 5, 2019 10:04:41 AM PST, Kamalika Ray  wrote:
>Hi,
>I have been trying to install the ggplot2 package but I am unable to do
>so. My Mac OS version is 10.7.4 and I have downloaded the
>R-Studio-1.1.463.
>I have attached the screenshot of the error message which appears.
>
>Please help!
>
>Thank you,
>Kamalika
>India

-- 
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] Unable to install ggplot2; using R 3.1.2 and RStudio 0.98.1091 in Linux Mint 17.1

2014-12-26 Thread rewyllys
@Sarah Goslee,

Many thanks for your excellent help.

It's a measure of my inexperience with R (and with compiling in Linux) that
I failed to recognize the significance of the g++ error message, and that I
was previously unaware that g++ is a (the?) GNU compiler for C++.

After adding g++ to my desktop, I had no trouble in installing ggplot2,
which is running just fine for me now.

Thanks again.

Ron Wyllys



--
View this message in context: 
http://r.789695.n4.nabble.com/Unable-to-install-ggplot2-using-R-3-1-2-and-RStudio-0-98-1091-in-Linux-Mint-17-1-tp4701054p4701129.html
Sent from the R help mailing list archive at Nabble.com.

__
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] Unable to install ggplot2; using R 3.1.2 and RStudio 0.98.1091 in Linux Mint 17.1

2014-12-23 Thread rewyllys
My attempts to install and then load ggplot2 have repeatedly failed.  

Here is the pertinent set of commands and responses: 

-
install.packages(ggplot2)
Installing package into ‘/home/ron/R/x86_64-pc-linux-gnu-library/3.1’
(as ‘lib’ is unspecified)
also installing the dependencies ‘Rcpp’, ‘plyr’, ‘reshape2’, ‘scales’

trying URL 'http://cran.stat.ucla.edu/src/contrib/Rcpp_0.11.3.tar.gz'
Content type 'application/x-tar' length 2169583 bytes (2.1 Mb)
opened URL
==
downloaded 2.1 Mb

trying URL 'http://cran.stat.ucla.edu/src/contrib/plyr_1.8.1.tar.gz'
Content type 'application/x-tar' length 393233 bytes (384 Kb)
opened URL
==
downloaded 384 Kb

trying URL 'http://cran.stat.ucla.edu/src/contrib/reshape2_1.4.1.tar.gz'
Content type 'application/x-tar' length 34693 bytes (33 Kb)
opened URL
==
downloaded 33 Kb

trying URL 'http://cran.stat.ucla.edu/src/contrib/scales_0.2.4.tar.gz'
Content type 'application/x-tar' length 40093 bytes (39 Kb)
opened URL
==
downloaded 39 Kb

trying URL 'http://cran.stat.ucla.edu/src/contrib/ggplot2_1.0.0.tar.gz'
Content type 'application/x-tar' length 2351447 bytes (2.2 Mb)
opened URL
==
downloaded 2.2 Mb

* installing *source* package ‘Rcpp’ ...
** package ‘Rcpp’ successfully unpacked and MD5 sums checked
** libs
g++ -I/usr/share/R/include -DNDEBUG -I../inst/include/ -fpic  -g -O2
-fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security
-D_FORTIFY_SOURCE=2 -g  -c Date.cpp -o Date.o
/bin/bash: g++: command not found
make: *** [Date.o] Error 127
ERROR: compilation failed for package ‘Rcpp’
* removing ‘/home/ron/R/x86_64-pc-linux-gnu-library/3.1/Rcpp’
Warning in install.packages :
  installation of package ‘Rcpp’ had non-zero exit status
ERROR: dependency ‘Rcpp’ is not available for package ‘plyr’
* removing ‘/home/ron/R/x86_64-pc-linux-gnu-library/3.1/plyr’
Warning in install.packages :
  installation of package ‘plyr’ had non-zero exit status
ERROR: dependencies ‘plyr’, ‘Rcpp’ are not available for package ‘reshape2’
* removing ‘/home/ron/R/x86_64-pc-linux-gnu-library/3.1/reshape2’
Warning in install.packages :
  installation of package ‘reshape2’ had non-zero exit status
ERROR: dependency ‘plyr’ is not available for package ‘scales’
* removing ‘/home/ron/R/x86_64-pc-linux-gnu-library/3.1/scales’
Warning in install.packages :
  installation of package ‘scales’ had non-zero exit status
ERROR: dependencies ‘plyr’, ‘reshape2’, ‘scales’ are not available for
package ‘ggplot2’
* removing ‘/home/ron/R/x86_64-pc-linux-gnu-library/3.1/ggplot2’
Warning in install.packages :
  installation of package ‘ggplot2’ had non-zero exit status

The downloaded source packages are in
‘/tmp/Rtmp3phwN2/downloaded_packages’


I am relatively new to using R, but have had no prior problems in installing
packages.

Any and all suggestions and comments will be much appreciated.




--
View this message in context: 
http://r.789695.n4.nabble.com/Unable-to-install-ggplot2-using-R-3-1-2-and-RStudio-0-98-1091-in-Linux-Mint-17-1-tp4701054.html
Sent from the R help mailing list archive at Nabble.com.

__
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] Unable to install ggplot2; using R 3.1.2 and RStudio 0.98.1091 in Linux Mint 17.1

2014-12-23 Thread Sarah Goslee
Hi,

It's not an R problem: you don't have the necessary tools installed in linux,
specifically g++

You'll need to install the development tools for your version of
linux, as it states in the Rcpp FAQ.

Google should help you figure out what you need, if you don't already
know how to find and install packages for Mint linux.

Sarah

On Tue, Dec 23, 2014 at 3:20 PM, rewyllys wyl...@ischool.utexas.edu wrote:
 My attempts to install and then load ggplot2 have repeatedly failed.

 Here is the pertinent set of commands and responses:

 -
 install.packages(ggplot2)
 Installing package into ‘/home/ron/R/x86_64-pc-linux-gnu-library/3.1’
 (as ‘lib’ is unspecified)
 also installing the dependencies ‘Rcpp’, ‘plyr’, ‘reshape2’, ‘scales’

 trying URL 'http://cran.stat.ucla.edu/src/contrib/Rcpp_0.11.3.tar.gz'
 Content type 'application/x-tar' length 2169583 bytes (2.1 Mb)
 opened URL
 ==
 downloaded 2.1 Mb

 trying URL 'http://cran.stat.ucla.edu/src/contrib/plyr_1.8.1.tar.gz'
 Content type 'application/x-tar' length 393233 bytes (384 Kb)
 opened URL
 ==
 downloaded 384 Kb

 trying URL 'http://cran.stat.ucla.edu/src/contrib/reshape2_1.4.1.tar.gz'
 Content type 'application/x-tar' length 34693 bytes (33 Kb)
 opened URL
 ==
 downloaded 33 Kb

 trying URL 'http://cran.stat.ucla.edu/src/contrib/scales_0.2.4.tar.gz'
 Content type 'application/x-tar' length 40093 bytes (39 Kb)
 opened URL
 ==
 downloaded 39 Kb

 trying URL 'http://cran.stat.ucla.edu/src/contrib/ggplot2_1.0.0.tar.gz'
 Content type 'application/x-tar' length 2351447 bytes (2.2 Mb)
 opened URL
 ==
 downloaded 2.2 Mb

 * installing *source* package ‘Rcpp’ ...
 ** package ‘Rcpp’ successfully unpacked and MD5 sums checked
 ** libs
 g++ -I/usr/share/R/include -DNDEBUG -I../inst/include/ -fpic  -g -O2
 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security
 -D_FORTIFY_SOURCE=2 -g  -c Date.cpp -o Date.o
 /bin/bash: g++: command not found
 make: *** [Date.o] Error 127
 ERROR: compilation failed for package ‘Rcpp’
 * removing ‘/home/ron/R/x86_64-pc-linux-gnu-library/3.1/Rcpp’
 Warning in install.packages :
   installation of package ‘Rcpp’ had non-zero exit status
 ERROR: dependency ‘Rcpp’ is not available for package ‘plyr’
 * removing ‘/home/ron/R/x86_64-pc-linux-gnu-library/3.1/plyr’
 Warning in install.packages :
   installation of package ‘plyr’ had non-zero exit status
 ERROR: dependencies ‘plyr’, ‘Rcpp’ are not available for package ‘reshape2’
 * removing ‘/home/ron/R/x86_64-pc-linux-gnu-library/3.1/reshape2’
 Warning in install.packages :
   installation of package ‘reshape2’ had non-zero exit status
 ERROR: dependency ‘plyr’ is not available for package ‘scales’
 * removing ‘/home/ron/R/x86_64-pc-linux-gnu-library/3.1/scales’
 Warning in install.packages :
   installation of package ‘scales’ had non-zero exit status
 ERROR: dependencies ‘plyr’, ‘reshape2’, ‘scales’ are not available for
 package ‘ggplot2’
 * removing ‘/home/ron/R/x86_64-pc-linux-gnu-library/3.1/ggplot2’
 Warning in install.packages :
   installation of package ‘ggplot2’ had non-zero exit status

 The downloaded source packages are in
 ‘/tmp/Rtmp3phwN2/downloaded_packages’

 
 I am relatively new to using R, but have had no prior problems in installing
 packages.

 Any and all suggestions and comments will be much appreciated.




-- 
Sarah Goslee
http://www.functionaldiversity.org

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