Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

blog/a-package-to-download-free-springer-books-during-covid-19-quarantine/ #31

Closed
utterances-bot opened this issue Jan 3, 2021 · 72 comments
Labels
comment Comments for the blog

Comments

@utterances-bot
Copy link

A package to download free Springer books during Covid-19 quarantine - Stats and R

This article presents a R package which allows to download free data science books in PDF that are made available by Springer during the COVID-19 quarantine

https://statsandr.com/blog/a-package-to-download-free-springer-books-during-covid-19-quarantine/

Copy link
Owner

Comment written by Alex Lev on April 27, 2020 10:11:58:

Hi! Your code is full of bugs. Columns names are changed. Example: subject_classification instead of Subject Classification. Be careful while posting. Thanks for hint! Cheers!

@AntoineSoetewey AntoineSoetewey added the comment Comments for the blog label Jan 3, 2021 — with utterances
@AntoineSoetewey
Copy link
Owner

Comment written by Alex Lev on April 27, 2020 10:11:58:

Hi! Your code is full of bugs. Columns names are changed. Example: subject_classification instead of Subject Classification. Be careful while posting. Thanks for hint! Cheers!

Comment written by Alex Lev on April 27, 2020 10:41:31:

springer_table <- download_springer_table()  specific_titles_list <- springer_table %>% select('Book Title', 'Subject Classification') %>%       filter(stringr::str_detect(        Subject Classification, # look for a pattern in the subject_calssification column      'Statistics' # specify the subject    )) %>%    pull(Book Title) download_springer_book_files(springer_books_titles = specific_titles_list)

@AntoineSoetewey
Copy link
Owner

Comment written by Alex Lev on April 27, 2020 10:11:58:
Hi! Your code is full of bugs. Columns names are changed. Example: subject_classification instead of Subject Classification. Be careful while posting. Thanks for hint! Cheers!

Comment written by Alex Lev on April 27, 2020 10:41:31:

springer_table <- download_springer_table()  specific_titles_list <- springer_table %>% select('Book Title', 'Subject Classification') %>%       filter(stringr::str_detect(        Subject Classification, # look for a pattern in the subject_calssification column      'Statistics' # specify the subject    )) %>%    pull(Book Title) download_springer_book_files(springer_books_titles = specific_titles_list)

Comment written by Antoine Soetewey on April 27, 2020 12:09:16:

Hi Alex,

Thanks for your feedback. 

The author of the package edited it, and he changed the variable names. The code was correct at the time of writing the article though.

In any case, I contacted the author of the package and it is now back to the old variable names. So you should use book_title and subject_classification, exactly as in the article.

Let me know if you encounter any other issue.

Regards,
Antoine

@AntoineSoetewey
Copy link
Owner

Comment written by Alfonso Chang on April 30, 2020 06:38:04:

Thanks for this contribution Antoine S. 

Any advice if for any reason the download process was cut off and it canceled the transfer? If I run the code again, would the reload resume or start from scratch?

Best regards, 
Alfonso Chang

@AntoineSoetewey
Copy link
Owner

Comment written by Alfonso Chang on April 30, 2020 06:38:04:

Thanks for this contribution Antoine S. 

Any advice if for any reason the download process was cut off and it canceled the transfer? If I run the code again, would the reload resume or start from scratch?

Best regards, 
Alfonso Chang

Comment written by Alfonso Chang on April 30, 2020 07:12:13:

Would it be possible to download by folder? I think this method would be more accurate.  Thanks in advace. 
AC

@AntoineSoetewey
Copy link
Owner

Comment written by Alfonso Chang on April 30, 2020 06:38:04:
Thanks for this contribution Antoine S. 
Any advice if for any reason the download process was cut off and it canceled the transfer? If I run the code again, would the reload resume or start from scratch?
Best regards, 
Alfonso Chang

Comment written by Alfonso Chang on April 30, 2020 07:12:13:

Would it be possible to download by folder? I think this method would be more accurate.  Thanks in advace. 
AC

Comment written by Antoine Soetewey on April 30, 2020 08:47:16:

Dear Alfonso,

This may be due to internet connection problem. 

At the moment, if you run the code again it would restart from scratch. This pull request will try to fix this, but this has not yet been implemented.

I have just suggested downloading the books by folder to the author of the package. I'll let you know his reply.

Regards,
Antoine

@AntoineSoetewey
Copy link
Owner

Comment written by Alfonso Chang on April 30, 2020 06:38:04:
Thanks for this contribution Antoine S. 
Any advice if for any reason the download process was cut off and it canceled the transfer? If I run the code again, would the reload resume or start from scratch?
Best regards, 
Alfonso Chang

Comment written by Alfonso Chang on April 30, 2020 07:12:13:
Would it be possible to download by folder? I think this method would be more accurate.  Thanks in advace. 
AC

Comment written by Antoine Soetewey on April 30, 2020 08:47:16:

Dear Alfonso,

This may be due to internet connection problem. 

At the moment, if you run the code again it would restart from scratch. This pull request will try to fix this, but this has not yet been implemented.

I have just suggested downloading the books by folder to the author of the package. I'll let you know his reply.

Regards,
Antoine

Comment written by Alfonso Chang on April 30, 2020 15:25:39:

Thank you so much Sir. I'll appreciate it. 

BR,
AC

@AntoineSoetewey
Copy link
Owner

Comment written by pocheche on April 30, 2020 16:37:33:

Tried to change settings for epub download but does not work, please ....

@AntoineSoetewey
Copy link
Owner

Comment written by Cimi on April 30, 2020 17:39:10:

Can you please help me I am stuck on the first step...  I dont know where to put the code

@AntoineSoetewey
Copy link
Owner

Comment written by JC on April 30, 2020 18:06:03:

Hi! First of all, thanks for the post! 

I used this lines to download the ebooks:

setwd("path_of_your_choice") # where you want to save the books  download_springer_book_files() # download all of them at once

And at the end of the process, it appear on the console:
Warning messages:  1: In if (!dir.exists(current_folder)) { :  the condition has length > 1 and only the first element will be used  2: In if (!dir.exists(current_folder)) { :  the condition has length > 1 and only the first element will be used

What am I supposed to do?

@AntoineSoetewey
Copy link
Owner

Comment written by Cimi on April 30, 2020 17:39:10:

Can you please help me I am stuck on the first step...  I dont know where to put the code

Comment written by Antoine Soetewey on April 30, 2020 18:09:27:

Dear Cimi,

Run the code in the R console or in a script. 

Perhaps this article will help you to get started with R: https://statsandr.com/blog/how-to-install-r-and-rstudio/ (see section "the main components of RStudio").

Hope this helps. 

Regards,
Antoine

@AntoineSoetewey
Copy link
Owner

Comment written by JC on April 30, 2020 18:06:03:

Hi! First of all, thanks for the post! 

I used this lines to download the ebooks:

setwd("path_of_your_choice") # where you want to save the books  download_springer_book_files() # download all of them at once

And at the end of the process, it appear on the console:
Warning messages:  1: In if (!dir.exists(current_folder)) { :  the condition has length > 1 and only the first element will be used  2: In if (!dir.exists(current_folder)) { :  the condition has length > 1 and only the first element will be used

What am I supposed to do?

Comment written by Antoine Soetewey on April 30, 2020 18:13:33:

Dear JC,

Did you change path_of_your_choice with the desired path (e.g., your desktop or a specific folder on your computer)? 

See the section "set working directory" of this article if you still struggle: https://statsandr.com/blog/how-to-import-an-excel-file-in-rstudio/

Regards,
Antoine

@AntoineSoetewey
Copy link
Owner

Comment written by JC on April 30, 2020 18:06:03:
Hi! First of all, thanks for the post! 
I used this lines to download the ebooks:
setwd("path_of_your_choice") # where you want to save the books  download_springer_book_files() # download all of them at once
And at the end of the process, it appear on the console:
Warning messages:  1: In if (!dir.exists(current_folder)) { :  the condition has length > 1 and only the first element will be used  2: In if (!dir.exists(current_folder)) { :  the condition has length > 1 and only the first element will be used
What am I supposed to do?

Comment written by Antoine Soetewey on April 30, 2020 18:13:33:

Dear JC,

Did you change path_of_your_choice with the desired path (e.g., your desktop or a specific folder on your computer)? 

See the section "set working directory" of this article if you still struggle: https://statsandr.com/blog/how-to-import-an-excel-file-in-rstudio/

Regards,
Antoine

Comment written by JC on April 30, 2020 18:18:20:

Yes, yes. Sorry, I copy the line form the post and I forgot to put my path... Sorry for the mistake. I put a path to one folder of my desktop

@AntoineSoetewey
Copy link
Owner

Comment written by JC on April 30, 2020 18:06:03:
Hi! First of all, thanks for the post! 
I used this lines to download the ebooks:
setwd("path_of_your_choice") # where you want to save the books  download_springer_book_files() # download all of them at once
And at the end of the process, it appear on the console:
Warning messages:  1: In if (!dir.exists(current_folder)) { :  the condition has length > 1 and only the first element will be used  2: In if (!dir.exists(current_folder)) { :  the condition has length > 1 and only the first element will be used
What am I supposed to do?

Comment written by Antoine Soetewey on April 30, 2020 18:13:33:
Dear JC,
Did you change path_of_your_choice with the desired path (e.g., your desktop or a specific folder on your computer)? 
See the section "set working directory" of this article if you still struggle: https://statsandr.com/blog/how-to-import-an-excel-file-in-rstudio/
Regards,
Antoine

Comment written by JC on April 30, 2020 18:18:20:

Yes, yes. Sorry, I copy the line form the post and I forgot to put my path... Sorry for the mistake. I put a path to one folder of my desktop

Comment written by JC on April 30, 2020 18:46:22:

I mean that the Warning Messages appeared using my path. Sorry for the possible misunderstanding

@AntoineSoetewey
Copy link
Owner

Comment written by JC on April 30, 2020 18:06:03:
Hi! First of all, thanks for the post! 
I used this lines to download the ebooks:
setwd("path_of_your_choice") # where you want to save the books  download_springer_book_files() # download all of them at once
And at the end of the process, it appear on the console:
Warning messages:  1: In if (!dir.exists(current_folder)) { :  the condition has length > 1 and only the first element will be used  2: In if (!dir.exists(current_folder)) { :  the condition has length > 1 and only the first element will be used
What am I supposed to do?

Comment written by Antoine Soetewey on April 30, 2020 18:13:33:
Dear JC,
Did you change path_of_your_choice with the desired path (e.g., your desktop or a specific folder on your computer)? 
See the section "set working directory" of this article if you still struggle: https://statsandr.com/blog/how-to-import-an-excel-file-in-rstudio/
Regards,
Antoine

Comment written by JC on April 30, 2020 18:18:20:
Yes, yes. Sorry, I copy the line form the post and I forgot to put my path... Sorry for the mistake. I put a path to one folder of my desktop

Comment written by JC on April 30, 2020 18:46:22:

I mean that the Warning Messages appeared using my path. Sorry for the possible misunderstanding

Comment written by Antoine Soetewey on April 30, 2020 18:53:05:

Good that you clarified this. 

It's the first time I see your issue. Could you open an issue on the GitHub page of the package? The author will probably be able to help you! And don't hesitate to let us know if you managed to fix it.

@AntoineSoetewey
Copy link
Owner

Comment written by JC on April 30, 2020 18:06:03:
Hi! First of all, thanks for the post! 
I used this lines to download the ebooks:
setwd("path_of_your_choice") # where you want to save the books  download_springer_book_files() # download all of them at once
And at the end of the process, it appear on the console:
Warning messages:  1: In if (!dir.exists(current_folder)) { :  the condition has length > 1 and only the first element will be used  2: In if (!dir.exists(current_folder)) { :  the condition has length > 1 and only the first element will be used
What am I supposed to do?

Comment written by Antoine Soetewey on April 30, 2020 18:13:33:
Dear JC,
Did you change path_of_your_choice with the desired path (e.g., your desktop or a specific folder on your computer)? 
See the section "set working directory" of this article if you still struggle: https://statsandr.com/blog/how-to-import-an-excel-file-in-rstudio/
Regards,
Antoine

Comment written by JC on April 30, 2020 18:18:20:
Yes, yes. Sorry, I copy the line form the post and I forgot to put my path... Sorry for the mistake. I put a path to one folder of my desktop

Comment written by JC on April 30, 2020 18:46:22:
I mean that the Warning Messages appeared using my path. Sorry for the possible misunderstanding

Comment written by Antoine Soetewey on April 30, 2020 18:53:05:

Good that you clarified this. 

It's the first time I see your issue. Could you open an issue on the GitHub page of the package? The author will probably be able to help you! And don't hesitate to let us know if you managed to fix it.

Comment written by JC on April 30, 2020 19:42:42:

Ok, thanks gor the support! :)

@AntoineSoetewey
Copy link
Owner

Comment written by Cimi on April 30, 2020 17:39:10:
Can you please help me I am stuck on the first step...  I dont know where to put the code

Comment written by Antoine Soetewey on April 30, 2020 18:09:27:

Dear Cimi,

Run the code in the R console or in a script. 

Perhaps this article will help you to get started with R: https://statsandr.com/blog/how-to-install-r-and-rstudio/ (see section "the main components of RStudio").

Hope this helps. 

Regards,
Antoine

Comment written by Cimi on April 30, 2020 23:04:49:

Thanks a LOTTT!!! 
You have my regards. 
Sincerely Cimi.

@AntoineSoetewey
Copy link
Owner

Comment written by Cimi on April 30, 2020 17:39:10:
Can you please help me I am stuck on the first step...  I dont know where to put the code

Comment written by Antoine Soetewey on April 30, 2020 18:09:27:
Dear Cimi,
Run the code in the R console or in a script. 
Perhaps this article will help you to get started with R: https://statsandr.com/blog/how-to-install-r-and-rstudio/ (see section "the main components of RStudio").
Hope this helps. 
Regards,
Antoine

Comment written by Cimi on April 30, 2020 23:04:49:

Thanks a LOTTT!!! 
You have my regards. 
Sincerely Cimi.

Comment written by Cimi on May 01, 2020 12:37:53:

Is There a possible way to download only the last 100 or so because my download got cut off(My mistake) and i have installed only the first 300

@AntoineSoetewey
Copy link
Owner

Comment written by Cimi on April 30, 2020 17:39:10:
Can you please help me I am stuck on the first step...  I dont know where to put the code

Comment written by Antoine Soetewey on April 30, 2020 18:09:27:
Dear Cimi,
Run the code in the R console or in a script. 
Perhaps this article will help you to get started with R: https://statsandr.com/blog/how-to-install-r-and-rstudio/ (see section "the main components of RStudio").
Hope this helps. 
Regards,
Antoine

Comment written by Cimi on April 30, 2020 23:04:49:
Thanks a LOTTT!!! 
You have my regards. 
Sincerely Cimi.

Comment written by Cimi on May 01, 2020 12:37:53:

Is There a possible way to download only the last 100 or so because my download got cut off(My mistake) and i have installed only the first 300

Comment written by Antoine Soetewey on May 01, 2020 12:55:52:

Unfortunately no. 

At the moment you'll need to download all of them again. 

This pull request: renanxcortes/springerQuarantineBooksR#19 will fix it, but it has not yet been implemented.

@AntoineSoetewey
Copy link
Owner

Comment written by Cimi on April 30, 2020 17:39:10:
Can you please help me I am stuck on the first step...  I dont know where to put the code

Comment written by Antoine Soetewey on April 30, 2020 18:09:27:
Dear Cimi,
Run the code in the R console or in a script. 
Perhaps this article will help you to get started with R: https://statsandr.com/blog/how-to-install-r-and-rstudio/ (see section "the main components of RStudio").
Hope this helps. 
Regards,
Antoine

Comment written by Cimi on April 30, 2020 23:04:49:
Thanks a LOTTT!!! 
You have my regards. 
Sincerely Cimi.

Comment written by Cimi on May 01, 2020 12:37:53:
Is There a possible way to download only the last 100 or so because my download got cut off(My mistake) and i have installed only the first 300

Comment written by Antoine Soetewey on May 01, 2020 12:55:52:

Unfortunately no. 

At the moment you'll need to download all of them again. 

This pull request: renanxcortes/springerQuarantineBooksR#19 will fix it, but it has not yet been implemented.

Comment written by Cimi on May 01, 2020 13:14:35:

Ok, either way thanks.

@AntoineSoetewey
Copy link
Owner

Comment written by Paul Niel on May 02, 2020 14:46:00:

Hi, I seem to run into an error: 

> download_springer_book_files()  Downloading title latest editions.                                                Processing... Fundamentals of Power Electronics (1 out of 391)  Error in http_error(get_file) : could not find function "http_error"

Is there a package missing? Or what would I need to install.

Thanks

@AntoineSoetewey
Copy link
Owner

Comment written by Paul Niel on May 02, 2020 14:46:00:

Hi, I seem to run into an error: 

download_springer_book_files()  Downloading title latest editions.                                                Processing... Fundamentals of Power Electronics (1 out of 391)  Error in http_error(get_file) : could not find function "http_error"

Is there a package missing? Or what would I need to install.

Thanks

Comment written by Antoine Soetewey on May 02, 2020 14:55:09:

Dear Paul,

Can you try again after having installed the {httr} package: 
install.packages('httr')
library('httr')

Best, 
Antoine

@AntoineSoetewey
Copy link
Owner

Comment written by Eliza on May 02, 2020 16:58:12:

Can't install the package. It converts the dplyr warning into an error so it forces the installation to halt.
"Error: (converted from warning) package 'dplyr' was built under R version 3.6.3. Execution halted"

Any suggestion?

@AntoineSoetewey
Copy link
Owner

Comment written by Eliza on May 02, 2020 16:58:12:

Can't install the package. It converts the dplyr warning into an error so it forces the installation to halt.
"Error: (converted from warning) package 'dplyr' was built under R version 3.6.3. Execution halted"

Any suggestion?

Comment written by Antoine Soetewey on May 02, 2020 17:46:41:

Dear Eliza,

It should be fixed now. Can you reinstall the package with:  devtools::install_github("renanxcortes/springerQuarantineBooksR", force = TRUE)

And see if it works?

@AntoineSoetewey
Copy link
Owner

Comment written by pocheche on April 30, 2020 16:37:33:

Tried to change settings for epub download but does not work, please ....

Comment written by Antoine Soetewey on May 03, 2020 09:25:24:

Hard to fix your issue without seeing the error. If you still struggle, please add the error here or open an issue on GitHub: https://github.com/renanxcortes/springerQuarantineBooksR/issues

@AntoineSoetewey
Copy link
Owner

Comment written by Christian Yosser Alcarraz Vale on May 04, 2020 06:24:41:

These packages have more recent versions available.  It is recommended to update all of them.  Which would you like to update?  

1: All                                        
2: CRAN packages only                         
3: None                                       
4: pkgconfig  (2.0.1    -> 2.0.3   ) [CRAN]   
5: assertthat (0.2.0    -> 0.2.1   ) [CRAN]   
6: purrr      (0.3.3    -> 0.3.4   ) [CRAN]   
7: R6         (2.2.2    -> 2.4.1   ) [CRAN]   
8: Rcpp       (1.0.4    -> 1.0.4.6 ) [CRAN]   
9: tibble     (3.0.0    -> 3.0.1   ) [CRAN] 
10: BH         (1.66.0-1 -> 1.72.0-3) [CRAN] 
11: stringi    (1.1.7    -> 1.4.6   ) [CRAN] 
12: curl       (3.2      -> 4.3     ) [CRAN] 
13: mime       (0.5      -> 0.9     ) [CRAN] 
14: openssl    (1.0.1    -> 1.4.1   ) [CRAN] 
15: lubridate  (1.7.4    -> 1.7.8   ) [CRAN]
Enter one or more numbers, or an empty line to skip updates:

then 1 put 1 but.....

Error: Failed to install 'springerQuarantineBooksR' from GitHub:    (converted from warning) cannot remove prior installation of package ‚Äòrlang‚Äô  In addition: Warning messages:  1: In untar2(tarfile, files, list, exdir) :    skipping pax global extended headers  2: In untar2(tarfile, files, list, exdir) :    skipping pax global extended headers

@AntoineSoetewey
Copy link
Owner

Comment written by Christian Yosser Alcarraz Vale on May 04, 2020 06:24:41:

These packages have more recent versions available.  It is recommended to update all of them.  Which would you like to update?  

1: All                                        
2: CRAN packages only                         
3: None                                       
4: pkgconfig  (2.0.1    -> 2.0.3   ) [CRAN]   
5: assertthat (0.2.0    -> 0.2.1   ) [CRAN]   
6: purrr      (0.3.3    -> 0.3.4   ) [CRAN]   
7: R6         (2.2.2    -> 2.4.1   ) [CRAN]   
8: Rcpp       (1.0.4    -> 1.0.4.6 ) [CRAN]   
9: tibble     (3.0.0    -> 3.0.1   ) [CRAN] 
10: BH         (1.66.0-1 -> 1.72.0-3) [CRAN] 
11: stringi    (1.1.7    -> 1.4.6   ) [CRAN] 
12: curl       (3.2      -> 4.3     ) [CRAN] 
13: mime       (0.5      -> 0.9     ) [CRAN] 
14: openssl    (1.0.1    -> 1.4.1   ) [CRAN] 
15: lubridate  (1.7.4    -> 1.7.8   ) [CRAN]
Enter one or more numbers, or an empty line to skip updates:

then 1 put 1 but.....

Error: Failed to install 'springerQuarantineBooksR' from GitHub:    (converted from warning) cannot remove prior installation of package ‚Äòrlang‚Äô  In addition: Warning messages:  1: In untar2(tarfile, files, list, exdir) :    skipping pax global extended headers  2: In untar2(tarfile, files, list, exdir) :    skipping pax global extended headers

Comment written by Antoine Soetewey on May 04, 2020 08:11:12:

Dear Christian,

Can you try again without downloading updates, so by typing "3".

If you still have an issue, please open an issue on GitHub so the author of the package can have a look at it and hopefully fix it.

Best, 
Antoine

@AntoineSoetewey
Copy link
Owner

Comment written by Christian Yosser Alcarraz Vale on May 04, 2020 06:24:41:
These packages have more recent versions available.  It is recommended to update all of them.  Which would you like to update?  
1: All                                        
2: CRAN packages only                         
3: None                                       
4: pkgconfig  (2.0.1    -> 2.0.3   ) [CRAN]   
5: assertthat (0.2.0    -> 0.2.1   ) [CRAN]   
6: purrr      (0.3.3    -> 0.3.4   ) [CRAN]   
7: R6         (2.2.2    -> 2.4.1   ) [CRAN]   
8: Rcpp       (1.0.4    -> 1.0.4.6 ) [CRAN]   
9: tibble     (3.0.0    -> 3.0.1   ) [CRAN] 
10: BH         (1.66.0-1 -> 1.72.0-3) [CRAN] 
11: stringi    (1.1.7    -> 1.4.6   ) [CRAN] 
12: curl       (3.2      -> 4.3     ) [CRAN] 
13: mime       (0.5      -> 0.9     ) [CRAN] 
14: openssl    (1.0.1    -> 1.4.1   ) [CRAN] 
15: lubridate  (1.7.4    -> 1.7.8   ) [CRAN]
Enter one or more numbers, or an empty line to skip updates:
then 1 put 1 but.....
Error: Failed to install 'springerQuarantineBooksR' from GitHub:    (converted from warning) cannot remove prior installation of package ‚Äòrlang‚Äô  In addition: Warning messages:  1: In untar2(tarfile, files, list, exdir) :    skipping pax global extended headers  2: In untar2(tarfile, files, list, exdir) :    skipping pax global extended headers

Comment written by Antoine Soetewey on May 04, 2020 08:11:12:

Dear Christian,

Can you try again without downloading updates, so by typing "3".

If you still have an issue, please open an issue on GitHub so the author of the package can have a look at it and hopefully fix it.

Best, 
Antoine

Comment written by Claire Joy Gruyal on May 04, 2020 07:24:26:

same problem, still error if suggested code used.

@AntoineSoetewey
Copy link
Owner

Comment written by Christian Yosser Alcarraz Vale on May 04, 2020 06:24:41:
These packages have more recent versions available.  It is recommended to update all of them.  Which would you like to update?  
1: All                                        
2: CRAN packages only                         
3: None                                       
4: pkgconfig  (2.0.1    -> 2.0.3   ) [CRAN]   
5: assertthat (0.2.0    -> 0.2.1   ) [CRAN]   
6: purrr      (0.3.3    -> 0.3.4   ) [CRAN]   
7: R6         (2.2.2    -> 2.4.1   ) [CRAN]   
8: Rcpp       (1.0.4    -> 1.0.4.6 ) [CRAN]   
9: tibble     (3.0.0    -> 3.0.1   ) [CRAN] 
10: BH         (1.66.0-1 -> 1.72.0-3) [CRAN] 
11: stringi    (1.1.7    -> 1.4.6   ) [CRAN] 
12: curl       (3.2      -> 4.3     ) [CRAN] 
13: mime       (0.5      -> 0.9     ) [CRAN] 
14: openssl    (1.0.1    -> 1.4.1   ) [CRAN] 
15: lubridate  (1.7.4    -> 1.7.8   ) [CRAN]
Enter one or more numbers, or an empty line to skip updates:
then 1 put 1 but.....
Error: Failed to install 'springerQuarantineBooksR' from GitHub:    (converted from warning) cannot remove prior installation of package ‚Äòrlang‚Äô  In addition: Warning messages:  1: In untar2(tarfile, files, list, exdir) :    skipping pax global extended headers  2: In untar2(tarfile, files, list, exdir) :    skipping pax global extended headers

Comment written by Antoine Soetewey on May 04, 2020 08:11:12:
Dear Christian,
Can you try again without downloading updates, so by typing "3".
If you still have an issue, please open an issue on GitHub so the author of the package can have a look at it and hopefully fix it.
Best, 
Antoine

Comment written by Claire Joy Gruyal on May 04, 2020 07:24:26:

same problem, still error if suggested code used.

Comment written by Antoine Soetewey on May 04, 2020 08:08:55:

Dear Claire,

Sorry about that. May I ask you to open an issue on GitHub so the author of the package can have a look and hopefully fix it?

Best, 
Antoine

@AntoineSoetewey
Copy link
Owner

Comment written by Earl Glynn on May 10, 2020 19:17:00:

After updating all packages using R 3.6.0 on Windows, I could not get  the installation to work

devtools::install_github("renanxcortes/springerQuarantineBooksR") with or without a force = TRUE. 

I couldn't get around the error:
Error: Failed to install 'springerQuarantineBooksR' from GitHub:    (converted from warning) installation of package C:/Users/efg/AppData/Local/Temp/RtmpkDN3Ua/file47d44bc566d5/springerQuarantineBooksR_0.1.0.tar.gz had non-zero exit status

Instead of waiting for a fix, I used 7zip to extract the files from the tar.gz file mentioned in the error: springerQuarantineBooksR_0.1.0.tar.gz -> springerQuarantineBooksR_0.1.0.tar -> springerQuarantineBooksR folder From the R subfolder, copy functions from files into your own script or RStudio notebook:  download_springer_table.R,   download_springer_book.R,   download_springer_book_files.R

Add these packages and everything worked for me then:
library(magrittr) # extract2  library(httr)     # GET  library(readxl)   # read_excel  library(janitor)  # clean_names download_springer_book_files() I added a separate call to download_springer_table to get a book list in an Excel file: springerTable <- download_springer_table()  springerTable library(writexl)  # write_xlsx  write_xlsx(springerTable, "Springer-Table-of-Books.xlsx")

I also grabbed all the German-language books: 
download_springer_book_files(lan = 'ger')

Apparently the package installation process is more complicated than the three R functions that do all the work.

Comment written by Antoine Soetewey on May 10, 2020 20:44:00:

Dear Earl,

Good to hear that you found a workaround. 

If in the future you want to use the package, feel free to open an issue on GitHub (https://github.com/renanxcortes/springerQuarantineBooksR), the author of the package will probably be able to fix it!

Enjoy the books.

Best, 
Antoine

@AntoineSoetewey
Copy link
Owner

AntoineSoetewey commented Jan 4, 2021

Comment written by Javier Beltran on May 11, 2020 09:54:02:

Thanks for the initiative, but the installation does not work. I have updated all the packages and the error keeps saying: 
Error: (converted from warning) package 'dplyr' was built under R version 3.6.3  Execution halted 
ERROR: lazy loading failed for package 'springerQuarantineBooksR' 
removing 'C:/Program Files/R/R-3.6.1/library/springerQuarantineBooksR' 
Error: Failed to install 'springerQuarantineBooksR' from GitHub:    (converted from warning) installation of package C:/Users/n9675230/AppData/Local/Temp/RtmpM3OxTa/file2030675728e3/springerQuarantineBooksR_0.1.0.tar.gz had non-zero exit status

I will keep trying...Thanks again!!!!

@AntoineSoetewey
Copy link
Owner

Comment written by Javier Beltran on May 11, 2020 09:54:02:

Thanks for the initiative, but the installation does not work. I have updated all the packages and the error keeps saying: 
Error: (converted from warning) package 'dplyr' was built under R version 3.6.3  Execution halted 
ERROR: lazy loading failed for package 'springerQuarantineBooksR' 
removing 'C:/Program Files/R/R-3.6.1/library/springerQuarantineBooksR' 
Error: Failed to install 'springerQuarantineBooksR' from GitHub:    (converted from warning) installation of package C:/Users/n9675230/AppData/Local/Temp/RtmpM3OxTa/file2030675728e3/springerQuarantineBooksR_0.1.0.tar.gz had non-zero exit status

I will keep trying...Thanks again!!!!

Comment written by Antoine Soetewey on May 11, 2020 10:10:28:

Dear Javier,

Can you try again after having installed the {dplyr} package:  install.packages("dplyr")

If this does not fix the issue, feel free to open an issue on GitHub, the author of the package will probably be able to fix it.

Hope this helps.

Best, 
Antoine

@AntoineSoetewey
Copy link
Owner

Comment written by Javier Beltran on May 11, 2020 09:54:02:
Thanks for the initiative, but the installation does not work. I have updated all the packages and the error keeps saying: 
Error: (converted from warning) package 'dplyr' was built under R version 3.6.3  Execution halted 
ERROR: lazy loading failed for package 'springerQuarantineBooksR' 
removing 'C:/Program Files/R/R-3.6.1/library/springerQuarantineBooksR' 
Error: Failed to install 'springerQuarantineBooksR' from GitHub:    (converted from warning) installation of package C:/Users/n9675230/AppData/Local/Temp/RtmpM3OxTa/file2030675728e3/springerQuarantineBooksR_0.1.0.tar.gz had non-zero exit status
I will keep trying...Thanks again!!!!

Comment written by Antoine Soetewey on May 11, 2020 10:10:28:

Dear Javier,

Can you try again after having installed the {dplyr} package:  install.packages("dplyr")

If this does not fix the issue, feel free to open an issue on GitHub, the author of the package will probably be able to fix it.

Hope this helps.

Best, 
Antoine

Comment written by Javier Beltran on May 11, 2020 11:12:07:

Thanks for your response. As I mentioned before, I updated all the packages, included dplyr, and the error message is still the same. I will put an issue about "installation problems". Thanks again!

@AntoineSoetewey
Copy link
Owner

Comment written by Gessica Vasconcelos on May 13, 2020 21:47:54:

Thank you for the code! It was very helpful! I had an issue when trying to download the files but then I realized that R was outdated. If someone is having issues check and update R. It might solve your problem as well.

@AntoineSoetewey
Copy link
Owner

Comment written by Gessica Vasconcelos on May 13, 2020 21:47:54:

Thank you for the code! It was very helpful! I had an issue when trying to download the files but then I realized that R was outdated. If someone is having issues check and update R. It might solve your problem as well.

Comment written by Antoine Soetewey on May 14, 2020 05:23:21:

Thanks for your suggestion Gessica!

@AntoineSoetewey
Copy link
Owner

Comment written by Anatoly Likhatchev on May 17, 2020 16:49:13:

I am having an issue downloading all the Springer books. I end up getting all the book files by running download_springer_book_files(); however, they are all 14Kb. Anyone else having a similar problem?

@AntoineSoetewey
Copy link
Owner

Comment written by Anatoly Likhatchev on May 17, 2020 16:49:13:

I am having an issue downloading all the Springer books. I end up getting all the book files by running download_springer_book_files(); however, they are all 14Kb. Anyone else having a similar problem?

Comment written by Antoine Soetewey on May 17, 2020 18:32:32:

Dear Anatoly,

Thanks for your feedback. The issue has been documented on GitHub. It seems that it is related to a recent additional security added by Springer.

The author is currently trying to fix it, and I will update the article as soon as a solution is found. Don't hesitate to come back to check it out.

In the meantime, you can still download books one by one through the links included in this dynamic table or all of them here.

Best,
Antoine

@AntoineSoetewey
Copy link
Owner

Comment written by Anatoly Likhatchev on May 17, 2020 16:49:13:
I am having an issue downloading all the Springer books. I end up getting all the book files by running download_springer_book_files(); however, they are all 14Kb. Anyone else having a similar problem?

Comment written by Antoine Soetewey on May 17, 2020 18:32:32:

Dear Anatoly,

Thanks for your feedback. The issue has been documented on GitHub. It seems that it is related to a recent additional security added by Springer.

The author is currently trying to fix it, and I will update the article as soon as a solution is found. Don't hesitate to come back to check it out.

In the meantime, you can still download books one by one through the links included in this dynamic table or all of them here.

Best,
Antoine

Comment written by Anatoly Likhatchev on May 17, 2020 18:48:19:

Antonie, thank you for the note. Will keep an eye out on the fix.

@AntoineSoetewey
Copy link
Owner

Comment written by Anatoly Likhatchev on May 17, 2020 16:49:13:
I am having an issue downloading all the Springer books. I end up getting all the book files by running download_springer_book_files(); however, they are all 14Kb. Anyone else having a similar problem?

Comment written by Antoine Soetewey on May 17, 2020 18:32:32:
Dear Anatoly,
Thanks for your feedback. The issue has been documented on GitHub. It seems that it is related to a recent additional security added by Springer.
The author is currently trying to fix it, and I will update the article as soon as a solution is found. Don't hesitate to come back to check it out.
In the meantime, you can still download books one by one through the links included in this dynamic table or all of them here.
Best,
Antoine

Comment written by Anatoly Likhatchev on May 17, 2020 18:48:19:

Antonie, thank you for the note. Will keep an eye out on the fix.

Comment written by Antoine Soetewey on May 21, 2020 05:43:53:

Dear Anatoly,

The issue has been fixed through this pull request. You can download the books again.

Best,
Antoine

@AntoineSoetewey
Copy link
Owner

AntoineSoetewey commented Jan 4, 2021

Comment written by Jeri Kuusik on May 22, 2020 11:37:25:

Hi. I downloaded all books, but most of them are with size of 14Kb and can not be opened at all

@AntoineSoetewey
Copy link
Owner

Comment written by Jeri Kuusik on May 22, 2020 11:37:25:

Hi. I downloaded all books, but most of them are with size of 14Kb and can not be opened at all

Comment written by Antoine Soetewey on May 22, 2020 12:12:24:

Dear Jeri,

Could you try reinstalling the latest version of the package with: devtools::install_github("renanxcortes/springerQuarantineBooksR", force = TRUE)

(don't forget force = TRUE) and downloading the books again?

Let me know if this helps.

Best,
Antoine

@AntoineSoetewey
Copy link
Owner

Comment written by Jeri Kuusik on May 22, 2020 11:37:25:
Hi. I downloaded all books, but most of them are with size of 14Kb and can not be opened at all

Comment written by Antoine Soetewey on May 22, 2020 12:12:24:

Dear Jeri,

Could you try reinstalling the latest version of the package with: devtools::install_github("renanxcortes/springerQuarantineBooksR", force = TRUE)

(don't forget force = TRUE) and downloading the books again?

Let me know if this helps.

Best,
Antoine

Comment written by Jeri Kuusik on May 22, 2020 13:05:00:

Unfortunately, it does not help
Still all books are 14kb size
I am using R 3.6.1 on Linux (Centos 7)

@AntoineSoetewey
Copy link
Owner

AntoineSoetewey commented Jan 4, 2021

Comment written by Jeri Kuusik on May 22, 2020 11:37:25:
Hi. I downloaded all books, but most of them are with size of 14Kb and can not be opened at all

Comment written by Antoine Soetewey on May 22, 2020 12:12:24:
Dear Jeri,
Could you try reinstalling the latest version of the package with: devtools::install_github("renanxcortes/springerQuarantineBooksR", force = TRUE)
(don't forget force = TRUE) and downloading the books again?
Let me know if this helps.
Best,
Antoine

Comment written by Jeri Kuusik on May 22, 2020 13:05:00:

Unfortunately, it does not help
Still all books are 14kb size
I am using R 3.6.1 on Linux (Centos 7)

Comment written by Antoine Soetewey on May 22, 2020 16:53:41:

May I ask you to open an issue on GitHub so the author can have a deeper look into your issue?

Thanks in advance!

@AntoineSoetewey
Copy link
Owner

Comment written by Anatoly Likhatchev on May 17, 2020 16:49:13:
I am having an issue downloading all the Springer books. I end up getting all the book files by running download_springer_book_files(); however, they are all 14Kb. Anyone else having a similar problem?

Comment written by Antoine Soetewey on May 17, 2020 18:32:32:
Dear Anatoly,
Thanks for your feedback. The issue has been documented on GitHub. It seems that it is related to a recent additional security added by Springer.
The author is currently trying to fix it, and I will update the article as soon as a solution is found. Don't hesitate to come back to check it out.
In the meantime, you can still download books one by one through the links included in this dynamic table or all of them here.
Best,
Antoine

Comment written by Anatoly Likhatchev on May 17, 2020 18:48:19:
Antonie, thank you for the note. Will keep an eye out on the fix.

Comment written by Antoine Soetewey on May 21, 2020 05:43:53:

Dear Anatoly,

The issue has been fixed through this pull request. You can download the books again.

Best,
Antoine

Comment written by Anatoly Likhatchev on May 23, 2020 14:38:48:

Antoine, I've updated the package via devtools::install_github("renanxcortes/springerQuarantineBooksR#59", force = TRUE), but still having the 14K problem when downloading.

Regards,
Anatoly

@AntoineSoetewey
Copy link
Owner

Comment written by Anatoly Likhatchev on May 17, 2020 16:49:13:
I am having an issue downloading all the Springer books. I end up getting all the book files by running download_springer_book_files(); however, they are all 14Kb. Anyone else having a similar problem?

Comment written by Antoine Soetewey on May 17, 2020 18:32:32:
Dear Anatoly,
Thanks for your feedback. The issue has been documented on GitHub. It seems that it is related to a recent additional security added by Springer.
The author is currently trying to fix it, and I will update the article as soon as a solution is found. Don't hesitate to come back to check it out.
In the meantime, you can still download books one by one through the links included in this dynamic table or all of them here.
Best,
Antoine

Comment written by Anatoly Likhatchev on May 17, 2020 18:48:19:
Antonie, thank you for the note. Will keep an eye out on the fix.

Comment written by Antoine Soetewey on May 21, 2020 05:43:53:
Dear Anatoly,
The issue has been fixed through this pull request. You can download the books again.
Best,
Antoine

Comment written by Anatoly Likhatchev on May 23, 2020 14:38:48:

Antoine, I've updated the package via devtools::install_github("renanxcortes/springerQuarantineBooksR#59", force = TRUE), but still having the 14K problem when downloading.

Regards,
Anatoly

Comment written by Antoine Soetewey on May 23, 2020 14:41:33:

May I ask you to open an issue on GitHub so the author can have a deeper look into your issue?

Thanks in advance!

@AntoineSoetewey
Copy link
Owner

Comment written by Anatoly Likhatchev on May 17, 2020 16:49:13:
I am having an issue downloading all the Springer books. I end up getting all the book files by running download_springer_book_files(); however, they are all 14Kb. Anyone else having a similar problem?

Comment written by Antoine Soetewey on May 17, 2020 18:32:32:
Dear Anatoly,
Thanks for your feedback. The issue has been documented on GitHub. It seems that it is related to a recent additional security added by Springer.
The author is currently trying to fix it, and I will update the article as soon as a solution is found. Don't hesitate to come back to check it out.
In the meantime, you can still download books one by one through the links included in this dynamic table or all of them here.
Best,
Antoine

Comment written by Anatoly Likhatchev on May 17, 2020 18:48:19:
Antonie, thank you for the note. Will keep an eye out on the fix.

Comment written by Antoine Soetewey on May 21, 2020 05:43:53:
Dear Anatoly,
The issue has been fixed through this pull request. You can download the books again.
Best,
Antoine

Comment written by Anatoly Likhatchev on May 23, 2020 14:38:48:
Antoine, I've updated the package via devtools::install_github("renanxcortes/springerQuarantineBooksR#59", force = TRUE), but still having the 14K problem when downloading.
Regards,
Anatoly

Comment written by Antoine Soetewey on May 23, 2020 14:41:33:

May I ask you to open an issue on GitHub so the author can have a deeper look into your issue?

Thanks in advance!

Comment written by Anatoly Likhatchev on May 23, 2020 18:54:59:

Done via renanxcortes/springerQuarantineBooksR#61

Cheers

@AntoineSoetewey
Copy link
Owner

Comment written by Jeri Kuusik on May 22, 2020 11:37:25:
Hi. I downloaded all books, but most of them are with size of 14Kb and can not be opened at all

Comment written by Antoine Soetewey on May 22, 2020 12:12:24:
Dear Jeri,
Could you try reinstalling the latest version of the package with: devtools::install_github("renanxcortes/springerQuarantineBooksR", force = TRUE)
(don't forget force = TRUE) and downloading the books again?
Let me know if this helps.
Best,
Antoine

Comment written by Jeri Kuusik on May 22, 2020 13:05:00:
Unfortunately, it does not help
Still all books are 14kb size
I am using R 3.6.1 on Linux (Centos 7)

Comment written by Antoine Soetewey on May 22, 2020 16:53:41:

May I ask you to open an issue on GitHub so the author can have a deeper look into your issue?

Thanks in advance!

Comment written by Jeri Kuusik on May 25, 2020 15:55:35:

Unfortunately, upgrading R to 4.0.0 did not helped. Still all books are 14kb

@AntoineSoetewey
Copy link
Owner

Comment written by Jeri Kuusik on May 22, 2020 11:37:25:
Hi. I downloaded all books, but most of them are with size of 14Kb and can not be opened at all

Comment written by Antoine Soetewey on May 22, 2020 12:12:24:
Dear Jeri,
Could you try reinstalling the latest version of the package with: devtools::install_github("renanxcortes/springerQuarantineBooksR", force = TRUE)
(don't forget force = TRUE) and downloading the books again?
Let me know if this helps.
Best,
Antoine

Comment written by Jeri Kuusik on May 22, 2020 13:05:00:
Unfortunately, it does not help
Still all books are 14kb size
I am using R 3.6.1 on Linux (Centos 7)

Comment written by Antoine Soetewey on May 22, 2020 16:53:41:
May I ask you to open an issue on GitHub so the author can have a deeper look into your issue?
Thanks in advance!

Comment written by Jeri Kuusik on May 25, 2020 15:55:35:

Unfortunately, upgrading R to 4.0.0 did not helped. Still all books are 14kb

Comment written by Antoine Soetewey on May 25, 2020 16:04:44:

Dear Jeri,

As you can see in this issue, Springer tweaked the reCAPTCHA few days ago so at the moment it's not possible to use the package to download the books.

The author is trying to fix the issue, so the best thing you can do is to visit the repo from time to time to check whether it has been fixed. (If I don't forget, I'll also inform you here when it's fixed.)

Note that you can still download books one by one via this dynamic table or all of them here.

Sorry about that!

Best,
Antoine

@AntoineSoetewey
Copy link
Owner

Comment written by Anatoly Likhatchev on May 17, 2020 16:49:13:
I am having an issue downloading all the Springer books. I end up getting all the book files by running download_springer_book_files(); however, they are all 14Kb. Anyone else having a similar problem?

Comment written by Antoine Soetewey on May 17, 2020 18:32:32:
Dear Anatoly,
Thanks for your feedback. The issue has been documented on GitHub. It seems that it is related to a recent additional security added by Springer.
The author is currently trying to fix it, and I will update the article as soon as a solution is found. Don't hesitate to come back to check it out.
In the meantime, you can still download books one by one through the links included in this dynamic table or all of them here.
Best,
Antoine

Comment written by Anatoly Likhatchev on May 17, 2020 18:48:19:
Antonie, thank you for the note. Will keep an eye out on the fix.

Comment written by Antoine Soetewey on May 21, 2020 05:43:53:
Dear Anatoly,
The issue has been fixed through this pull request. You can download the books again.
Best,
Antoine

Comment written by Anatoly Likhatchev on May 23, 2020 14:38:48:
Antoine, I've updated the package via devtools::install_github("renanxcortes/springerQuarantineBooksR#59", force = TRUE), but still having the 14K problem when downloading.
Regards,
Anatoly

Comment written by Antoine Soetewey on May 23, 2020 14:41:33:
May I ask you to open an issue on GitHub so the author can have a deeper look into your issue?
Thanks in advance!

Comment written by Anatoly Likhatchev on May 23, 2020 18:54:59:

Done via renanxcortes/springerQuarantineBooksR#61

Cheers

Comment written by Antoine Soetewey on May 27, 2020 11:08:33:

Dear Anatoly,

Not sure that the issue will be fixed unfortunately...

However, if you are still interested, you can download all books here, or one by one via this dynamic table.

Best,
Antoine

@AntoineSoetewey
Copy link
Owner

Comment written by Inseon Lee on May 29, 2020 04:40:56:

Thank you so much! It worked well after updating R to the newest version. Stay healthy!

@AntoineSoetewey
Copy link
Owner

Comment written by Inseon Lee on May 29, 2020 04:40:56:

Thank you so much! It worked well after updating R to the newest version. Stay healthy!

Comment written by Antoine Soetewey on May 29, 2020 05:43:41:

Glad it worked for you Inseon!

@AntoineSoetewey
Copy link
Owner

Comment written by Ken Rosever on July 01, 2020 04:43:29:

Hi Antoine, do you happen to know how much storage the whole collection takes?

@AntoineSoetewey
Copy link
Owner

Comment written by Ken Rosever on July 01, 2020 04:43:29:

Hi Antoine, do you happen to know how much storage the whole collection takes?

Comment written by Antoine Soetewey on July 01, 2020 05:45:45:

Dear Ken,

Almost 8GB.

Best,
Antoine

@AntoineSoetewey
Copy link
Owner

Comment written by Isaac Gordillo on August 06, 2020 04:33:05:

Hi Antoine,

the progrma it's not working for me, is the free book thing over? And if it is, do you happened to have the books? Because I didn't know about it on time.

@AntoineSoetewey
Copy link
Owner

Comment written by Isaac Gordillo on August 06, 2020 04:33:05:

Hi Antoine,

the progrma it's not working for me, is the free book thing over? And if it is, do you happened to have the books? Because I didn't know about it on time.

Comment written by Antoine Soetewey on August 06, 2020 06:10:05:

Dear Isaac,

The promotion has ended so it is not possible to download the books through R. If you did not download the books in time, you can still have access to them here.

Regards,
Antoine

@AntoineSoetewey
Copy link
Owner

Comment written by Pinpacho handsome on October 29, 2020 17:56:22:

Hi

I couldn't download early.

Someone have all the books, it help me a lot of. The link above the picture doesn't work, there is another link?
Thanks

@AntoineSoetewey
Copy link
Owner

Comment written by Pinpacho handsome on October 29, 2020 17:56:22:

Hi

I couldn't download early.

Someone have all the books, it help me a lot of. The link above the picture doesn't work, there is another link?
Thanks

Comment written by Antoine Soetewey on October 29, 2020 19:03:23:

Dear Pinpacho,

Thanks for your message. Indeed the maintainer of the Google Drive link removed all books.

However, I found another link maintained by someone else and I updated the link at the top of the article. See here.

Hope this helps.

Regards,
Antoine

Repository owner locked and limited conversation to collaborators Jun 3, 2021

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
comment Comments for the blog
Projects
None yet
Development

No branches or pull requests

2 participants