[R] filehash package: error in unserialize(con)

2007-08-29 Thread Adrian Dragulescu
, and it seems to be very fragile. Any suggestions much appreciated. Thank you, Adrian Dragulescu __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html

Re: [R] Problem Connecting to Oracle with R from Windows XP

2007-08-18 Thread Adrian Dragulescu
You also need the ROracle package. On 8/15/07, Song, Alex [EMAIL PROTECTED] wrote: Hello, I installed RGui 2.5.1 and package DBI on Windows XP and tried to connect to Oracle database which is on a Linux server. When I tried to use dbDriver(Oracle), I got an error as follows: drv -

Re: [R] the large dataset problem

2007-08-04 Thread Adrian Dragulescu
with the $ operator. I think filehash is more general than R.huge. R.huge works very well with numerical 2D data only. Adrian Dragulescu On 7/31/07, Eric Doviak [EMAIL PROTECTED] wrote: Just a note of thanks for all the help I have received. I haven't gotten a chance to implement any of your suggestions

Re: [R] learning lattice graphics

2007-05-27 Thread Adrian Dragulescu
Check the documentation link from http://cm.bell-labs.com/cm/ms/departments/sia/project/trellis/software.writing.html Adrian On 5/26/07, Tyler Smith [EMAIL PROTECTED] wrote: Hi, I've just produced my first lattice plot - the graphic is very impressive, but I only partly understand how it

[R] how to avoid infinite loops when sourcing R files

2007-05-09 Thread Adrian Dragulescu
Hello, I have a bunch of R files in a directory and I want to source all of them with something like lapply(files, source). I have a main.R file source(C:/Temp/set.parms.R) parms - set.parms() do.calcs(parms) cat(I'm done with main.R\n) Then I have set.parms.R function set.parms - function(){

[R] R in a production environment

2007-02-10 Thread Adrian Dragulescu
Recently there have been a lot of discussions on the list on the use of R in industry and comparisons with SAS SPSS. These are very important questions and it might be worth having them all grouped together for reference. I would like to add to these topics a related one. Can we share our

[R] autofill for a tkentry field

2007-01-01 Thread Adrian Dragulescu
Hello all, I'm experimenting with tlk/tk and I find it very useful. I would like to have the text of a tkentry be automatically filled when the user starts typing, according to a predetermined list. I've found a solution on the tcl wiki pages, but I don't quite know how to translate it in R...

[R] Installing package rpvm under Windows

2006-11-13 Thread Adrian Dragulescu
Hello, I'm trying to install the rpvm package under Windows, but I am having problems. I have pvm3.4 installed properly. I've defined the system variables PVM_ROOT = C:\PROGRA~1\pvm3.4\ PVM_ARCH = win32 When I try to install, I get this: C:\R\PackagesRcmd INSTALL rpvm_1.0.1.tar.gz

Re: [R] Suppress blanks/spaces in character

2006-10-27 Thread Adrian Dragulescu
c - abcdef ghi gsub( +, , c) [1] abc def ghi On Fri, 27 Oct 2006 [EMAIL PROTECTED] wrote: Hi all I'm have a character vector and would like to suppress the blanks if there are more than one after the other. Example: Character value is: abc def ghi The result should be:

[R] ROracle error in Windows. Memory could not be read.

2006-10-19 Thread Adrian Dragulescu
I've seen from earlier posts that other people had problems installing ROracle under Windows. I run R-2.3.1. I got the Windows binaries for ROracle from http://stat.bell-labs.com/RS-DBI/download/index.html Here is my session: require(ROracle) Loading required package: ROracle Loading required

[R] greek letters, text, and values in labels

2006-07-25 Thread Adrian Dragulescu
Hello, I want to have a title that will look something like: Results for \theta=2.1, given that I have a variable theta=2.1, and \theta should show on the screen like the greek letter. I've tried a lot of things: theta - 2.1 plot(1:10, main=expression(paste(Results for, theta, =, eval(theta

[R] weird behavior of nsmall in format

2006-02-13 Thread Adrian Dragulescu
From the help page of format, nsmall should control the number of digits. format(0.123456789, nsmall = 10) [1] 0.1234567890 format(0.123456789, nsmall = 1) [1] 0.1234568 format(0.123456789, nsmall = 2) [1] 0.1234568 format(0.123456789, nsmall = 8) [1] 0.12345679 It adds

[R] how to clear the last error?

2006-02-09 Thread Adrian Dragulescu
Hello, I would like to clear the last error that I get with geterrmessage(). Not even rm(list=ls()) clears it. Can I set it to NULL somehow? Thank you, Adrian __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help

[R] problem with DCOM server in R 2.1.0

2005-04-20 Thread Adrian Dragulescu
Hello list, I just installed R 2.1.0. When I try to run the Server 01 - Basic test I get the error Fatal error: unable to open the base package. Any solution? Thank you, Adrian Dragulescu __ R-help@stat.math.ethz.ch mailing list https

[R] dumping the summary of lm to a text file

2005-02-17 Thread Adrian Dragulescu
like to dump exactly what I see on the console with print(sreg) to a text file. I've tried using cat but it did not work. I've read the list questions but I did not see a solution. Can you help with this? Thank you, Adrian Dragulescu __ R-help

[R] memory problems with lm

2004-04-29 Thread Adrian Dragulescu
Hello list, I've seen the recent discussions documenting problems with lm. I have encountered the following problem. I use WinXP Pro with service pack 1, and R 1.9.0, on a XEON 2GHz, with 1GB of RAM. eff.fro std.dev mean NSTRDSP 7.403749e-01 1.215686e-01 CPFGEP

RE: [R] memory problems with lm

2004-04-29 Thread Adrian Dragulescu
() say? Andy From: Adrian Dragulescu Hello list, I've seen the recent discussions documenting problems with lm. I have encountered the following problem. I use WinXP Pro with service pack 1, and R 1.9.0, on a XEON 2GHz, with 1GB of RAM. eff.fro std.dev

Re: [R] cumulative density function

2004-03-19 Thread Adrian Dragulescu
Because the result is a list, you can get your number like this: integrate(dnorm,0,2)[[1]] You don't have an expression for the probability function? You can do a nonlinear regression to a distribution you belive in, and then integrate that. Or, you can calculate the experimental cdf by simple

[R] profile error on an nls object

2004-03-18 Thread Adrian Dragulescu
Hello all, This is the error message that I get. hyp.res - nls(log(y)~log(pdf.hyperb(theta,X)), data=dataModel, + start=list(theta=thetaE0), + trace=TRUE) 45.54325 : 0.100 1.3862944 -4.5577142 0.0005503 3.728302 : 0.0583857346 0.4757772859 -4.9156128701