similar to: deparseDots to get names of all arguments?

Displaying 20 results from an estimated 3000 matches similar to: "deparseDots to get names of all arguments?"

2018 Feb 21
0
deparseDots to get names of all arguments?
Does substitute(...()) do what you want? > myFunc <- function(x, ...) substitute(...()) > myFunc(y=1/(1:10), x=sin(3:1), z=stop("Oops"), "untagged arg") $y 1/(1:10) $z stop("Oops") [[3]] [1] "untagged arg" > names(.Last.value) [1] "y" "z" "" Bill Dunlap TIBCO Software wdunlap tibco.com On Tue, Feb 20, 2018 at
2018 Feb 20
0
deparseDots to get names of all arguments?
On 21/02/18 11:36, Spencer Graves wrote: > Hi, All: > > > ????? How can I get the names of all the arguments in dots(...)? > > > ????? I'm able to get the name of the first argument but not the second: > > > > deparseDots <- function(...){ > ? deparse(substitute(...)) > } > a <- 1 > b <- 2 > deparseDots(a, b) > [1]
2018 Feb 21
1
deparseDots to get names of all arguments?
On 20/02/2018 5:47 PM, Rolf Turner wrote: > On 21/02/18 11:36, Spencer Graves wrote: >> Hi, All: >> >> >> ????? How can I get the names of all the arguments in dots(...)? >> >> >> ????? I'm able to get the name of the first argument but not the second: >> >> >> >> deparseDots <- function(...){ >> ?
2018 Mar 16
2
Apparent bug in behavior of formulas with '-' operator for lm
Dear R-developers, In the 'lm' documentation, the '-' operator is only specified to be used with -1 (to remove the intercept from the model). However, the documentation also refers to the 'formula' help file, which indicates that it is possible to subtract any term. Indeed, the following works with no problems (the period '.' stands for 'all terms except the
2018 Jan 26
2
utils::install.packages with quiet=TRUE fails for source packages on Windows
Hi, Installing a source package on Windows using utils::install.packages() with quiet=TRUE fails, while it works with the default quiet = FALSE. The problem seems to be caused by the fact that when quiet = TRUE, stdout and stderr are set to FALSE when calling "R CMD INSTALL" with base::system2() here:
2018 Mar 16
2
Apparent bug in behavior of formulas with '-' operator for lm
Joris, the point is that 'z' is NOT used as a predictor in the model. Therefore it should not affect predictions. Also, I find it suspicious that the error only occurs when the response variable conitains missings and 'z' is unique (I have tested several other cases to confirm this). -Mark Op vr 16 mrt. 2018 om 13:03 schreef Joris Meys <jorismeys at gmail.com>: >
2018 Jan 18
0
error while loading ggplot2
Please post using plain text... the mailing list will strip HTML anyway and mess up what you send. Send the output of sessionInfo() so we know what versions of R and packages you have. -- Sent from my phone. Please excuse my brevity. On January 17, 2018 4:37:06 PM PST, shijin mathew via R-help <r-help at r-project.org> wrote: >Getting the following error while loading ggplot2. >
2018 Jan 18
2
error while loading ggplot2
Getting the following error while loading ggplot2. > library(ggplot2) Error: package or namespace load failed for ?ggplot2? in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]): object 'vI' not found Tried different version of R and ggplot2 but still doesnt work. Any help to resolve is appreciated. Appreciate any pointers. -S [[alternative HTML version deleted]]
2018 Jan 26
1
utils::install.packages with quiet=TRUE fails for source packages on Windows
The obvious guess would be that Rstudio is attempting something like redirecting output and getting itself confused. However, it is pretty clearly Their Problem, no? Rstudio has their own support infrastructure. -pd > On 26 Jan 2018, at 09:17 , Andreas Kersting <r-devel at akersting.de> wrote: > > Just noticed that this problem only occurs from within RStudio (v1.1.414). Any
2018 Feb 07
1
Possible bug in package installation when R_ICU_LOCALE is set
On a Windows computer (other platforms not tested), installing a package from source may fail if the environment variable R_ICU_LOCALE is set, depending on the package and the locale. For example, after setting R_ICU_LOCALE to "fi_FI", install.packages("seriation", type = "source") (package version 1.2-3) fails with the following error: ** preparing package for
2018 Apr 26
1
Possible bug in package installation when R_ICU_LOCALE is set
(Belated) thanks for the confirmation, Ista. I just reported this issue on the R bug tracker: https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17412 Best regards, - Mikko -----Alkuper?inen viesti----- L?hett?j?: Ista Zahn [mailto:istazahn at gmail.com] L?hetetty: 7. helmikuuta 2018 17:05 Vastaanottaja: Korpela Mikko (MML) Kopio: r-devel at r-project.org Aihe: Re: [Rd] Possible bug in
2018 Feb 14
2
How to turn off warnings about class name conflicts
Hi, I am using two packages (quantmod and FRAPO) Quantmod and FRAPO both have a class names "zoo" R is displaying the following warning when I manipulate an object of class zoo: Found more than one class "zoo" in cache; using the first, from namespace 'quantmod' Also defined by ?FRAPO? The warning is displayed every time I manipulate a zoo object and becomes pretty
2018 Feb 02
2
Updating Rcpp package when it is claimed by dplyr
When i tried to install the hunspell package, I got this error message: Error: package ?Rcpp? 0.12.3 was found, but >= 0.12.12 is required by ?hunspell? So I set about installing a new version of Rcpp but I get this message: Error in unloadNamespace(pkg_name) : namespace ?Rcpp? is imported by ?dplyr? so cannot be unloaded How does one get around that? I tried installing Rcpp in a
2018 Apr 25
3
Can't Get Lattice Histogram Minor Tick Marks to Work
I'm drawing a paneled histogram using the lattice package. I've succeeded in adding minor tick marks to the vertical axis, but I can't get the desired number of minor tick marks between the major tick marks. I've attached a self-contained program to illustrate the problem. Thanks for your help, Don Macnaughton Here's my sessionInfo: R version 3.4.3 (2017-11-30) Platform:
2018 Feb 02
2
Updating Rcpp package when it is claimed by dplyr
Or, to avoid accusing you of lying. what you think is "vanilla" probably isn't. What exactly did you do? On Unix-likes, I would do something like this echo 'options(repos=list(CRAN="cran.r-project.org"));install.packages("Rcpp")' | R --vanilla (or maybe https://cloud.r-project.org is better...) -pd > On 2 Feb 2018, at 08:15 , Jeff Newmiller
2018 Apr 25
0
Can't Get Lattice Histogram Minor Tick Marks to Work
Per the Posting Guide, why didn't you post the reproducible R code example? On April 24, 2018 8:22:15 PM PDT, Donald Macnaughton <donmac at matstat.com> wrote: >I'm drawing a paneled histogram using the lattice package. I've >succeeded in >adding minor tick marks to the vertical axis, but I can't get the >desired >number of minor tick marks between the major
2018 Feb 14
0
How to turn off warnings about class name conflicts
On 2/13/2018 11:47 PM, Ayhan yuksel wrote: > Hi, > > I am using two packages (quantmod and FRAPO) > > Quantmod and FRAPO both have a class names "zoo" > > R is displaying the following warning when I manipulate an object of class > zoo: > > Found more than one class "zoo" in cache; using the first, from namespace > 'quantmod' >
2018 Feb 02
0
Updating Rcpp package when it is claimed by dplyr
Your last statement is extremely unlikely to be true. The dplyr package should not be present in a vanilla environment, so there should be no such conflict. -- Sent from my phone. Please excuse my brevity. On February 1, 2018 11:00:01 PM PST, Patrick Connolly <p_connolly at slingshot.co.nz> wrote: >When i tried to install the hunspell package, I got this error >message: >
2018 Mar 14
2
truncation/rounding bug with write.csv
I don't see the issue here. It would be helpful if people would report their sessionInfo() when reporting whether or not they see this issue. Mine is > sessionInfo() R version 3.4.3 (2017-11-30) Platform: x86_64-pc-linux-gnu (64-bit) Running under: Arch Linux Matrix products: default BLAS/LAPACK: /usr/lib/libopenblas_haswellp-r0.2.20.so locale: [1] LC_CTYPE=en_US.UTF-8
2018 Mar 14
1
Problem with reading data from an UTF-16 database
Dear all, We have a problem with reading some characters correctly from an UTF-16 encoded database. The code below givens the correct characters on Ubuntu with the_driver = {ODBC Driver 13 for SQL Server}. On Windows (with the_driver = {SQL Server}), special characters like '?' and '?' are returned as '?'. I've added the sessionInfo() output from both machines. Any