similar to: Misuse of get(getOption("device"))() in packages

Displaying 20 results from an estimated 10000 matches similar to: "Misuse of get(getOption("device"))() in packages"

2008 May 07
3
R-2.8.0 : get platform device with get(getOption("device"))
Hi, I have a R-package that works fine with R 2.7.0 (it builds, checks and installs) but not with R 2.8.0. Running check in 2.8.0 gives the following output : [...] * checking examples ... ERROR [...] The error most likely occurred in: [...] > dev <- show.pr(mr.tbl, col="green", type="b") Error in get(getOption("device")) : invalid first argument Calls: show.pr
2000 Jun 16
1
postscript device on R-1.1.0
Am I the only one with this problem? > postscript() Error in old$command == "default" : comparison (1) is possible only for vector types The function postscript() is creates a list called "old". the function wants to access old$command, but old does not have a component called command. > postscript function (file = ifelse(onefile, "Rplots.ps",
2017 Aug 25
0
getOption() versus Sys.getenv
On 25/08/2017 1:19 PM, Sam Albers wrote: > Hi there, > > I am trying to distinguish between getOption() and Sys.getenv(). My > understanding is that these are both used to set values for variables. > getOption is set something like this: option("var" = "A"). This can be > placed in an .Rprofile or at the top of script. They are called like this >
2003 Dec 16
1
getOption("repositories")
Out of curiosity, what happened to this? With 1.8.1 it returns: > getOption("repositories") CRAN "http://cran.r-project.org/src/contrib" BIOC "http://www.bioconductor.org/src/contrib" With R-devel it returns: > getOption("repositories") NULL It appears to have been taken
2014 Mar 20
0
possible bug: graphics::image seems to ignore getOption("preferRaster")
the details section of ?image says: > If useRaster is not specified, raster images are used when the > getOption("preferRaster") is true, the grid is regular and either > dev.capabilities("raster") is "yes" or it is "non-missing" and there > are no missing values. but in my experience this is never the case and
2019 Sep 29
0
typeof(getOption("warn")) is "integer" instead of "double" in R unstable (2019-09-27 r77229)? Reproducible?
On 29/09/2019 7:55 a.m., nospam at altfeld-im.de wrote: > Hi, > > I have a failing unit test in my package tryCatchLog on the CRAN build infrastructure > (https://cran.r-project.org/web/checks/check_results_tryCatchLog.html) > with "R Under development (unstable) (2019-09-27 r77229)" > and the unit tests just ensures consistent behaviour of R (not of my package) as a
2017 Aug 25
2
getOption() versus Sys.getenv
Hi there, I am trying to distinguish between getOption() and Sys.getenv(). My understanding is that these are both used to set values for variables. getOption is set something like this: option("var" = "A"). This can be placed in an .Rprofile or at the top of script. They are called like this getOption("var"). Environmental variables are set in the .Renviron file
2019 Sep 29
2
typeof(getOption("warn")) is "integer" instead of "double" in R unstable (2019-09-27 r77229)? Reproducible?
Hi, I have a failing unit test in my package tryCatchLog on the CRAN build infrastructure (https://cran.r-project.org/web/checks/check_results_tryCatchLog.html) with "R Under development (unstable) (2019-09-27 r77229)" and the unit tests just ensures consistent behaviour of R (not of my package) as a precondition: The failing unit test is caused by >
2011 Nov 09
1
[ reached getOption("max.print") -- omitted 8178 rows ]]
Hi, I have a weird thing I don¹t understand. Here¹s what I did: I read some data: data=read.table("fileName²) then I printed the data to the screen: data But it didn¹t finish: lot¹s of data was written out, but not all of it... Then it interrupted and said: [ reached getOption("max.print") -- omitted 8178 rows ]] Is there a setting somewhere that I can change to get to see all of my
2012 Sep 24
1
[ reached getOption("max.print") -- omitted 138 rows]
Dear useRs, does anyonw now how to avoid [ reached getOption("max.print") -- omitted 138 rows]. i read from the R forum that it can be avoided by increasing the 'max.print' option as much as i like, but i dnt know, how?? need your help on it. regards eliza [[alternative HTML version deleted]]
2006 Sep 13
1
example(..., ask=getOption("example.ask"))
Hi, I wish to return to the topic "[Rd] example(ask = .) - default ?" discussed in R-devel on May 1, 2006, because I think it is related to my problem. In one of my Rd examples I generate multiple (20-30!) PNG files using png()/dev.off(). I noticed that I get a "Hit <Return> to see next plot:" for each png() call, when calling example() [interactively]. The code for
2019 Sep 29
2
typeof(getOption("warn")) is "integer" instead of "double" in R unstable (2019-09-27 r77229)? Reproducible?
Thanks a lot for pointing out the reason (and yes, I am testing quite to stringent in this case - it's my old testing disease ;-) For other readers: The R-devel NEWS is a good source to find possible change reasons: https://stat.ethz.ch/R-manual/R-devel/doc/html/NEWS.html On Sun, 2019-09-29 at 08:33 -0400, Duncan Murdoch wrote: > On 29/09/2019 7:55 a.m., nospam at altfeld-im.de wrote:
2004 Oct 23
0
(PR#7309) misuse of R-bugs (was inappropriate definition
>From the R FAQ Bug reports on contributed packages should be sent first to the package maintainer, and only submitted to the R-bugs repository by package maintainers, mentioning the package in the subject line. and you are NOT the listed maintainer. Do learn to read FAQs before causing unnecessary work for other people (as the R posting guide asks). Please do as the FAQ asks. On
2008 Dec 19
1
Misuse of $<matn expressions>$ in Rd files
'Writing R Extensions' tells you that $ needs to be escaped in Rd files outside \code and similar. So I was surprised to find that ca 80 CRAN packages have constructions like (from ISwR) \item{\code{folate}}{ a numeric vector, folate concentration ($\mu$g/l). } This does not render sensibly in non-latex conversions, and it is what we have \eqn{} for. That $ needs to be
2006 Feb 08
1
invalid graphics state using dev.print (fwd)
On Mon, 6 Feb 2006 18:12, Simon Urbanek wrote: > On Feb 6, 2006, at 5:24 PM, Paul Roebuck wrote: > >> Tried on R-Sig-Mac with no responses, but I need some kind >> of answer. >> [...] >> Does the following work on your system? > > Interesting, no, it doesn't either. For png and pdf I use > Quartz + quartz.save (it produces much nicer results) so > I
2012 Aug 02
1
help with install.packages
Greetings, I am trying to use install.packages obtained from here http://stat.ethz.ch/R-manual/R-devel/library/utils/html/install.packages.html My computer has these OS: 64-bit blfs linux R2.15.1 #------------ A) I did the following:- export DIR=/home/stats/R-2.15.0_runTEST190712A export DEST=/home/stats/Rtester cd $DEST ${DIR}/bin/R install.packages(MASS_7.3-17.tar.gz, ${DEST}, repos =
2006 May 17
1
Renaming Rplots.ps from BATCH scripts.
I often use R CMD BATCH to run my files (e.g. script.R), and get the output recorded in script.Rout -- this is great. On my setup (R.2.3.0 on linux), if any plots are created, they get stored in Rplots.ps. This can get confusing if I have several batch scripts in one directory. I've written a simple shell script to rename Rplots.ps to e.g. script.Rout.ps so that later I can easily identify
2009 Jan 09
1
More intensive checking of R help files
We have been working on handling Rd (R help) files with R rather than Perl scripts. As part of that work, Duncan has written a parser which has revealed many problems in package help files, and we have added its checks to 'R CMD check' in the R-devel version of R. You can see the results for CRAN packages as part of the daily check at
2011 Nov 05
1
How to infer default width and height for a device?
Hi. GENERAL: Is there a general method for inferring default device settings, particularly 'width' and 'height', that works for all devices? AFAIK, the answer is no, but there might be functions out there that I don't know of. POSTSCRIPT SPECIFIC: If not, I'm considering implementing such a method myself. Is it possible for R to infer the default 'width' and
2010 Mar 01
0
Update 2 on MinGW-w64 builds for 64-bit Windows
This post updates https://stat.ethz.ch/pipermail/r-devel/2010-January/056301.html https://stat.ethz.ch/pipermail/r-devel/2010-January/056411.html The MinGW-w64 snapshots have moved back to gcc pre-4.4.4 (from pre-4.5.0) with static linking to C++ and Fortran run-time DLLs, and seem more stable. Currently the CRAN package check pages at http://cran.r-project.org/web/checks/check_summary.html