Re: [R] install.packages and package dependencies

2025-02-13 Thread Achim Zeileis via R-help
Apparently not just to Roger...sorry for spamming the entire list! In any case, I hope really do hope that this helps to resolve the issue. Ari, let us know if we can help with anything else. Best wishes, Achim On Thu, 13 Feb 2025, Achim Zeileis via R-help wrote: Roger, just to you: Thanks

Re: [R] install.packages and package dependencies

2025-02-13 Thread Achim Zeileis via R-help
Roger, just to you: Thanks for taking the time! I hope that Ari follows your recommendation, fingers crossed. Best wishes, Achim On Thu, 13 Feb 2025, Roger Bivand via R-help wrote: Ari, There were multiple errors in the acs package. If CRAN states that the maintainer abandoned it, that i

Re: [R] install.packages and package dependencies

2025-02-13 Thread Roger Bivand via R-help
Ari, There were multiple errors in the acs package. If CRAN states that the maintainer abandoned it, that is what happened. Had you reached out to Ezra Glenn (cc-ed here) and offered to help keep the package maintained, this hiccup need not have happened. The three problems were: 1) stale UR

Re: [R] install.packages and package dependencies

2025-02-13 Thread Achim Zeileis via R-help
On Thu, 13 Feb 2025, arilamst...@gmail.com wrote: Duncan and Berwin, Thank you for your help. I really wanted confirmation from someone more experienced than me that I wasn't missing something. It looks like there is no way to do this in one line in base R, and that's fine. For reference, the

Re: [R] install.packages and package dependencies

2025-02-13 Thread arilamstein
Duncan and Berwin, Thank you for your help. I really wanted confirmation from someone more experienced than me that I wasn't missing something. It looks like there is no way to do this in one line in base R, and that's fine. For reference, the packages that I am doing this for are acs and chorop

Re: [R] install.packages and package dependencies

2025-02-11 Thread Berwin A Turlach
On Thu, 6 Feb 2025 09:36:23 -0800 arilamst...@gmail.com wrote: > It appears that install.packages does not automatically install > package dependencies when the package is installed via a URL. [...] > When I type getOption('repos') I get: > >CRAN > "https://cran.rstudio.co

Re: [R] install.packages and package dependencies

2025-02-06 Thread Duncan Murdoch
I don't think install.packages() can do what you want. If you are specifying a URL, then install.packages() assumes it has no way to know where the other dependencies are supposed to come from. The typical way I install an unusual version of a package is to install the CRAN version first (ins

Re: [R] install.packages() R vs RStudio

2020-08-17 Thread Abby Spurdle
Duncan Murdoch wrote: > R is designed to be flexible, and to let people change its behaviour. > Using that flexibility is what all users should do. Improving the user > experience is what front-end writers should do. I don't find it > inadvisable at all. Well, that's a big whopping U-turn. Abb

Re: [R] install.packages() R vs RStudio

2020-08-17 Thread John Fox
Hi Duncan, What you say is entirely sensible. Yes, it's primarily the silent part that seems problematic to me. Messages about masking are uninteresting until one encounters a problem, and then they may provide an important clue to the source of the problem. As to this specific case: It's no

Re: [R] install.packages() R vs RStudio

2020-08-17 Thread Duncan Murdoch
Hi John. I suspect most good front ends do similar things. For example, on MacOS, R.app messes up "history()". I've never used ESS, but I imagine one could find examples where it acts differently than base R: isn't that the point? One hopes all differences are improvements, but sometimes

Re: [R] install.packages() R vs RStudio

2020-08-17 Thread John Fox
Dear Duncan, On 2020-08-17 9:03 a.m., Duncan Murdoch wrote: On 17/08/2020 7:54 a.m., Ivan Calandra wrote: Dear useRs, Following the recent activity on the list, I have been made aware of this discussion: https://stat.ethz.ch/pipermail/r-help/2020-May/466788.html I used to install all packages

Re: [R] install.packages() R vs RStudio

2020-08-17 Thread Ivan Calandra
Thank you Duncan for the very detailed and clear answer! Best, Ivan -- Dr. Ivan Calandra TraCEr, laboratory for Traceology and Controlled Experiments MONREPOS Archaeological Research Centre and Museum for Human Behavioural Evolution Schloss Monrepos 56567 Neuwied, Germany +49 (0) 2631 9772-243 ht

Re: [R] install.packages() R vs RStudio

2020-08-17 Thread Duncan Murdoch
On 17/08/2020 7:54 a.m., Ivan Calandra wrote: Dear useRs, Following the recent activity on the list, I have been made aware of this discussion: https://stat.ethz.ch/pipermail/r-help/2020-May/466788.html I used to install all packages in R, but for simplicity (I use RStudio for all purposes), I

Re: [R] install.packages() can't find install.packages() ?

2015-10-29 Thread Emma Hsueh
Hi Rolf, Looks like it is indeed the Halloween ghosts! I did what you said and it worked. Thank you! Do you know how the .RData might have gotten corrupted? Thanks again, Emma Rolf Turner 於 2015年10月29日 星期四寫道: > > > Have you tried this after starting R in a "clean" workspace? > Or perhaps after

Re: [R] install.packages() can't find install.packages() ?

2015-10-29 Thread Emma Hsueh
I turned the startup script back on and tried installing stringr. It went smoothly. Seems like the ghosts are gone. No clue how the corruption happened though. Thanks to both of you! Happy Halloween :D Best, Emma Boris Steipe 於 2015年10月30日 星期五寫道: > Emma - do installations still work after you

Re: [R] install.packages() can't find install.packages() ?

2015-10-29 Thread Boris Steipe
Emma - do installations still work after you switch the startup script back on that I suggested you comment out? I'm specifically asking about loading plot3D... As far as I'm concerned "it worked" would mean: you can load plot3D and magrittr through the startup script and then R is just fine an

Re: [R] install.packages() can't find install.packages() ?

2015-10-29 Thread Rolf Turner
Have you tried this after starting R in a "clean" workspace? Or perhaps after starting R --vanilla? It sounds to me like something is corrupted in your install.packages() function --- or possible somewhere else --- which could be induced by having some ghosts lurking about in .RData. (After

Re: [R] install.packages and dependencies=TRUE

2013-12-17 Thread Prof Brian Ripley
On 17/12/2013 22:02, Duncan Murdoch wrote: On 13-12-17 1:18 PM, Prof Brian Ripley wrote: The obvious idea to set up a local repository works. It takes 5 mins at most. That makes a lot of sense to do on Unix-alikes, but less so on Windows. A local repository of tarballs needs to be in src/co

Re: [R] install.packages and dependencies=TRUE

2013-12-17 Thread Duncan Murdoch
On 13-12-17 1:18 PM, Prof Brian Ripley wrote: The obvious idea to set up a local repository works. It takes 5 mins at most. That makes a lot of sense to do on Unix-alikes, but less so on Windows. A local repository of tarballs needs to be in src/contrib below the URL of the repository. On

Re: [R] install.packages and dependencies=TRUE

2013-12-17 Thread Prof Brian Ripley
The obvious idea to set up a local repository works. It takes 5 mins at most. On 17/12/2013 18:08, Duncan Murdoch wrote: So apparently not as simple as I thought it would be. So I'll tell you what I actually do: I have a number of packages under development, some on CRAN, some not. I also wo

Re: [R] install.packages and dependencies=TRUE

2013-12-17 Thread Duncan Murdoch
So apparently not as simple as I thought it would be. So I'll tell you what I actually do: I have a number of packages under development, some on CRAN, some not. I also work in multiple builds of R pretty frequently, so I like to install all my packages and commonly used ones from other peop

Re: [R] install.packages and dependencies=TRUE

2013-12-17 Thread Gábor Csárdi
> On Tue, Dec 17, 2013 at 11:36 AM, Duncan Murdoch > wrote: [...] >> I imagine some package has a function that does what you want, but I don't >> know it. It wouldn't be hard to put one together as follows: >> >> 1. install your package without its dependencies. This does not seem to work if t

Re: [R] install.packages and dependencies=TRUE

2013-12-17 Thread Gábor Csárdi
Thanks! Btw, install() from the devtools package can do this in theory, but not in practice, because of a bug (it silently ignores "Suggests"). This is fixed in their github version. Just to add something useful here. Gabor On Tue, Dec 17, 2013 at 11:36 AM, Duncan Murdoch wrote: > On 17/12/201

Re: [R] install.packages and dependencies=TRUE

2013-12-17 Thread Duncan Murdoch
On 17/12/2013 11:26 AM, Gábor Csárdi wrote: Dear all, I am trying to install a private package, with its dependencies. However, both install.packages("sand_1.0.tar.gz", dependencies=TRUE, repos=NULL, type="source") and install.packages("sand_1.0.tar.gz", dependencies="Suggests", repos=NULL, t

Re: [R] install.packages and dependencies=TRUE

2013-12-17 Thread Gábor Csárdi
Answer to myself. 'dependencies' are Not used if ‘repos = NULL’. Sorry for the noise. Gabor On Tue, Dec 17, 2013 at 11:26 AM, Gábor Csárdi wrote: > Dear all, > > I am trying to install a private package, with its dependencies. However, both > > install.packages("sand_1.0.tar.gz", dependencies=

Re: [R] install.packages on windows

2012-10-01 Thread Heramb Gadgil
You can look for different versions of that package and try manually installing the lower version. On Fri, Sep 28, 2012 at 11:25 PM, Uwe Ligges < lig...@statistik.tu-dortmund.de> wrote: > > > On 28.09.2012 00:32, Duncan Murdoch wrote: > >> On 12-09-27 2:53 PM, Anju R wrote: >> >>> Sometimes when

Re: [R] install.packages on windows

2012-09-28 Thread Uwe Ligges
On 28.09.2012 00:32, Duncan Murdoch wrote: On 12-09-27 2:53 PM, Anju R wrote: Sometimes when I try to install certain packages I get a warning message. For example, I tried to install the package "Imtest" on windows R version 2.15.1 and got the following message: Warning message: package ‘Imt

Re: [R] install.packages on windows

2012-09-27 Thread Duncan Murdoch
On 12-09-27 2:53 PM, Anju R wrote: Sometimes when I try to install certain packages I get a warning message. For example, I tried to install the package "Imtest" on windows R version 2.15.1 and got the following message: Warning message: package ‘Imtest’ is not available (for R version 2.15.1)

Re: [R] install.packages

2012-07-09 Thread Hui Du
roject.org Subject: Re: [R] install.packages Hi, On Mon, Jul 9, 2012 at 2:30 PM, Hui Du wrote: > > Hi All, > > I have two questions regarding install.packages(). > > Q1: may I run it in non-interactive mode, which means just install the > packages I want rather than letting me to

Re: [R] install.packages

2012-07-09 Thread Sarah Goslee
Hi, On Mon, Jul 9, 2012 at 2:30 PM, Hui Du wrote: > > Hi All, > > I have two questions regarding install.packages(). > > Q1: may I run it in non-interactive mode, which means just install the > packages I want rather than letting me to choose which mirror etc? Sure. If you read ?install.package

Re: [R] install.packages problem

2011-11-05 Thread Prof Brian Ripley
This is something missing from your (unstated) Linux installation. curl-config is part of the original libcurl sources, but Linux distributors tend to separte it out. *How* they do so is non-standard: Fedora and other RPM-based distributions tend to use libcurl-devel Debian and related tend

Re: [R] install.packages problem

2011-11-05 Thread Andrew Z
On Sat, Nov 5, 2011 at 2:47 PM, eric wrote: > I'm trying to install the rdatamarket package. I did an > install.packages('rdatamarket') command but got an error about half way > through the install as follows: > > * installing *source* package ‘RCurl’ ... > checking for curl-config... no > Cannot

Re: [R] install.packages barfs on dependencies= argument

2011-03-15 Thread Allan Engelhardt
Groan! Thanks. New baby mean no sleep. I'll make some more coffee. Allan On 15/03/11 08:18, Jim Lemon wrote: On 03/15/2011 06:57 PM, Allan Engelhardt wrote: I'm sure I used to be able to do ... unused argument(s) (dependecies = c("Depends", "Imports", "LinkingTo", check the spelling. Jim

Re: [R] install.packages barfs on dependencies= argument

2011-03-15 Thread Jim Lemon
On 03/15/2011 06:57 PM, Allan Engelhardt wrote: I'm sure I used to be able to do ... unused argument(s) (dependecies = c("Depends", "Imports", "LinkingTo", check the spelling. Jim __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/lis

Re: [R] install.packages & reshape failure

2011-03-13 Thread Joshua Wiley
Hi Geoff, What is your platform and R version? I cannot replicate on either: R version 2.12.1 (2010-12-16) Platform: i386-pc-mingw32/i386 (32-bit) attached base packages: [1] stats graphics grDevices utils datasets methods base other attached packages: [1] reshape_0.8.4 plyr_1.4 load

Re: [R] install.packages

2011-01-27 Thread Uwe Ligges
On 27.01.2011 11:16, Temel Canpolat wrote: Hi, I need to install "lmtest package".I have tried to several times to install packages however I could not. Can anyone help? Best regards install.packages () --- Please select a CRAN mirror for use in this session --- Warning: unable to access

Re: [R] install.packages() - old version deleted, new version did not install

2010-12-20 Thread Duncan Murdoch
I've just tentatively put code to fix this in place in R-devel. By default it is not enabled, because if it goes wrong it could really mess things up. To enable it, set options(install.lock=TRUE) before installing or updating binary packages in Windows. It will slow down all installs, so i

Re: [R] install.packages() - old version deleted, new version did not install

2010-12-20 Thread Jon Olav Skoien
This sounds like a good solution for the case I described in my first email. Thanks a lot! Jon On 12/20/2010 4:05 PM, Duncan Murdoch wrote: On 20/12/2010 9:29 AM, Duncan Murdoch wrote: On 20/12/2010 9:26 AM, Uwe Ligges wrote: > > On 20.12.2010 15:19, Duncan Murdoch wrote: > > On 20/12/2010

Re: [R] install.packages() - old version deleted, new version did not install

2010-12-20 Thread Duncan Murdoch
On 20/12/2010 9:29 AM, Duncan Murdoch wrote: On 20/12/2010 9:26 AM, Uwe Ligges wrote: > > On 20.12.2010 15:19, Duncan Murdoch wrote: > > On 20/12/2010 9:03 AM, Jon Olav Skoien wrote: [ lots deleted ] > >> Yes, I had it open. In this case it was intentional to give a > >> reproducibl

Re: [R] install.packages() - old version deleted, new version did not install

2010-12-20 Thread Duncan Murdoch
On 20/12/2010 9:26 AM, Uwe Ligges wrote: On 20.12.2010 15:19, Duncan Murdoch wrote: > On 20/12/2010 9:03 AM, Jon Olav Skoien wrote: >> On 12/20/2010 1:43 PM, Duncan Murdoch wrote: >> > Jon Olav Skoien wrote: >> >> On 12/17/2010 6:22 PM, Duncan Murdoch wrote: >> >>> On 17/12/2010 11:13 AM

Re: [R] install.packages() - old version deleted, new version did not install

2010-12-20 Thread Uwe Ligges
On 20.12.2010 15:19, Duncan Murdoch wrote: On 20/12/2010 9:03 AM, Jon Olav Skoien wrote: On 12/20/2010 1:43 PM, Duncan Murdoch wrote: > Jon Olav Skoien wrote: >> On 12/17/2010 6:22 PM, Duncan Murdoch wrote: >>> On 17/12/2010 11:13 AM, Jon Olav Skoien wrote: Dear list, (R 2.12.0,

Re: [R] install.packages() - old version deleted, new version did not install

2010-12-20 Thread Duncan Murdoch
On 20/12/2010 9:03 AM, Jon Olav Skoien wrote: On 12/20/2010 1:43 PM, Duncan Murdoch wrote: > Jon Olav Skoien wrote: >> On 12/17/2010 6:22 PM, Duncan Murdoch wrote: >>> On 17/12/2010 11:13 AM, Jon Olav Skoien wrote: Dear list, (R 2.12.0, Windows 7, 64bit) I recently

Re: [R] install.packages() - old version deleted, new version did not install

2010-12-20 Thread Jon Olav Skoien
On 12/20/2010 1:30 PM, Uwe Ligges wrote: On 20.12.2010 09:41, Jon Olav Skoien wrote: On 12/17/2010 6:22 PM, Duncan Murdoch wrote: On 17/12/2010 11:13 AM, Jon Olav Skoien wrote: Dear list, (R 2.12.0, Windows 7, 64bit) I recently tried to install a new package ("spacetime"), that depends on

Re: [R] install.packages() - old version deleted, new version did not install

2010-12-20 Thread Jon Olav Skoien
On 12/20/2010 1:43 PM, Duncan Murdoch wrote: Jon Olav Skoien wrote: On 12/17/2010 6:22 PM, Duncan Murdoch wrote: On 17/12/2010 11:13 AM, Jon Olav Skoien wrote: Dear list, (R 2.12.0, Windows 7, 64bit) I recently tried to install a new package ("spacetime"), that depends on "sp" among others

Re: [R] install.packages() - old version deleted, new version did not install

2010-12-20 Thread Duncan Murdoch
Jon Olav Skoien wrote: On 12/17/2010 6:22 PM, Duncan Murdoch wrote: On 17/12/2010 11:13 AM, Jon Olav Skoien wrote: Dear list, (R 2.12.0, Windows 7, 64bit) I recently tried to install a new package ("spacetime"), that depends on "sp" among others. I already had the last one installed, but ther

Re: [R] install.packages() - old version deleted, new version did not install

2010-12-20 Thread Uwe Ligges
On 20.12.2010 09:41, Jon Olav Skoien wrote: On 12/17/2010 6:22 PM, Duncan Murdoch wrote: On 17/12/2010 11:13 AM, Jon Olav Skoien wrote: Dear list, (R 2.12.0, Windows 7, 64bit) I recently tried to install a new package ("spacetime"), that depends on "sp" among others. I already had the last

Re: [R] install.packages() - old version deleted, new version did not install

2010-12-20 Thread Jon Olav Skoien
On 12/17/2010 6:22 PM, Duncan Murdoch wrote: On 17/12/2010 11:13 AM, Jon Olav Skoien wrote: Dear list, (R 2.12.0, Windows 7, 64bit) I recently tried to install a new package ("spacetime"), that depends on "sp" among others. I already had the last one installed, but there was probably a newer v

Re: [R] install.packages() - old version deleted, new version did not install

2010-12-17 Thread Duncan Murdoch
On 17/12/2010 11:13 AM, Jon Olav Skoien wrote: Dear list, (R 2.12.0, Windows 7, 64bit) I recently tried to install a new package ("spacetime"), that depends on "sp" among others. I already had the last one installed, but there was probably a newer version on CRAN, so the command > install.pa

Re: [R] install.packages Error

2010-05-14 Thread Uwe Ligges
I do not know, but perhaps things will resolve if you use a not that ancient version of R Uwe Ligges On 13.05.2010 20:44, Trojan wrote: Hi all! I am trying to install package - GenABEL in a Linux (RedHat) environment using R 2.6.2. The CRAN Mirror starts up, I select the site, but I end