Re: [R] accesing slots of S4 class in C code

2005-08-23 Thread Duncan Temple Lang
HTML version deleted]] __ 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 -- Duncan Temple Lang[EMAIL PROTECTED

Re: [R] R API call from delphi

2005-09-08 Thread Duncan Temple Lang
On approach is to create a native/foreign interface to R by linking R as a library (libR.a and R.dll) file and calling the C routines in the library to i) initialize the R interpreter ii) call an R function We have done this with many languages and the procedure is well understood at this

Re: [R] SAX Parser best practise

2005-09-21 Thread Duncan Temple Lang
Jan Hummel wrote: Dear All, I have a question regarding best practise in setting up a XML parser within R. Because I have files with more than 100 MB and I'm only interested in some values I think a SAX-like parser using xmlEventParse() will be the best solution. Unfortunately the

Re: [R] SAX Parser best practise

2005-09-23 Thread Duncan Temple Lang
, there is a new version of the XML package on the Omegahat web site. It has several new features, including a function to find nodes via XPath expressions, SAX2 support, recursive support for xmlElementsByTagName(). cheers Jan - -- Duncan Temple Lang[EMAIL PROTECTED] Department

Re: [R] SAX Parser best practise

2005-09-26 Thread Duncan Temple Lang
/posting-guide.html - -- Duncan Temple Lang[EMAIL PROTECTED] Department of Statistics work: (530) 752-4782 371 Kerr Hall fax: (530) 752-7099 One Shields Ave. University of California at Davis Davis, CA 95616, USA -BEGIN PGP SIGNATURE- Version

Re: [R] Error Message - Error: symbol print-name too long

2005-09-26 Thread Duncan Temple Lang
- -- Duncan Temple Lang[EMAIL PROTECTED] Department of Statistics work: (530) 752-4782 371 Kerr Hall fax: (530) 752-7099 One Shields Ave. University of California at Davis Davis, CA 95616, USA -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2 (Darwin) Comment

Re: [R] Can R functions be implented in Matlab

2005-10-12 Thread Duncan Temple Lang
-project.org/posting-guide.html __ 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 - -- Duncan Temple Lang[EMAIL PROTECTED

Re: [R] combinatorics

2006-10-13 Thread Duncan Temple Lang
@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 and provide commented, minimal, self-contained, reproducible code. - -- Duncan Temple Lang[EMAIL PROTECTED] Department of Statistics

Re: [R] R-2.01 and RSPerl-0.6.2

2005-03-04 Thread Duncan Temple Lang
list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html -- Duncan Temple Lang[EMAIL PROTECTED] Department of Statistics work: (530) 752-4782 371 Kerr Hall fax: (530) 752-7099 One

Re: [R] R SOAP Client Alternatives Recommendations

2006-05-20 Thread Duncan Temple Lang
read the posting guide! http://www.R-project.org/posting-guide.html - -- Duncan Temple Lang[EMAIL PROTECTED] Department of Statistics work: (530) 752-4782 4210 Mathematical Sciences Building fax: (530) 752-7099 One Shields Ave. University of California at Davis

Re: [R] R usage for log analysis

2006-06-12 Thread Duncan Temple Lang
Using Perl or R shouldn't be an either/or issue. We can call Perl code from R (via RSPerl at least) and then we get the benefit of well tested, fast code that might exist in Perl to read the log files and the ability to do interactive, exploratory analysis in R. And reading the file in Perl does

Re: [R] put R on a web server

2006-07-17 Thread Duncan Temple Lang
-project.org/posting-guide.html - -- Duncan Temple Lang[EMAIL PROTECTED] Department of Statistics work: (530) 752-4782 4210 Mathematical Sciences Building fax: (530) 752-7099 One Shields Ave. University of California at Davis Davis, CA 95616, USA -BEGIN PGP

Re: [R] Regexp subexpression

2006-03-25 Thread Duncan Temple Lang
with strsplit() to break them up. Dieter __ 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 - -- Duncan Temple Lang

Re: [R] SJava help

2003-09-24 Thread Duncan Temple Lang
-- ___ Duncan Temple Lang[EMAIL PROTECTED] Bell Labs, Lucent Technologiesoffice: (908)582-3217 700 Mountain Avenue, Room 2C-259 fax:(908)582-3340 Murray Hill, NJ 07974-2070 http://cm.bell-labs.com/stat/duncan

Re: [R] Excel to R

2003-10-22 Thread Duncan Temple Lang
-- ___ Duncan Temple Lang[EMAIL PROTECTED] Bell Labs, Lucent Technologiesoffice: (908)582-3217 700 Mountain Avenue, Room 2C-259 fax:(908)582-3340 Murray Hill, NJ 07974-2070 http://cm.bell-labs.com/stat/duncan __ [EMAIL

[R] Re: Starting and Terminating the JVM for package SJava

2003-10-28 Thread Duncan Temple Lang
ZABALZA-MEZGHANI Isabelle wrote: Hello, I would like to know if there is a possibility to open an R session via Java (using the SJava package), then to terminate it, and re-run another. At present, there is no code in the R system to terminate a session and shut down the engine. I have

Re: [R] Re: packaging a package addon

2003-10-30 Thread Duncan Temple Lang
Francisco, CA 94143-0840 hm: (415) 550-1062 __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help -- ___ Duncan Temple Lang

Re: [R] Error when calling a dll procedure

2003-11-16 Thread Duncan Temple Lang
. Thanks. Regards, Bernd Holleczek -- Bernd Holleczek [EMAIL PROTECTED] __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help -- ___ Duncan Temple

Re: [R] Installing RXlisp

2003-11-19 Thread Duncan Temple Lang
--clean --configure-args='--with-build-xlisp-dll' RXLisp I haven't looked at this package for a while, so let me know if there are other problems. D. Luca Scrucca wrote: Dear R users, I was trying to install the package RXLisp by Duncan Temple Lang on a MDK 9.1 Linux machine running R

Re: [R] size of graphics device

2003-11-19 Thread Duncan Temple Lang
://www.stat.math.ethz.ch/mailman/listinfo/r-help -- ___ Duncan Temple Lang[EMAIL PROTECTED] Bell Labs, Lucent Technologiesoffice: (908)582-3217 700 Mountain Avenue, Room 2C-259 fax:(908)582-3340 Murray Hill, NJ 07974

Re: [R] RSPerl

2003-12-18 Thread Duncan Temple Lang
help Andrea __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help -- ___ Duncan Temple Lang[EMAIL PROTECTED] Bell Labs, Lucent

Re: [R] R as a `script'

2003-02-05 Thread Duncan Temple Lang
-- ___ Duncan Temple Lang[EMAIL PROTECTED] Bell Labs, Lucent Technologiesoffice: (908)582-3217 700 Mountain Avenue, Room 2C-259 fax:(908)582-3340 Murray Hill, NJ 07974-2070 http://cm.bell-labs.com/stat/duncan __ [EMAIL

Re: [R] How to modify XML documents and save changes

2003-03-04 Thread Duncan Temple Lang
__ [EMAIL PROTECTED] mailing list http://www.stat.math.ethz.ch/mailman/listinfo/r-help -- ___ Duncan Temple Lang[EMAIL PROTECTED] Bell Labs, Lucent Technologiesoffice: (908)582-3217 700 Mountain Avenue, Room 2C-259 fax

Re: [R] libR.so - not recognized

2003-03-10 Thread Duncan Temple Lang
-- ___ Duncan Temple Lang[EMAIL PROTECTED] Bell Labs, Lucent Technologiesoffice: (908)582-3217 700 Mountain Avenue, Room 2C-259 fax:(908)582-3340 Murray Hill, NJ 07974-2070 http://cm.bell-labs.com/stat/duncan

Re: [R] Re: [BioC] installing XML in linux

2003-06-09 Thread Duncan Temple Lang
-- ___ Duncan Temple Lang[EMAIL PROTECTED] Bell Labs, Lucent Technologiesoffice: (908)582-3217 700 Mountain Avenue, Room 2C-259 fax:(908)582-3340 Murray Hill, NJ 07974-2070 http://cm.bell-labs.com/stat/duncan

Re: [R] FW: S4 classes, creating in C

2003-06-23 Thread Duncan Temple Lang
this week. __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help -- ___ Duncan Temple Lang[EMAIL PROTECTED] Bell Labs, Lucent Technologies

Re: [R] R as COM client (rather than server)

2003-06-30 Thread Duncan Temple Lang
-help __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help -- ___ Duncan Temple Lang[EMAIL PROTECTED] Bell Labs, Lucent Technologies

Re: [R] configuration error when installing gtkDevice

2003-07-04 Thread Duncan Temple Lang
Temple Lang[EMAIL PROTECTED] Bell Labs, Lucent Technologiesoffice: (908)582-3217 700 Mountain Avenue, Room 2C-259 fax:(908)582-3340 Murray Hill, NJ 07974-2070 http://cm.bell-labs.com/stat/duncan __ [EMAIL PROTECTED

Re: [R] XML Package.

2003-07-10 Thread Duncan Temple Lang
PROTECTED]---W-W [[alternative HTML version deleted]] __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help -- ___ Duncan Temple Lang

Re: [R] Calling primitive functions from C code

2003-12-31 Thread Duncan Temple Lang
-- ___ Duncan Temple Lang[EMAIL PROTECTED] Bell Labs, Lucent Technologiesoffice: (908)582-3217 700 Mountain Avenue, Room 2C-259 fax:(908)582-3340 Murray Hill, NJ 07974-2070 http://cm.bell-labs.com/stat/duncan __ [EMAIL

Re: [R] COM objects with early bindings in R

2005-10-17 Thread Duncan Temple Lang
@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 - -- Duncan Temple Lang[EMAIL PROTECTED] Department of Statistics work: (530) 752-4782 371 Kerr Hall fax: (530

Re: [R] encrypted RData file?

2005-10-27 Thread Duncan Temple Lang
__ 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 - -- Duncan Temple Lang[EMAIL PROTECTED] Department of Statistics work: (530) 752-4782 371 Kerr Hall

Re: [R] Problems with source() function

2005-10-27 Thread Duncan Temple Lang
? Sincerely, thank you! Alberto de Luis www.cicancer.org __ 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 - -- Duncan Temple Lang

Re: [R] encrypted RData file?

2005-10-27 Thread Duncan Temple Lang
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Na Li wrote: On 27 Oct 2005, Duncan Temple Lang wrote: Yes, it is of interest and was sitting on my todo list at some time. If you want to go ahead and provide code to do it, that would be terrific. There are other areas where encryption

Re: [R] dyn.load() error: bad external relocation length

2005-10-29 Thread Duncan Temple Lang
Hi Walton. .C/.Call are interfaces to _compiled_ C routines in a dynamically loaded library (DLL or DSO - shared object). A progra A program is often created from compiling C code into an executable. We can call the executable via system, but we cannot access its routines via .C/.Call. So, if

Re: [R] writing R shell scripts?

2005-11-07 Thread Duncan Temple Lang
this?: #!/usr/lib/R/bin/R.bin Well, that isn't quite it because I tried it and it didn't work! Any advice greatly appreciated. Thanks in advance. Mike - -- Duncan Temple Lang[EMAIL PROTECTED] Department of Statistics work: (530) 752-4782 371 Kerr Hall

Re: [R] short suggestion to the R development team

2005-11-09 Thread Duncan Temple Lang
/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html - -- Duncan Temple Lang[EMAIL PROTECTED] Department of Statistics work: (530) 752-4782 371 Kerr Hall fax: (530) 752-7099 One Shields Ave. University

Re: [R] Method for $

2005-11-18 Thread Duncan Temple Lang
--- End of Original Message --- __ 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 - -- Duncan Temple Lang[EMAIL

Re: [R] Mass 'identify' on 2d-plot

2005-12-05 Thread Duncan Temple Lang
__ 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 - -- Duncan Temple Lang[EMAIL PROTECTED] Department of Statistics work: (530) 752

Re: [R] Conflict RGtk tcltk

2005-12-05 Thread Duncan Temple Lang
compatible. The event loop mechanism in Windows used by tcltk and RGtk is a little bizarre and efforts to generalize it have not been overly successful. I thought about unloading the package RGtk but I don't know how to do that. Thanks, - -- Duncan Temple Lang[EMAIL PROTECTED

Re: [R] Age of an object?

2005-12-14 Thread Duncan Temple Lang
-guide.html __ 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 - -- Duncan Temple Lang[EMAIL PROTECTED] Department

Re: [R] Age of an object?

2005-12-14 Thread Duncan Temple Lang
://www.R-project.org/posting-guide.html - -- Duncan Temple Lang[EMAIL PROTECTED] Department of Statistics work: (530) 752-4782 371 Kerr Hall fax: (530) 752-7099 One Shields Ave. University of California at Davis Davis, CA 95616, USA -BEGIN PGP

Re: [R] RBloomberg Package Problem

2006-11-16 Thread Duncan Temple Lang
The RDCOMClient is available from a different repository http://www.omegahat.org/R You can include it in the list of repositories being searched on Windows using the Packages menu in the R GUI and then select the entry Select repositories and include Omegahat in the selection. Or just install

Re: [R] RBloomberg Package Problem

2006-11-16 Thread Duncan Temple Lang
me ASAP... You'll need to give a little more information if you want us to help with that one. Unsuccessful doesn't give us much to go on. Thanks in advance.. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Duncan Temple Lang Sent: Thursday

Re: [R] gzfile with multiple entries in the archive

2006-11-18 Thread Duncan Temple Lang
to extract both the list of files in a tgz archive and to extract any one of these files? Clearly I can use zcat and tar on Linux, but I need this to work within the R environment on Windows! You could use tar on Windows: it is in the R tools set. - -- Duncan Temple Lang

Re: [R] installation step for RSperl

2006-11-22 Thread Duncan Temple Lang
@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 and provide commented, minimal, self-contained, reproducible code. - -- Duncan Temple Lang[EMAIL PROTECTED] Department

Re: [R] CGIwithR

2007-02-02 Thread Duncan Temple Lang
Aimin Yan wrote: I try a example http://omega.psi.iastate.edu/bootstrapFile.html it doesn't give me output. I don't why. For another example http://omega.psi.iastate.edu/trivial.html it seems works except it doesn't display figure. But it gives you an error that states why there

Re: [R] CGIwithR

2007-02-04 Thread Duncan Temple Lang
You should look in the log files from apache for error messages, specifically the error.log file (typically). If you are getting no output, the code in the R script is most likely generating an error before it creates any output. So you can have it output information about what it is doing.

Re: [R] XML and str

2007-02-10 Thread Duncan Temple Lang
Martin Maechler wrote: Ashley == Ashley Ford [EMAIL PROTECTED] on Wed, 07 Feb 2007 17:18:56 + writes: Ashley If I read in an .xml file eg with xeg - xmlTreeParse(system.file(exampleData, test.xml, package=XML)) Ashley It

Re: [R] RSPython

2007-02-25 Thread Duncan Temple Lang
Well, we'll need to know in what ways it doesn't work and what operating system you are using, etc. If you want to call R from Python, RPy is probably more straightforward. But RSPython works fine on Unix machines. Not on Windows at this point. D. Alberto Vieira Ferreira Monteiro wrote: Any

Re: [R] XML - can create but can't save

2007-03-20 Thread Duncan Temple Lang
Just for the record, the method has been added for that particular type of tree. So the original saveXML(tt, file = test.xml) will work. Thanks for pointing it out. D. Alberto Monteiro wrote: I wrote: library(XML) tt - xmlHashTree() head - addNode(xmlNode(head), character(), tt)

Re: [R] Reasons to Use R

2007-04-11 Thread Duncan Temple Lang
list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Duncan Temple Lang[EMAIL PROTECTED] Department of Statistics work: (530

Re: [R] Is it possible to control R with S+?

2007-05-17 Thread Duncan Temple Lang
Several years ago, I wrote an R package RinS which embeds R in S-Plus as a regular chapter and then allowed one to call R functions from S-Plus in the form .R('rfunction', x, y, z) I haven't looked at it for a long time, but the basic architecture should still work. What might need to be

Re: [R] Trouble compiling XML package

2007-05-18 Thread Duncan Temple Lang
Wiener, Matthew wrote: Dear Prof. Lang - I am trying to install the XML library on a 64-bit SUSE linux system (version info below) running 2.4.1. I have gcc version 3.3.3, and libxml2 version 2.6.7. I know this is not current, but I'm on a machine used and administered by others, and

Re: [R] Excel calling R functions

2007-06-01 Thread Duncan Temple Lang
). HTH, Tobias -- Duncan Temple Lang[EMAIL PROTECTED] Department of Statistics work: (530) 752-4782 4210 Mathematical Sciences Bldg. fax: (530) 752-7099 One Shields Ave. University of California at Davis Davis, CA 95616, USA

Re: [R] names() after library(RDCOMClient) problem(?)

2007-06-14 Thread Duncan Temple Lang
Hi Costas. On my Windows setup, I don't get this error message. What version of RDCOMClient are you using - i.e. the output of packageDescription(RDCOMClient) and also what else is loaded into the R session, i.e. sessionInfo() D. Vorlow Constantinos wrote: Hello, Try

Re: [R] Loading problem with XML_1.9

2007-07-08 Thread Duncan Temple Lang
Well, as you mention at the end of the mail, several people have given you suggestions about how to solve the problem using different approaches. You might search on the Web for how to install a 64 bit version of libxml2? Using xmlTreeParse(, useInternalNodes = TRUE) is an approach to reducing

Re: [R] xmlOutputBuffer vs xmlOutputDOM

2007-07-08 Thread Duncan Temple Lang
Hi Arjun Have you tried using xmlTree() which uses an opaque C representation of the document and I expect will serialize the contents relatively rapidly. The interface for creating the tree is intended to be the same, and is at least similar to, as xmlOutputDOM. The intent is that the

Re: [R] Loading problem with XML_1.9

2007-07-09 Thread Duncan Temple Lang
interactioninteractionRef121818/interactionRefmoleculeRef74726/moleculeRefmoleculeNameMBIP/moleculeName selfVariantRef0/selfVariantRefpartnerVariantRef0/partnerVariantRef/interaction /molecule --- Duncan Temple Lang [EMAIL PROTECTED] wrote: Well, as you mention at the end of the mail, several

Re: [R] Source inside source

2007-07-16 Thread Duncan Temple Lang
There is a package available at http://www.omegahat.org/Prerelease/RSource_0.1-1.tar.gz that has an extended source() that maintains a list of directories in which to search for files and a stack of the files currently being source()d so that one can determine what is currently going on. It

Re: [R] SOLVED: importing huge XML-Files -- new problem: special characters

2007-09-04 Thread Duncan Temple Lang
__ 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 and provide commented, minimal, self-contained, reproducible code. -- Duncan Temple Lang[EMAIL