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

[R] install.packages() R vs RStudio

2020-08-17 Thread Ivan Calandra
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 now do it in RStudio. Now I am left wondering wh

[R] install.packages handles package vs package dependencies differently

2019-09-09 Thread Chase Clark
First post, please excuse any ignorance. install.packages() seems to only respect install.packages(lib=) for the specified package (in the below case {purrr}) and will ignore any dependencies ({magrittr}, {rlang}) if they are found in any of the directories in .libPaths() (e.g. R_LIBS). The reaso

[R] install.packages: Option to keep build directory?

2016-07-12 Thread Loris Bennett
Hi, I'm trying to install the package 'nloptr' and am getting the error configure: error: in `/scratch/tmp/RtmpJ2Y1xA/R.INSTALL3b35583b483/nloptr': configure: error: C++ preprocessor "/lib/cpp" fails sanity check See `config.log' for more details I would like to check 'config.log', but the

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

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

2015-10-29 Thread Boris Steipe
We are seeing the following problem when trying to install magrittr on Ubuntu 14.04 install.packages("magrittr") Installing package into ‘/home/ehsueh/R/x86_64-pc-linux-gnu-library/3.0’ (as ‘lib’ is unspecified) --- Please select a CRAN mirror for use in this session --- trying URL 'http://lib

[R] install.packages problem

2015-04-23 Thread Sales RExcel
It seems that installed.packages has changed behavior in 3.2.0. We have a local package repository containing only binaries of packages (for Windows). Since 3.2.0, using install.packages for a package form such a repository does not work any more. The solution is to add the parameter type=“binar

[R] install.packages problem with R 3.1.0 on a multiuser linux system

2014-06-11 Thread eugene
7;help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > install.packages('animation') Warning in install.packages("animation") : 'lib = "/share/apps/r/3.1.0/lib64/R/library"' is n

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=

[R] install.packages and dependencies=TRUE

2013-12-17 Thread Gábor Csárdi
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, type="source") fail to install suggested packa

[R] install.packages umask configuration

2013-07-09 Thread Dan Tenenbaum
Hi, The R-admin manual says: "If installing packages on a Unix-alike to be used by other users, ensure that the system umask is set to give sufficient permissions (see also Sys.umask in R). (To a large extent this is unnecessary in recent versions of R, which install packages as if umask = 022.)"

[R] install.packages umask configuration

2013-02-05 Thread Francois Lefebvre
I have the same problem as Daniel Westphal, packages are always installed with umask 022, I'd like 002. Any solution so far? Thank you. Francois [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/m

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)

[R] install.packages on windows

2012-09-27 Thread Anju R
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) How can I install the above package?

[R] install.packages umask configuration

2012-08-16 Thread Daniel Westphal
Hello, I've been trying to setup a site library that allows the users to manage the R packages themselves, but am having an issue with permissions. As seen below, when installing a package using install.packages, the umask used is always 022. Instead, I would like it to be 002, allowing any user t

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

[R] install.packages

2012-07-09 Thread Hui Du
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? Q2: I ran a R code in batch mode, for example, R CMD BATCH a.r In a.r, I have some statements li

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

[R] install.packages problem

2011-11-05 Thread eric
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 find curl-config ERROR: configuration failed for package ‘

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

[R] install.packages barfs on dependencies= argument

2011-03-15 Thread Allan Engelhardt
I'm sure I used to be able to do my.dependencies<- c("Depends", "Imports", "LinkingTo", "Suggests", "Enhances") install.packages("animation", lib = Sys.getenv("R_LIBS_USER"), dependecies = my.dependencies) but now I get Error in download.file(url, destfile, method, mode = "wb", ...) : unused

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

[R] install.packages & reshape failure

2011-03-13 Thread Geoff Russell
I'm not sure where I should send this, I don't have a bugzilla account, but ... it concerns an interaction between library(reshape) and install.packages() ... My current .Rprofile includes: library(reshape) After which install.packages fails ... e.g., > install.packages("quantreg") Warning in in

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

[R] install.packages

2011-01-27 Thread Temel Canpolat
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 index for repository http://cran.cict.fr/bin/wind

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

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

2010-12-17 Thread Jon Olav Skoien
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.packages("spacetime") also gave me: also installin

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

[R] install.packages Error

2010-05-13 Thread Trojan
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 up with the following error: ** Warning: unable to access index for repository

[R] install.packages error

2009-12-07 Thread Adrian Dusa
Dear listeRs, I am trying to install a package from the command line, using install.packages(). Specifying all the parameters, I simply get this error: > r <- getOption("repos") > install.packages("rJava", dependencies=T, repos=r, lib="/home/adi/myRlib") Error: subscript out of bounds Additio