[R-sig-Debian] updating R packages with r2u

ravi rv15| @end|ng |rom y@hoo@@e
Sat Nov 15 22:05:45 CET 2025


 Hi Facundo,Thanks for your reply. I must explain that they are two entirely different Ubuntu systems with different packages (there may be a few packages in common). What I have shown is the result of updating packages on Rstudio. Rstudio has chosen the list in both the cases. I am not sure, but the two cases have probably been done on separate dates. If I do it today, the lists will be different. In the latter case (with "Fetched 0 B"), the same packages will turn up because they have not been updated. From the beginning, they have not been updated. In the former case, the list will most definitely be different, because the updating works every time.
When I update Ubuntu, the installation of R packages via r-cran-mgcv etc seems to happen without any protests.
I hope that I have given a good picture of my problem.Cheers, Ravi
    On Saturday 15 November 2025 at 21:49:00 CET, Facundo Muñoz <facundo.munoz using cirad.fr> wrote:  
 
 Hi Ravi,

The list of packages that you try to install in the two systems is 
different. Only 3 of the long list get installed in the first system, 
while nothing gets installed in the second.

Are you sure you do not already have all those packages installed in the 
second system? That would explain that your command does not install 
anything, simply because it is not necessary.

Best

ƒacu.-

On 15/11/2025 21:37, ravi via R-SIG-Debian wrote:
>  Hi Dirk,Really sorry for my mangling up the text format. Will try to take special care of this in future posts.
> I am now enclosing a text file separately with the same text. Have not used the github repo before. Will give it a try to learn about that as well. You can choose which forum you want to reply.Cheers, Ravi
>      On Saturday 15 November 2025 at 15:38:14 CET, Dirk Eddelbuettel<edd using debian.org> wrote:
>  
>  
> Hi Ravi,
>
> Can you try sending this again, preferably as a text (not html) email with a
> little bit more attention played to formatting?  Empty lines between
> paragraphs help. It is currently near impossible to read this.
>
> If it is solely a r2u matter you could also open an issue at its github repo,
> issues allow you to format in markdown and formated included output verbatim.
>
> Many thanks, Dirk
>
>
> On 15 November 2025 at 14:13, ravi via R-SIG-Debian wrote:
> | Hi,I am grateful for the help that I received in setting up r2u on my ubuntu system a while back. This is working fine. But I have some strange problem with r2u on another PC that, as far as I know, I installed in the the same way.
> | Let me first show the results in Rstudio from the successfully working Ubuntu system:
> | install.packages(c("broom", "curl", "data.table", "dbplyr", "dtplyr", "evaluate", "forcats", "gargle", "ggplot2", "googledrive", "googlesheets4", "haven", "hms", "igraph", "magrittr", "openssl", "pillar", "pracma", "purrr", "Radviz", "ragg", "Rcpp", "RcppArmadillo", "reformulas", "renv", "rmarkdown", "rvest", "stringr", "systemfonts", "textshaping", "tibble", "utf8", "vroom", "xfun", "xml2"))Install system packages...Reading package lists... DoneBuilding dependency tree... DoneReading state information... DoneHithttps://cloud.r-project.org/bin/linux/ubuntu noble-cran40/ InReleaseHithttp://archive.ubuntu.com/ubuntu noble InReleaseHithttps://r2u.stat.illinois.edu/ubuntu noble InReleaseFetched 0 B in 0s (0 B/s)Reading package lists... DoneBuilding dependency tree... DoneReading state information... DoneGet:1https://r2u.stat.illinois.edu/ubuntu noble/main amd64 r-cran-rbibutils amd64 2.3-1.ca2404.2 [940 kB]Get:2https://r2u.stat.illinois.edu/ubuntu noble/main all r-cran-rdpack all 2.
> |  6.4-1.ca2404.1 [623 kB]Get:3https://r2u.stat.illinois.edu/ubuntu noble/main all r-cran-reformulas all 0.4.2-1.ca2404.1 [132 kB]Fetched 1696 kB in 0s (0 B/s)
> | Now, I will show the results from the Ubuntu system that appears to work OK, but does not download anything:install.packages(c("broom", "forcats", "hms", "magrittr", "openssl", "pillar", "rmarkdown", "vroom"))Install system packages...Reading package lists... DoneBuilding dependency tree... DoneReading state information... DoneHithttps://cloud.r-project.org/bin/linux/ubuntu noble-cran40/ InReleaseHithttp://security.ubuntu.com/ubuntu noble-security InReleaseHithttp://archive.ubuntu.com/ubuntu noble InReleaseHithttp://archive.ubuntu.com/ubuntu noble-updates InReleaseHithttp://archive.ubuntu.com/ubuntu noble-backports InReleaseHithttps://r2u.stat.illinois.edu/ubuntu noble InReleaseFetched 0 B in 0s (0 B/s)Reading package lists... DoneBuilding dependency tree... DoneReading state information... DoneFetched 0 B in 0s (0 B/s)
> | "Fetched 0 B" ? What can be the reason? The only differences that I can see from the two versions are the following two lines in the latter:Hithttp://security.ubuntu.com/ubuntu noble-security InRelease
> | Hithttp://archive.ubuntu.com/ubuntu noble-backports InRelease
> |
> | The .libPaths for the latter are :> .libPaths()[1] "/home/ravi/R/x86_64-pc-linux-gnu-library/4.5" "/usr/local/lib/R/site-library" "/usr/lib/R/site-library"[4] "/usr/lib/R/library"
> | I don't have a problem with updating and installing ubuntu for the latter. The problem appears to only with r2u.
> | Is this a known problem? Please let me know if any additional information is needed for troubleshooting.Thanks.Ravi
> |
> |
> |
> |     [[alternative HTML version deleted]]
> |
> | _______________________________________________
> | R-SIG-Debian mailing list
> |R-SIG-Debian using r-project.org
> |https://stat.ethz.ch/mailman/listinfo/r-sig-debian
>
>
> _______________________________________________
> R-SIG-Debian mailing list
> R-SIG-Debian using r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-debian

    [[alternative HTML version deleted]]

_______________________________________________
R-SIG-Debian mailing list
R-SIG-Debian using r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-debian
  
	[[alternative HTML version deleted]]



More information about the R-SIG-Debian mailing list