similar to: Turning off return warning messages.

Displaying 20 results from an estimated 8000 matches similar to: "Turning off return warning messages."

2003 May 22
1
Re: dates in chron package, split warning message
> > > Dear All, > > > > I am currently using R for windows. > > > > I am wondering why the dates command in chron package does not work in the > > following situation: > > > > cut(dates(c(23,45,67),origin=c(1,1,2004)),"months") > > > > but will work for: > > > >
2005 Jul 21
1
cut in R
Dear All, I wonder whether it is still valid to use the following R code for cut. All I have done is changed: if (is.na(breaks) | breaks < 2) to: if (is.na(breaks) | breaks < 1) so that it covers interval of 1? It seems okay for my purposes but I am not sure why R specifically does not allow break<2 to happen. Steve. cut.default<- function (x, breaks, labels =
2003 May 21
1
inspect now available?
Dear All, I am wondering if R now has a similar function to inspect in Splus? Someone post this question in 1999 and the answer was no, and I am wondering if this function has been developed in 2003? Thanks for your attention. ************************************************************************************** Steve Su (s.su@qut.edu.au) PhD student. School of Accountancy
2004 May 24
1
yeardays
Dear All, Is there a R (Windows) equivalent of yeardays in Splus 6.0 for Windows? I am using XP. ************************************************************************************** Steve Su (s.su@qut.edu.au) PhD student. School of Accountancy Queensland University of Technology Postal Address: Steve Su, School of Accountancy, QUT, PO Box 2434, Brisbane, Queensland,
2004 Sep 15
7
Splitting vector into individual elements
Is there a means to split a vector into its individual elements without going the brute-force route for arguments to a predefined function call? offred.rgb <- c(1, 0, 0) * 0.60; ## Brute force style offred.col <- rgb(offred.rgb[1], offred.rgb[2], offred.rgb[3], names = "offred") ## Desired style
1995 Sep 26
0
GPM Modula-2 and Oberon-2 Compilers
GPM Modula-2 and Oberon-2 Compilers File locations: ftp.fit.qut.edu.au:/pub/gpm ftp.psg.com:/pub/modula-2/gpm WEB Site: http://www.fit.qut.edu.au/CompSci/PLAS/GPM/ The Gardens Point Modula (GPM) compilers are an ongoing development project for the Programming Languages and Systems Group in the Faculty of Information Technology at the Queensland University of Technology.
2003 Jan 15
0
Re: automount shares
Adam, Rather than using /etc/fstab (works fine), for users with different share requirements, you could set up a mount point in autofs. In the /etc/auto.master file, set up the mount point and connection file /home/user/mnt /etc/auto.user --timeout=60 Then in your /etc/auto.user file, set up the specific share connection (sub appropriate values for user, uid and IP/share) xpbox
2003 Jan 15
0
Re: automount shares
Adam, Rather than using /etc/fstab (works fine), for users with different share requirements, you could set up a mount point in autofs. In the /etc/auto.master file, set up the mount point and connection file /home/user/mnt /etc/auto.user --timeout=60 Then in your /etc/auto.user file, set up the specific share connection (sub appropriate values for user, uid and IP/share) xpbox
2006 May 03
3
sprintf question
How would one go about getting sprintf to use the values of a vector without having to specify each argument individually? > v <- c(1, 2, -1.197114, 0.1596687) > iv <- c(3, 1, 2, 4) > sprintf("%9.2f\t%d\t%d\t%8.3f", v[3], v[1], v[2], v[4]) [1] " -1.20\t1\t2\t 0.160" Essentially, desired effect would be something like: >
2005 Nov 12
2
sibling list element reference during list definition
Can the value of a list element be referenced from a sibling list element during list creation without the use of a temporary variable? The following doesn't work but it's the general idea. > list(value = 2, plusplus = $value+1) such that the following would be the output from str() List of 2 $ value : num 2 $ plusplus: num 3
2004 Dec 31
4
install.packages() for local source file
Wish to install a local source package on Un*x platform from within R. Same thing as I can accomplish from cmdline as $ export R_LIBS=~/R/library $ cd /path/to/pkg $ R CMD INSTALL -l $R_LIBS <pkgname> So, how do you go about this anyway? And isn't this a bug in 'install.packages'? ------- $ R R : Copyright 2004, The R Foundation for Statistical Computing Version 1.9.0
2018 Mar 17
0
R project global options file
> On Mar 15, 2018, at 10:24 PM, Adrian Friskin <adrian.friskin at qut.edu.au> wrote: > > Hello R-help, > I currently have R-project 3.4.2 and R-studio 1.1.383 installed on some of our universities computer labs. Since the installation of Visual studio the default version of R installed has changed to the version installed by VS. Users can change the
2005 Feb 14
2
Test Tools
Anyone aware of tools available that can provide complexity metrics and/or code coverage analysis for R source? ---------------------------------------------------------- SIGSIG -- signature too long (core dumped)
2006 Mar 29
2
Recall for parent
What's the best way to simulate Recall for parent function? Consider this one-time recursive code: alwaysEven <- function(x) { handleOdd <- function(x) { alwaysEven(x-1) # use Recall-like here } return(if (x %% 2) handleOdd(x) else x) } any2even <- alwaysEven rm(alwaysEven) any2even(3) ---------------------------------------------------------- SIGSIG --
2018 Mar 16
3
R project global options file
Hello R-help, I currently have R-project 3.4.2 and R-studio 1.1.383 installed on some of our universities computer labs. Since the installation of Visual studio the default version of R installed has changed to the version installed by VS. Users can change the default R version: found in R studio global options but users need to do this every session. Is there a file or
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
2006 Feb 21
4
simple C function segfaults
Hello, I use the simplest of examples that somebody can think of in order to generate a matrix of random numbers from within C, calling appropriate R functions. The concrete example is below: --- file pico.c #include <stdio.h> #include <stdlib.h> #include <math.h> #include <R.h> #include <Rmath.h> #define COLM( i, j, m ) ( m*j + i) void pico ( double *y, int n,
2004 Sep 28
2
S4 method selection based on second argument
I'm translating some Matlab code and need some help figuring out how to change this call into an S4 generic method. In matlab, there's a function called 'repmat' with three calling sequences (all I have to deal with anyway): 1) B = repmat(A, m, n) 2) B = repmat(A, [m n]) 3) B = repmat(A, n) In all cases, A is the fill value, m is number of rows, and n is number of
2005 Nov 14
1
Package manpage DCF hooks
Was looking at what was output for <pkgname>-package.Rd and wondered if any there was any means (via macro, etc) to merge some of the same information with a template for my package manpage? As much (all?) of the generated information was already provided in the DESCRIPTION, I'd prefer not to have to update the information in multiple places. I'm thinking here that I could provide a
2004 Aug 25
2
[Q] Apply Function Over Multiple Array Margins
Is there a canonical means to apply a function over multiple arrays simultaneously? For example, if I wanted to plot each line with a different color? Or is a for loop conversion my best option? x <- seq(0, 8, by = 2) y <- matrix(1:15, nrow = 5, byrow = TRUE) my.colors <- heat.colors(3) drawLines <- function(row) { lines(x, row) # want corresponding 'my.colors' here }