Displaying 20 results from an estimated 10000 matches similar to: "R-2.8.0 : get platform device with get(getOption("device"))"
2008 Apr 26
0
Misuse of get(getOption("device"))() in packages
Quite a few packages have used this construct to launch a device, but it
has several flaws. It's not clear in most cases that a package really
needs to launch a new device (R will do so if needed), but 2.7.0 provides
a function dev.new() to do so. (If you really need this in a GPL-ed
package that must run in R < 2.7.0, consider copying dev.new.)
You cannot assume any arguments for
2006 Oct 06
2
[R-pkg] New packages pmg, gWidgets, gWidgetsRGtk2
I'd like to announce three new packages on CRAN: pmg, gWidgets, and
gWidgetsRGtk2.
--John Verzani
1 PMG
*=*=*=
The pmg package for R provides a relatively simple graphical user
interface for R in a manner similar to the more mature RCmdr package.
Basically this means a menu-driven interface to dialogs that collect
arguments for R functions. This GUI was written with an eye towards
2006 Oct 06
2
[R-pkg] New packages pmg, gWidgets, gWidgetsRGtk2
I'd like to announce three new packages on CRAN: pmg, gWidgets, and
gWidgetsRGtk2.
--John Verzani
1 PMG
*=*=*=
The pmg package for R provides a relatively simple graphical user
interface for R in a manner similar to the more mature RCmdr package.
Basically this means a menu-driven interface to dialogs that collect
arguments for R functions. This GUI was written with an eye towards
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
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
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
>
2013 Apr 02
3
How to do platform independent system calls?
Dear R experts,
I hope everyone has had a happy easter break.
Recently my work included writing R function that need to call external tools.
I did this using R's system function for example:
system( paste( 'tool', '-input', path_to_input, '-output',
path_to_output, '-other_switch', some_val ) )
I have two question about this:
1) Is there a way to implement
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:
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
2012 Mar 20
1
overriding "summary.default" or "summary.data.frame". How?
I suppose everybody who makes a package for the first time thinks "I
can change anything!" and then runs into this same question. Has
anybody written out information on how a package can override
functions in R base in the R 2.14 (mandatory NAMESPACE era)?
Suppose I want to alphabetize variables in a summary.data.frame, or
return the standard deviation with the mean in summary output.
2012 Mar 07
6
Can't find the PostgreSQL client library (libpq)
When i try it start my ruby server i get a error that looks like
rails server Could not find pg-0.12.2 in any of the sources
Run `bundle install` to install missing gems.
I dont know what to do
Thanks for all the help
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this
2008 Nov 11
1
Retrieving x argument name from a trellis object in R 2.8.0
Dear all,
let consider the following function:
Fun1 <- function() {
library(lattice)
plot1 <- 1:10~1:10
pl1 <- xyplot(plot1)
return(pl1$call$x)
}
In R 2.5.0 (or older version) we have
> Fun1()
plot1
but starting from R 2.5.1 until the latest R 2.8.0 we obtain instead
> Fun1()
NULL
because pl1$call seems to be equal to xyplot() without arguments.
Something like
2005 Jul 07
1
Tables: Invitation to make a collective package
Hi All,
I would like to make an invitation to make a collective package with all
functions related to TABLES.
I know that there are many packages with these functions, the original idea is
collect all this functions and to make a single package, because is arduous for
the user know all this functions broadcast in many packages.
So, I think that the original packages can continue with its
2011 Jul 05
2
Stuck ...can't get sapply and xmlTreeParse working
Can't seem to get the code below working. It gets stuck on line 24 inside the
function hm; comments show the line in question. The function hm is called
by sapply and is at the bottom of the code. Other stuff above line 24 works
correctly including the first couple of lines of the function hm. Should I
be using a different apply function or am I doing something wrong with
xmlTreeParse ?
2007 Jun 24
1
There was a problem by the use of snow.
problem of the very large memory require by the Sign extension.
--- R-2.5.0.orig/src/main/serialize.c 2007-03-27 01:42:08.000000000 +0900
+++ R-2.5.0/src/main/serialize.c 2007-06-25 00:48:58.000000000 +0900
@@ -1866,7 +1866,7 @@
static void resize_buffer(membuf_t mb, int needed)
{
- int newsize = 2 * needed;
+ size_t newsize = 2 * needed;
mb->buf = realloc(mb->buf,
2012 Dec 17
2
Why does matrix selection behave differently when using which?
Dear R community,
I have a medium sized matrix stored in variable "t" and a simple function "
countRows" (see below) to count the number of rows in which a selected
column "C" matches a given value. If I count all rows matching all pairwise
distinct values in the column "C" and sum these counts up, I get the number
or rows of "t". If I delete the
2019 Jun 03
2
[PATCH 22/22] docs: fix broken documentation links
Le 30/05/2019 ? 01:23, Mauro Carvalho Chehab a ?crit?:
> Mostly due to x86 and acpi conversion, several documentation
> links are still pointing to the old file. Fix them.
>
> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung at kernel.org>
> ---
> Documentation/acpi/dsd/leds.txt | 2 +-
> Documentation/admin-guide/kernel-parameters.rst | 6