similar to: How to?

Displaying 20 results from an estimated 30000 matches similar to: "How to?"

2001 Jan 17
1
Scientific notation?
Hi, Would there be a function and/or some options to force R to write a value of say 1.0e-4 as "0.0001"? More specifically I want to use R to write ASCII file(s) for other programs to read and some of these programs don't know how to deal numbers in scientific notation or have a different convention. Thanks in advance. Yves Gauvreau B.E.F.P. Universit? du Qu?bec ? Montr?al cyg at
2001 Jan 10
1
Rcmd ?
Hi, I tried running Rcmd.exe to no avail. It doesn't even start because it tries to read some memory address that NT says it can't and terminate. I tried downloading and reinstalling rw1020sp.zip with the installer twice just in case it got corrupted somehow in transport but it resulted in the same problem. What should I do? platform i386-pc-mingw32 arch x86 os Win32 system
2000 Apr 06
1
RODBC
Hi, I've installed the RODBC library, R1.000, NT 4.0. When I try to load it here is what I get: library(RODBC) Warning message: Package `RODBC' contains no R code in: library(RODBC) channel <- odbcConnect("PubsDSN", "sa", "password") # userId and password Error: couldn't find function "odbcConnect" Does anyone can shed some ligth on this
2001 Jan 14
1
Redrawing !
Hi, If I may suggest that something be done to the window drawing function of a plot. As it is now, we don't even have time to resize the window by a tiny bit before it's invoke and I think it would be an improvement if while the mouse is down the redrawing was delayed somehow. This is especially true when the plot is crowded. I also observed that moving the plot window around was a lot
2000 Oct 17
3
Cleaning things up?
Hi, I know it must be written somewhere but I can't find it. I'd like to remove all variables or objects that I've created but not the functions. I look at a few things without success. Is there a R way of doing this? There are to many to create a manual list. Thanks in advance. Yves Gauvreau -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help
2000 Jul 28
4
gremlin in rep()
the following occurred inadvertently and brought R-1.1.0 down rep(1:3, c(4,2,-6)) Segmentation Fault (core dumped) platform i686-pc-linux-gnu arch i686 os linux-gnu system i686, linux-gnu status major 1 minor 1.0 year 2000 month June day 15 language R
2001 Feb 18
3
Rcmd
I'm running Windows NT4. Rcmd does not seen to read the command line. Rterm and other things work well. For example "Rcmd check --help" fails with the command interpreter trying to find a program or file called "check." What have I missed? -- Bob Wheeler --- (Reply to: bwheeler at echip.com) ECHIP, Inc.
2000 Dec 06
1
R: RE:
A trick I use is to give tab-delimited text files created by excel or R the .xls extension: this may apply, and it may be better, to CSV: R couldn't see any difference whichever the extension will be, and windows will be foolished by the .xls extension an will open the file with Excel that will handel it CORRECTLY. If you need to have the data always alligned in Excel and R this trick will
1999 Dec 02
2
Meaning?
Hi, Sorry to ask this but what is the meaning of "AFAIK". From a darn Frenchman! Regards. Yves -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request
2000 Sep 24
2
Folding ?
Hi, I need to write a function that would look something like this: S <- function(b=betas){ expression(b[1] * f(b[2] * x * f(b[3] * x * f(...b[n-1] * x * f(b[n] * x)))...) } Where n is the number of element in b. Further I need to be able to evaluate S at some x numerically of course and I need to use "deriv" and produce dS/dx such that I can evaluate it also at some x. I
2000 Nov 06
6
unix
hello Is it possible to execute Unix command from R prompt? for example ls cd .. In matlab this possible by adding "!" !ls !cd .. -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not
2000 Nov 06
6
unix
hello Is it possible to execute Unix command from R prompt? for example ls cd .. In matlab this possible by adding "!" !ls !cd .. -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not
2000 Sep 12
3
Editor alternative
I'm using version 1.1.1 under Windows NT and Windows 2000. I'm unable to get any editor other than Notepad to work. (I don't have use for any of the Unix editors - vi or Emacs) but would like to use EditPadPro, which has some nifty features, including the ability to spawn Rgui from within it. (No syntax highlighting programmability yet, but maybe soon). Anyway, I have
2001 Feb 13
3
xfig boxplot (polygon) bug??
There appears to be a bug in the R xfig() driver. When I run a simple example, eg > data(InsectSprays) > boxplot(count ~ spray, data = InsectSprays, col = "lightgray") the boxplot is fine. Doing the same thing after > xfig(file='test.fig') and then opening in Xfig (ver3.2 patchlevel 2) on my Linux box produces boxplots where the boxes, although correctly shaded in,
2001 Feb 13
3
xfig boxplot (polygon) bug??
There appears to be a bug in the R xfig() driver. When I run a simple example, eg > data(InsectSprays) > boxplot(count ~ spray, data = InsectSprays, col = "lightgray") the boxplot is fine. Doing the same thing after > xfig(file='test.fig') and then opening in Xfig (ver3.2 patchlevel 2) on my Linux box produces boxplots where the boxes, although correctly shaded in,
2000 Jun 08
3
Output args?
Hi, Is there a way to find out if a function was called with an output argument? Or to prevent the printing of large amount of data if the function was called without output argument? Thanks YG -------------- next part -------------- An HTML attachment was scrubbed... URL: https://stat.ethz.ch/pipermail/r-help/attachments/20000608/8d7a01ec/attachment.html
2000 Jun 25
2
Easy way?
Hi, Say I have this vector x <- sort(rnorm(n)). I'd like to know if there is a nice way to find out the index of the nearest x to say 1.5? Thanks YG -------------- next part -------------- An HTML attachment was scrubbed... URL: https://stat.ethz.ch/pipermail/r-help/attachments/20000625/be875885/attachment.html
2001 Jan 10
1
Auto Demonstration...
Dear List, Suppose I want to do a demonstration with R, which I will be showing a couple of different graphs (e.g. demo(graphics) ). However I want R to run through each graphics automatically. I can achieve this by changing the line in demo(graphics): opar <- par(ask = interactive() && (.Device %in% c("X11", "GTK", "windows",
2000 Feb 29
2
RODBC
Firstly can I add my congradulations to the R core team on the release of v1.0.0 and my thanks for all their hard work. To the subject of this message: does anyone have a binary version of Michael Lapsley's RODBC package built for win32 that they can distribute? I have a solution where I can use Perl ODBC functions to dump data to a text file for reading in to R, but I think the direct ODBC
2001 Mar 22
1
Call by reference: Was: Object orientation?
To reply to Yves Gauvreau question (Jan 24, 2001) about how to set values within function, it is possible to do without without using the "<<-" assignment operator or other nasty tricks. I had the same problem and I did a nasty workaround two weeks ago implementing the functionality of reference variables, but today I "ran into" the [R] help page for ".Alias".