similar to: character vector as input to function?

Displaying 20 results from an estimated 8000 matches similar to: "character vector as input to function?"

1997 Jun 11
1
R-alpha: write() && quoting && ...
Has anyone had some time to look at the generic write() I posted some time ago? I'd appreciate some feedback/comments/suggestions on how to consistently deal with quoting and name-type attributes ... On a related matter, Martin indicated that it would be nice to have a "matrix" class, etc. Is there any reason for not doing so? Should not do any harm, and would make writing
1999 Jul 14
3
vector of NA indices
I have a vector Pes with 600 elements some of which are NA's. How can I form a vector of the indices of the NA's. for(i in 1:600) if(is.na(Pes[i])) print(i) prints the indices of the NA's but I can't figure out how to put the results in a vector. Thank you very much. Peter B. -- Peter B. Mandeville mandevip at deimos.tc.uaslp.mx Jefe del Depto. de
1997 Sep 08
1
R-alpha: Re: lwd, cex and par(.) issues [was "... windows quirks .."]
[[yet another discussion brought from R-core to R-devel]] >>>>> "RG" == Robert Gentleman <rgentlem@stat.auckland.ac.nz> writes: RG> Peter, there is some code for line types and widths in all the RG> drivers. With windows there is the well known limitation that you RG> can't have patterened lines with lwd larger than 1 (unless you
1997 Jun 03
2
R-beta: patch 2
Perhaps I missed something obvious, but when I applied patch 2 and then recompiled R-0.49, I found that the objects such as glm.fit that were supposed to be updated still had their original definitions. After some hair-pulling, I remembered that patch saves a backup copy of the original files it changes. Because of the way the makefile for the system database is structured, both the new files and
2008 Sep 05
1
Trouble with R CMD check: I can't seem to get dependencies right (maybe I'm using R_LIBS incorrectly?)
Hi there, I'm in the following directory: ~/Documents/Rstuff/diceFiles/dice_1.1 The directory "dice" is in this directory, with all the usual build files (DESCRIPTION, NAMESPACE, etc). I'm trying to run the following command: R CMD check dice (where "dice" is the name of the package I'm checking), and I get the following: * checking package dependencies ...
1999 Mar 22
2
R or S+ !
Hi all ! I'm sure this is a question that annoys some of you but I'm really needing help on this ! I've been using R for about 1 year now. I'm a biologist, so stats are a tool for my research not the end itself. During this time I've enjoyed working with R but the graphical part of it drives me crazy and the small possibilities in terms of reading some file formats also
1998 Nov 18
1
loading fortran with Redhat 5.1
Hi All, I'm running R 0.63 on Redhat 5.1 and when I attempt to load a fortran routine I get: > dyn.load("/home/royle/Rstuff/varna.o") Error in dyn.load(x) : unable to load shared library "/home/royle/Rstuff/varna.o" this function varna.o was compiled with: gcc -c varna.f with no errors or warnings. Does anyone have any thoughts on this? Thanks! (and thanks to
1998 Feb 26
3
R-beta: quantile
I do: x<-rnorm(1000) quantile(x,c(.025,.975)) 2% 98% -1.844753 1.931762 Since I want to find a 95% confidence interval, I take the .025 and .975 quantiles. HOWEVER R says I have the 2% (not 2.5%) and 98% (not 97.5%) points. Is it just rounding the printed 2% and 98%, or is it REALLY finding .02 and .98 points instead of .025 and .975? Thanks for any help. Bill Simpson
1998 Feb 26
3
R-beta: quantile
I do: x<-rnorm(1000) quantile(x,c(.025,.975)) 2% 98% -1.844753 1.931762 Since I want to find a 95% confidence interval, I take the .025 and .975 quantiles. HOWEVER R says I have the 2% (not 2.5%) and 98% (not 97.5%) points. Is it just rounding the printed 2% and 98%, or is it REALLY finding .02 and .98 points instead of .025 and .975? Thanks for any help. Bill Simpson
2005 Jun 15
2
Reading Excel files...Error
hi, i am using the RODBC package to read .xls files. now after i installed the package and loaded the library and tried to read a file this is the error i got. >channel<-odbcConnect("D:/rstuff/1.xls") Warning messages: 1: [RODBC] ERROR: state IM002, code 0, message [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified 2: ODBC connection failed
2006 Sep 01
2
Local library under Windoze.
Continuing to try to customize my environment for using R under Windoze, I experimented with installing a package from CRAN in a local library ``Lib''. I created the directory ``Lib'' in the folder in which R starts, and then executed > install.packages("abind",lib="Lib") Everything went according to form (I got prompted to choose a mirror, etc.) until
1998 Mar 06
1
R-beta: image saved ps file
I include the argument pty="s" to image, but still when I make an image by the method > postscript("rstuff/test.ps") > tauseq<-seq(0,1,.5) > cif2d.image(x,,y,tauseq) > dev.off() the image plot created is NOT square. I thought pty="s" would make it square. Generally it would be nice if the image saved to disk were like the one we see while in R
2010 Mar 10
1
R CMD check issue with soft-linked directory
I've been having some strange problems with R CMD check in the last couple of days, but now believe I have localized the issue. I had been running Ubuntu Hardy on one drive and then upgraded to Jaunty, but put Jaunty on a different drive. I continue to be able to boot Hardy when I wish. I soft-linked my R working area i.e., /home/john/Rstuff ----> /media/lnx804/home/john/Rstuff
2009 Oct 11
2
Social networking around R
Hi R users, I'd be interested in what R users think about social networking around all things R. For this, I've set up a social network @ www.rstuff.socialgo.comand it would be great if you could post your comments on the forum created for this discussion. The News section has feeds from some of the R related blogs I've been following. I'm hoping for a central resource that keeps
2009 Jul 09
2
Mysteriously vanishing LD_LIBRARY_PATH
Using R-2.8.0 and R-2.8.1, I get behaviour like this: R version 2.8.0 (2008-10-20) Copyright (C) 2008 The R Foundation for Statistical Computing ISBN 3-900051-07-0 [....] > Sys.getenv("LD_LIBRARY_PATH") LD_LIBRARY_PATH
1998 Sep 10
2
R-beta: trouble compiling 0.62.3 on SunOS 4.1.4: lgamma conflicts
I've recently tried to get 0.62.3 up on our Suns (4.1.4, using gcc; I'm also having trouble with a Solaris 2.6 compile but I haven't given up hope on that one yet) -- the last compile I did was 0.61.1, which worked smoothly. Running ./configure --prefix=/usr/local/apps/R/R-0.62.3 [--with-g77] (tried both with and without g77, eventually get to the same place), I get a conflict
2011 Dec 24
5
need help with a time series plotting problem
Dear R Users, I am a beginner in R programming and need some help with a simple plotting problem that i am having. My dataset consist of three columns: first one has data_id, second is the date and third is the actual data itself corresponding to each date. The date ranges from 1/1/2000-12/31/2009. I am trying to plot my data versus the dates as a long term time series but
1998 Jan 07
1
R-beta: image
Questions on image: 1) How can I put labels on the x and y axes? 2) How to tell it to use e.g. 32 grey levels (not some colour map)? 3) How to know what the legend is (i.e. each grey level = what z value)? Thanks very much for any help. BTW I was wondering if persp was on the To Do list. That would be great! Bill Simpson
2010 Jan 07
2
Debugging issues encountered during the "R CMD check" process
I read through the "Writing R Extensions" and the "Debugging in R" website (http://www.stats.uwo.ca/faculty/murdoch/software/debuggingR/), looking for some hints about how to solve the issue of debugging problems encountered during the "R CMD check" process, but nothing seems to be mentioned about addressing issues encountered. Specifically, I am working with the R
2008 Jan 13
2
{worker} after :end-time worker freaks out
Hi all, i was using bdrb a while ago and it wasn''t stable enough in version 0.2.1 for doing the job - it loss jobs or did execute only the first one invoked and so on. Now i gave the new version a try and i found a bug at playing around. When i start a worker_method over the normal Unix scheduler bdrb will start as much as possible the worker_method after the :end-time is reached.