similar to: install.packages misleads about package availability?

Displaying 20 results from an estimated 1000 matches similar to: "install.packages misleads about package availability?"

2005 Mar 21
1
Buglet in install.packages warning message
I've been experimenting with install.packages and it's new ability to track down dependencies from a list of repositories and encountered this: install.packages(c("foo", "bar"), repos="http://cran.r-project.org", dependencies=c("Depends", "Suggests")) dependencies 'foo' are not availabledependencies 'bar'
2013 Jun 24
0
[LLVMdev] Compiling llvm and Clang in solaris 10
Norm, thanks for the help. Applying the fix solves the issue I mentioned but now I have more issues. I can install clang, but when running I cannot compile and link files. If I compile with -c flag it works but compiling the following x.c file gives an error: x.c: int main(void) { return 0; } > ./clang x.c /project/helder/scratch/packages2/bin/ld: unrecognized option '-C'
2013 Apr 25
1
lsfit: Error in formatting error message
Hi, in R-3.0 I get the following error when calling lsfit with more observations than variables, which seems to come from an error in the formatting of the error message (note that this was not happening in 2.15.3): > nobs <- 5; nvar <- 6; lsfit(matrix(runif(nobs*nvar), ncol=nvar), runif(nobs), intercept=FALSE) Error in sprintf(ngettext(nry, "%d response", "%d
2009 Apr 07
1
typo in R-ints.texi's description of P_ macro
I think there are some missing words in "R Internals"'s description of the P_ macro. It currently has "A macro as a wrapper for ngettext", which I think ought to be something like "The macro P_ may be used as a wrapper for ngettext". The following patch also makes the 2 alternate definitions of P_ have the same argument names, StringS and StringP. Expanding the
2003 Sep 18
2
R-1.7.1 package installation problem
Hi there, I am a bioinformatician working in DFCI. I am new to R. Yesterday I installed the R-1.7.1 to my Linux (since I am not able to find R-1.8 on the webpage). But I have some package installation problems ... 1. install.packages2() function isn't available. If I type at R prompt: >install.packages2("Biobase") Error: couldn't find function
2013 Nov 04
1
ggplot2: Add '+' operator for aes (uneval) objects
Dear all, Is there a reason, why there is no +-operator for aes (i.e. uneval) objects (as there is for themes and gg objects)? I had a couple of cases where such an operator would be useful, for instance to combine the result of aes and aes_string in functions. Any flaws with the following proposition: `+.uneval` <- function(e1, e2) { dup <- names(e1) %in% names(e2) if (any(dup)) {
2011 Nov 03
1
Select columns of a data.frame by name OR index in a function
Dear all, Sometimes I have the situation where a function takes a data.frame and an additional argument describing come columns. For greater flexibility I want to allow for either column names or column indices. What I usually do then is something like the following: -------------8<------------- f <- function(datf, cols) { nc <- seq_along(datf) cn <- colnames(datf) colOK <-
2013 Jun 24
4
[LLVMdev] Compiling llvm and Clang in solaris 10
On Mon, Jun 24, 2013 at 6:17 PM, Jorge Rodrigues <skeept at gmail.com> wrote: > Norm, > > thanks for the help. Applying the fix solves the issue I mentioned but now I > have more issues. > > I can install clang, but when running I cannot compile and link files. > If I compile with -c flag it works but compiling the following x.c file > gives an error: >
2013 Jun 21
3
[LLVMdev] Compiling llvm and Clang in solaris 10
I run configure in a build folder using CC=gcc CXX=g++ ../configure --prefix=/project/scratch/packages2/clang \ --enable-targets=host --enable-shared The configure runs fine but when I type make I get the error: make[1]: Entering directory `/project/scratch/tmp/llvm-3.3/build/lib/Support' llvm[1]: Compiling APFloat.cpp for Release+Asserts build In file included from
2015 May 18
0
install.packages() / update.packages() sometimes outputs to stdout and sometimes to stderr [and menu() & readline()]
I've noticed that install.packages() [https://svn.r-project.org/R/trunk/src/library/utils/R/packages.R] and update.packages() [https://svn.r-project.org/R/trunk/src/library/utils/R/packages2.R] sometimes output to stdout and sometimes to stderr. It looks like stderr is used (e.g. via cat()) when the message is part of querying the user, e.g. update.packages <- function(lib.loc = NULL,
2004 Jun 10
1
Can´t start help and update on Mac (PR#6920
--Apple-Mail-1--963012407 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; format=flowed Hi, I get exactly the same error message as in report no 6920. Furthermore, starting "update Bioconducter" the following message appears (running Mac OS X 10.3.4 (7H63)) : > {library(reposTools);update.packages2(getAllDeps=TRUE)} Synching your local package
2014 Dec 01
2
[PATCH v2] fish: show synopsis if command syntax is wrong
This patch lets guestfish show command synopsis if the syntax of command issued by user is wrong, rather than telling user that the number of parameters is wrong. Signed-off-by: Hu Tao <hutao@cn.fujitsu.com> --- changes in v2: - fix the error of ' error: control reaches end of non-void function [-Werror=return-type]' - change the return value from -2 to -1 fish/cmds-gperf.h |
2019 Dec 13
1
tempdir() containing spaces breaks installing source packages
Hello everyone! Temp paths are used in system2() calls without shQuote() because they are assumed not to contain spaces. On Windows, GetShortPathName() is used to try to ensure that. Unfortunately, sometimes GetShortPathName() silently fails to return a 8.3 file path and gives a full path instead (8.3 file names might be disabled on newer Windows 10 installations, or there may be another
2005 May 03
1
MacOS X: update.packages(type="mac.binary") fails (PR#7831)
Full_Name: Jari Oksanen Version: R 2.1.0 OS: MacOS 10.3.9 Submission from: (NULL) (130.231.102.145) For various reasons (which need not be expanded here) I have tried to update my long neglected R in MacOS X using handy command line tool update.packages() using readily available binaries of contributed packages at CRAN. However, this fails with message saying that packages xxxx_*_tar.gz is not
2015 Dec 14
0
[patch] Fix automatic domain in ngettext(), Bug 14605
A short overview of the problem: Automatic domain in ngettext() does not work when used inside a package. How to test: 1. Download the small test package "minimal_1.0-0.tar.gz" attached to the bug report. 2. As the package contains Finnish translations, start R with Finnish language settings. Prepending "LANGUAGE=fi " to the command line that starts R works for me on Linux, if
2014 Jun 29
0
[patch] Fix n arg in mclapply call to ngettext
Regarding the following code, warning(sprintf(ngettext(has.errors, "scheduled core %s encountered error in user code, all values of the job will be affected", "scheduled cores %s encountered errors in user code, all values of the jobs will be affected"), paste(has.errors, collapse = ", ")), domain = NA) has.errors is a vector whose elements are the
2010 Jul 21
1
new bug in install.packages()
Hi, install.packages() seems to be broken in latest R-devel snapshot (2010-07-19 r52561) if you are using an R/R.version$platform-library/x.y directory. > .libPaths() [1] "/home/hpages/R/x86_64-unknown-linux-gnu-library/2.12" [2] "/home/hpages/R-2.12/library" > install.packages("car") Error in sprintf(gettext(fmt, domain = domain), ...) : too
2013 Jun 25
0
[LLVMdev] Compiling llvm and Clang in solaris 10
Is there anything I can do regarding the linker issue? The solaris linker is in /usr/ccs/bin/ld but I think llvm wants to use the gnu linker. gcc in my system was compiled with the solaris linker. Thanks, Jorge On Mon, Jun 24, 2013 at 6:18 PM, Stefan Teleman <stefan.teleman at gmail.com>wrote: > On Mon, Jun 24, 2013 at 6:17 PM, Jorge Rodrigues <skeept at gmail.com> wrote: >
2018 Jul 30
2
Code Optimization: print.data.frame + as.data.frame(head(x, n = options("max.print")))
Dear R Developers, I would like to propose a simple optimization for print.data.frame base function: To add: x <- as.data.frame(head(x, n = options("max.print"))) This would prevent that, if for example, we have a 10GB data.frame (e.g.: Instead of a data.table), and we accidentally print it, the R Session does not "collapse", forcing us to press ESC or kill the RSession.
2008 Mar 30
1
package.skeleton.S4
Hi the devel list. I am adapting the package.skeleton to S4 classes and methods I would have been very proud to post a new working function on this list. Unfortunately, I do not manage to solve all the problems. Mainly - sys.source does not compile a file with setClass - dumpMethod does not exists yet In the following code, thise two problems are notified by a line ################# Still