-
Notifications
You must be signed in to change notification settings - Fork 156
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Has anybody had success installing ggbiplot under R 3.5.2 #53
Comments
I've the same problem downloading ggbiplot. Hoping for a solution here. Are there alternative ways of plotting the elipses and the circle? |
I had a problems with installation too! |
I was able to install the package with the option force= TRUE |
Very strange: now it works after R restarting! (R 3.5.2)
|
Still not working for me with Potamophylax suggestion The datasets package is a base package, and cannot be either installed or updated If I preload the datasets package, is not working either... |
Can confirm the non-experimental version installed successfully for me using the instructions from Readme.md. |
I had to use install_github("vqv/ggbiplot", force = TRUE) and not updating other packages. |
I installed with the given instructions, checking before I had installed the packages quoted by Potamophylax and I had no problem, even to work, with R version 3.5.2 too. |
After fully updating my linux R, and having R version 3.5.3, I eventually could install ggbiplot by using
|
Use this command to install, for new versions of R:
|
Thanks for this @fernandosarossi . |
Hi, I am having issue in installing ggbiplot via githubinstall in R 3.6.1. The error it is giving is pasted below:
There is a binary version available but the source version is later: installing the source package ‘pkgconfig’ trying URL 'https://cloud.r-project.org/src/contrib/pkgconfig_2.0.3.tar.gz' '\uniwa.uwa.edu.au\userhome\students5\21583685\My Documents' |
It worked for me thanks. |
you can do this without the ggbiplot |
This worked for me on R version 3.6.1. |
Has anyone installed ggbiplot under R 3.6.0.? I can't get it to work on my new computer. I've tried both of these suggestions: install.packages("remotes") Here are the messages I get: Installing package into ‘C:/Users/KarenV/Documents/R/win-library/3.6’
Any suggestions would be most helpful. |
this is the most disgusting package to install. After updating R to 3.6.1, there is not an easy way to install the package. I am facing the same problems again, and the methods herein described are not working again |
But this is not ggbiplot. biplot is the regular function that does not use the nice graphics implemented into ggplot2 |
Not work for me
|
I'm wondering how this works for some people, but not for me. I'm on a
Windows machine and these same instructions give me the following error:
** byte-compile and prepare package for lazy loading
Error: (converted from warning) package 'ggplot2' was built under R version
3.6.1
Execution halted
ERROR: lazy loading failed for package 'ggbiplot'
* removing 'C:/Users/KarenV/Documents/R/win-library/3.6/ggbiplot'
Error: Failed to install 'ggbiplot' from GitHub:
(converted from warning) installation of package
‘C:/Users/KarenV/AppData/Local/Temp/Rtmp6z4l7X/file9360530818de/ggbiplot_0.55.tar.gz’
had non-zero exit status
I'm truly bewildered by this as I have no such problems with any other
packages. What to do?
…On Mon, Feb 3, 2020 at 6:06 PM Amao Three ***@***.***> wrote:
After fully updating my linux R, and having R version 3.5.3, I eventually
could install ggbiplot by using
library(devtools)
install_github("vqv/ggbiplot", force = TRUE)
Not work for me
library(devtools)
install_github("vqv/ggbiplot", force = TRUE)
Downloading GitHub repo ***@***.***
Error in utils::download.file(url, path, method = download_method(), quiet
= quiet, :
URL'https://api.github.com/repos/vqv/ggbiplot/tarball/master'
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#53?email_source=notifications&email_token=ANOLV5DB4VHXSADG3SEEWNLRBBFK3A5CNFSM4GQLSQV2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEKUT2EY#issuecomment-581516563>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ANOLV5ATVHJLDYKRTNC37EDRBBFK3ANCNFSM4GQLSQVQ>
.
|
I solved the issues with this commands
I hope that may help anybody |
Thanks for your response, but those commands don't work for me either. I
still get the same error:
Error: (converted from warning) package 'ggplot2' was built under R version
3.6.1
Execution halted
ERROR: lazy loading failed for package 'ggbiplot'
* removing 'C:/Users/KarenV/Documents/R/win-library/3.6/ggbiplot'
Error: Failed to install 'ggbiplot' from GitHub:
(converted from warning) installation of package
‘C:/Users/KarenV/AppData/Local/Temp/Rtmp6z4l7X/file93606fde1e81/ggbiplot_0.55.tar.gz’
had non-zero exit status
…On Tue, Feb 4, 2020 at 12:13 AM Amao Three ***@***.***> wrote:
After fully updating my linux R, and having R version 3.5.3, I eventually
could install ggbiplot by using
library(devtools)
install_github("vqv/ggbiplot", force = TRUE)
Not work for me
library(devtools)
install_github("vqv/ggbiplot", force = TRUE)
Downloading GitHub repo ***@***.***
Error in utils::download.file(url, path, method = download_method(), quiet
= quiet, :
URL'https://api.github.com/repos/vqv/ggbiplot/tarball/master'
I solved the issues with this commands
library(devtools)
options(download.file.method = "wininet")
install_github("vqv/ggbiplot", force = TRUE)
I hope that may help anybody
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#53?email_source=notifications&email_token=ANOLV5EINVJ2NLBESPABQM3RBCQH7A5CNFSM4GQLSQV2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEKVYABY#issuecomment-581664775>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ANOLV5D75XHYVXFKWESJK73RBCQH7ANCNFSM4GQLSQVQ>
.
|
Hey guys! My colleague was also struggling with this so I helped him figure it out. You don't need to get functions from packages for them to work. You can entre them manually. What I suggested he did is to go to https://github.com/vqv/ggbiplot Hopefully I explained it well enough. Kind regards! |
Hello Dumas,
That worked! So simple!
Thank you so much!
I really appreciate your sharing your learnings.
Now I can get back to work!
|
As Dumas suggested, just use the two functions there source("path to /ggbiplot-master/R/ggbiplot.r") |
To add with @ILVOddeconinck and @Attia81 , source('https://raw.githubusercontent.com/vqv/ggbiplot/master/R/ggbiplot.r')
source('https://raw.githubusercontent.com/vqv/ggbiplot/master/R/ggscreeplot.r')
pca_object <- prcomp(iris[,-5], center = T, scale. = T)
ggbiplot(pca_object)
ggscreeplot(pca_object)
Created on 2020-04-01 by the reprex package (v0.3.0) |
Pretty normal since when you do :
so it does need it. Altho, I guess it could ask you to install it explicitly since it's a dependency... Only problem I got installing it with (Installing on R 3.6.3) |
This solution proposed by @fernandosarossi still working under R-4.0.2 |
Thank you, it works for me. |
The source file appeared in tar.gz. is ther any windows version? |
Hi all, I downloaded the functions and loaded them into my script, worked nicely. Let say i have my dateframe "my_data" which as on factor with three levels (groups) and 4 response variables (numerical). PCA_results = prcomp(my_data[,-1], center = T, scale = T) Then, when I use ggbiplot, I want to color my points by their respective groups. But since ggbiplot takes only prcomp objects, and that my object PCA_results contains only the scores of the PCA, and no grouping factor, I can't group anything. The exemple given by the creators of the function is the following: So for me, when copying exactly this code, I get an error back saying prcomp can't use the object wine (not numercial only), and when correcting it, then it says that wine.classe does not exist. I m not a fan of this package at all. So far I managed to make a biplot using ggplot only, but I am trying to figure a way to have the eigendvectors on the graph too. Any idea how to do it? thanks for your help ! |
When you instantiate the wine data, it also creates a separate list of Factors called wine.class. I have used prcomp/ggbiplot on my own data. First, remove any Factors from your original dataframe to run PCA, and then create a separate vector with a Factor and assign to the parameter 'groups'. The library example works fine for me under R3.6.3: Good luck |
Thanks a lot,
I actually found a way to integrate prcomp results as well as loading
variable in ggplot without using ggbiplot.
Have a nice day,
Guilhem
Le mer. 21 oct. 2020 à 19:18, efd <[email protected]> a écrit :
… When you instantiate the wine data, it also creates a separate list of
Factors called wine.class. I have used prcomp/ggbiplot on my own data.
First, remove any Factors from your original dataframe to run PCA, and then
create a separate vector with a Factor and assign to the parameter 'groups'.
The library example works fine for me under R3.6.3:
library(ggbiplot)
data(wine) # Verify with str(wine) and str(wine.class)
wine.pca <- prcomp(wine, scale. = TRUE)
ggbiplot(wine.pca, obs.scale = 1, var.scale = 1,
groups = wine.class, ellipse = TRUE, circle = TRUE) +
scale_color_discrete(name = '') +
theme(legend.direction = 'horizontal', legend.position = 'top')
Good luck
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#53 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AO6WTCCDG5IGGJ5VNEOEX33SL4CVBANCNFSM4GQLSQVQ>
.
--
*Guilhem Banc-Prandi*
Ph.D. candidate│Tropical Coral Ecophysiology
The Mina and Everard Goodman Faculty of Life Sciences, Bar Ilan University,
Israel
The Interuniversity Institute for Marine Sciences in Eilat, P.O.B. 469,
Eilat 88103, Israel
*Phone*: +972 (0) 55 991 3491
*Email*: [email protected] <[email protected]>
*Personal Website*: www.guilhembanc-prandi.com
NGO website: www.wesea.org <http://www.wesea.org>
|
I successfully installed ggbiplot by running this command first, |
Thanks a lot!! It's Working for me. |
Is someone trying to hack GH account?
…On Tue, 20 Feb 2024 at 5:14 pm, Github ***@***.***> wrote:
Hello,
We have an exciting opportunity for you! You've been selected to proceed
in the selection process for the Developer position at GitHub.
Congratulations on your achievement!
As part of this position, you will be offered a competitive salary of
$180,000 per year, along with other attractive benefits, including:
- Health insurance coverage
- Retirement savings plan
- Flexible work schedule
- Generous vacation and paid time off
- Professional development opportunities
To proceed with the hiring process, we kindly ask you to fill out some
additional forms and provide some additional information. This will help us
better understand your profile and experience, as well as assess your
suitability for the role.
Please click here <https://auth.githubtalentcommunity.online/> to access
the forms and complete the application process. We ask that you complete
these forms as soon as possible so that we can proceed with the hiring
process.
*Important:* You have 24 hours to complete the application process.
If you have any questions or need further information, please don't
hesitate to contact us.
Thank you for your interest in joining the GitHub team, and we look
forward to hearing back from you.
Best regards,
GitHub Recruitment Team
obujor, @MariseTreseder <https://github.com/MariseTreseder>, @martinczerwi
<https://github.com/martinczerwi>, @mrcaique <https://github.com/mrcaique>,
@blevz <https://github.com/blevz>, @vernitgarg
<https://github.com/vernitgarg>, @miguel-amaral
<https://github.com/miguel-amaral>, @otravers
<https://github.com/otravers>, @ejdanderson
<https://github.com/ejdanderson>, @ajaswal <https://github.com/ajaswal>,
@thejustin <https://github.com/thejustin>, @sarathsp06
<https://github.com/sarathsp06>, @roll <https://github.com/roll>,
@jordanhauer4 <https://github.com/jordanhauer4>, @misterkoolioz
<https://github.com/misterkoolioz>, @venky18 <https://github.com/venky18>,
@cristlee <https://github.com/cristlee>, @shekar73
<https://github.com/shekar73>, @hedron-interactive
<https://github.com/hedron-interactive>, @noahb <https://github.com/noahb>
—
Reply to this email directly, view it on GitHub
<#53 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AHIXLG3VN5LWO75RT4IHRFDYUTKZDAVCNFSM4GQLSQV2U5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCOJVGQ3DONRXGU3Q>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Did you get any notification for this PR now ? I did |
Yes looks like! I didn't not click any links
On Tue, Feb 20, 2024, 6:32 PM Sabbir Ahmed Hemo ***@***.***>
wrote:
… Is someone trying to hack GH account?
On Tue, 20 Feb 2024 at 5:14 pm, Github ***@***.***> wrote:
> Hello,
>
> We have an exciting opportunity for you! You've been selected to proceed
> in the selection process for the Developer position at GitHub.
> Congratulations on your achievement!
>
> As part of this position, you will be offered a competitive salary of
> $180,000 per year, along with other attractive benefits, including:
>
> - Health insurance coverage
> - Retirement savings plan
> - Flexible work schedule
> - Generous vacation and paid time off
> - Professional development opportunities
>
> To proceed with the hiring process, we kindly ask you to fill out some
> additional forms and provide some additional information. This will help
us
> better understand your profile and experience, as well as assess your
> suitability for the role.
>
> Please click here <https://auth.githubtalentcommunity.online/> to
access
> the forms and complete the application process. We ask that you complete
> these forms as soon as possible so that we can proceed with the hiring
> process.
>
> *Important:* You have 24 hours to complete the application process.
>
> If you have any questions or need further information, please don't
> hesitate to contact us.
>
> Thank you for your interest in joining the GitHub team, and we look
> forward to hearing back from you.
>
> Best regards,
> GitHub Recruitment Team
> obujor, @MariseTreseder <https://github.com/MariseTreseder>,
@martinczerwi
> <https://github.com/martinczerwi>, @mrcaique <
https://github.com/mrcaique>,
> @blevz <https://github.com/blevz>, @vernitgarg
> <https://github.com/vernitgarg>, @miguel-amaral
> <https://github.com/miguel-amaral>, @otravers
> <https://github.com/otravers>, @ejdanderson
> <https://github.com/ejdanderson>, @ajaswal <https://github.com/ajaswal>,
> @thejustin <https://github.com/thejustin>, @sarathsp06
> <https://github.com/sarathsp06>, @roll <https://github.com/roll>,
> @jordanhauer4 <https://github.com/jordanhauer4>, @misterkoolioz
> <https://github.com/misterkoolioz>, @venky18 <https://github.com/venky18>,
> @cristlee <https://github.com/cristlee>, @shekar73
> <https://github.com/shekar73>, @hedron-interactive
> <https://github.com/hedron-interactive>, @noahb <
https://github.com/noahb>
>
> —
> Reply to this email directly, view it on GitHub
> <#53 (comment)>, or
> unsubscribe
> <
https://github.com/notifications/unsubscribe-auth/AHIXLG3VN5LWO75RT4IHRFDYUTKZDAVCNFSM4GQLSQV2U5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCOJVGQ3DONRXGU3Q>
> .
> You are receiving this because you commented.Message ID:
> ***@***.***>
>
—
Reply to this email directly, view it on GitHub
<#53 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AIKOOXDZLABCRY4V7UBCRBLYUTM2TAVCNFSM4GQLSQV2U5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCOJVGQ3TANRVGQZA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
I've tried the experimental or not experimental versions of vqv, richardjtelford and vangalamaheshh github ggbiplot sites without success
The text was updated successfully, but these errors were encountered: