Re: [R] Sweave Dynamic Graph Question

2010-11-19 Thread Dirk Eddelbuettel
have to rethink your code logic a little. Dirk -- Dirk Eddelbuettel | e...@debian.org | http://dirk.eddelbuettel.com __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R

Re: [R] R + Linux Ubuntu 10.10

2010-11-20 Thread Dirk Eddelbuettel
personally would rather not bother and am happy to let the package management system take care of it. There is also r-sig-debian for Ubuntu/Debian questions if you have any. Dirk -- Dirk Eddelbuettel | e...@debian.org | http://dirk.eddelbuettel.com __ R

Re: [R] Installing RQuantLib on Win 7 64 Bit

2010-11-25 Thread Dirk Eddelbuettel
. Dirk -- Dirk Eddelbuettel | e...@debian.org | http://dirk.eddelbuettel.com __ R-help@r-project.org 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

[R] Enough, please! (Was: Where is gdata?)

2010-11-29 Thread Dirk Eddelbuettel
This is a getting out of hand --- the thread is now approaching 30 messages. Could you two gentlemen consider taking it offline and reporting back to the list with a single summary message when you have it sorted out? Thank you, Dirk -- Dirk Eddelbuettel | e...@debian.org | http

Re: [R] Win Server x64/R: Memory Allocation Problem

2010-07-14 Thread Dirk Eddelbuettel
On Wed, Jul 14, 2010 at 05:51:17PM +0200, will.ea...@gmx.net wrote: Dear all, how can I use R on a 64-bit Windows Server 2003 machine (24GB RAM) with more than 3GB of working memory and make full use of it. I started R --max-mem-size=3G since I got the warning that larger values are too

Re: [R] UseR! 2010 - my impressions

2010-07-24 Thread Dirk Eddelbuettel
the conference together and running it. I am proud to have been a part of it. Thank you all! Not much to add to this, so I just leave it at Yup!. Thanks for useR! 2010. A job well done, and then some. -- Dirk Eddelbuettel | e...@debian.org | http://dirk.eddelbuettel.com

Re: [R] R with CouchDB?

2010-08-16 Thread Dirk Eddelbuettel
| and provide commented, minimal, self-contained, reproducible code. -- Dirk Eddelbuettel | e...@debian.org | http://dirk.eddelbuettel.com __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http

Re: [R] reliability of R-Forge?

2010-08-26 Thread Dirk Eddelbuettel
only with new releases_. Dirk -- Dirk Eddelbuettel | e...@debian.org | http://dirk.eddelbuettel.com __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting

Re: [R] Where can I download/install grDevices

2010-08-31 Thread Dirk Eddelbuettel
On Tue, Aug 31, 2010 at 04:50:39AM -0700, Stephen Liu wrote: Hi folks, Debian 504 64 bit grDevices is NOT on Debian repo $ apt-cache search r-cran | grep grDevices no printout On R $ sudo R install.packages(grDevices, dependencies=TRUE)) Warning in install.packages(grDevices) :

Re: [R] [semi-OT] Using fortune() in an email signature

2010-09-01 Thread Dirk Eddelbuettel
with Rscript is left as an exercise Cheers, Dirk -- Dirk Eddelbuettel | e...@debian.org | http://dirk.eddelbuettel.com __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R

Re: [R] How to run R on Emacs+ESS

2010-09-06 Thread Dirk Eddelbuettel
| run on Emacs? There is nothing else to do. Restart (X)Emacs, whichever variant you use on Debian, and type M-x R. You now run R inside Emacs. After that, see http://ess.r-project.org, esp the Documentation tab. Dirk -- Dirk Eddelbuettel | e...@debian.org | http://dirk.eddelbuettel.com

Re: [R] big data

2010-09-08 Thread Dirk Eddelbuettel
-- Dirk Eddelbuettel | e...@debian.org | http://dirk.eddelbuettel.com __ R-help@r-project.org 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

Re: [R] Which language is faster for numerical computation?

2010-09-09 Thread Dirk Eddelbuettel
aim to minimise the time it takes to _write_ the code to solve the problem. Dirk -- Dirk Eddelbuettel | e...@debian.org | http://dirk.eddelbuettel.com __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read

Re: [R] lapack in R 2.11.1 (Ubuntu 10.04.1)

2010-09-15 Thread Dirk Eddelbuettel
| -llapack -lblas -lgfortran -lm -L/usr/lib/R/lib -lR | | | /usr/bin/ld: cannot find -llapack | | I believe this means I don't have lapack available to link to. You have the run-time, but not the dev package. Do $ sudo apt-get install r-base-dev and it will take of this. Dirk -- Dirk

Re: [R] How many R packages are not free?

2010-10-02 Thread Dirk Eddelbuettel
On Sat, Oct 02, 2010 at 10:38:22AM -0700, Spencer Graves wrote: Is there anything on CRAN that is NOT free? Lots. Also notice that 'free' means more than redistribution. I assumed that CRAN had a policy of not accepting anything that could not be freely That's the trouble

Re: [R] R editor in ubuntu!

2010-10-05 Thread Dirk Eddelbuettel
On Tue, Oct 05, 2010 at 06:52:53AM -0700, Mehdi Zarrei wrote: I am looking for an editor to be able to execute commands into R in Linux ubuntu. Is there any suggestion? 1. See R FAQ, Section 6 at http://cran.r-project.org/doc/FAQ/R-FAQ.html#R-and-Emacs and do 'apt-get install emacs23

Re: [R] declaring GPL license

2010-10-14 Thread Dirk Eddelbuettel
the | license? I suggested you do these two steps: 1) In the file DESCRIPTION, set the License: field accordingly. 2) In the top-level directory of your sources, include the file COPYING. That should do. Dirk, not a lawyer and not playing one on TV either -- Dirk Eddelbuettel | e

Re: [R] Using Rscript to read from a file

2010-10-14 Thread Dirk Eddelbuettel
to the screen which is why I added the 'tail -2' at the end. Dirk -- Dirk Eddelbuettel | e...@debian.org | http://dirk.eddelbuettel.com __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http

Re: [R] declaring GPL license

2010-10-14 Thread Dirk Eddelbuettel
files in inst/ will always get installed. It's also simply more visible at the top-level. Dirk -- Dirk Eddelbuettel | e...@debian.org | http://dirk.eddelbuettel.com __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help

Re: [R] Using Rscript to read from a file

2010-10-14 Thread Dirk Eddelbuettel
On 14 October 2010 at 11:21, Dirk Eddelbuettel wrote: | On 14 October 2010 at 08:49, Saptarshi Guha wrote: | | Hello, | | I have this script which will be invoked as | | | | Rscript a.r a.r | | | | a.r follows | | | | #!/usr/bin/Rscript --vanilla | | f=file(stdin) | | while(TRUE){ | | y

Re: [R] C++

2009-09-29 Thread Dirk Eddelbuettel
On Tue, Sep 29, 2009 at 05:27:54AM -0700, Stefo Ratino wrote: Hello, I have written a C++ code and I would like to use it in R! Is this possible? Yes, see e.g. http://cran.r-project.org/package=Rcpp Dirk -- Three out of two people have difficulties with fractions.

Re: [R] Managing random number generating, while using Condor parallel computing

2009-09-30 Thread Dirk Eddelbuettel
On Wed, Sep 30, 2009 at 05:02:15PM +0200, Tal Galili wrote: Might someone advice me about the following question: How should I handle the RNG (random number generation) in the running of parallel instances of R on different machines. http://lmgtfy.com/?q=site%3Ar-project.org+parallel+RNG --

Re: [R] permutations

2009-10-10 Thread Dirk Eddelbuettel
On 10 October 2009 at 08:15, Eiger wrote: | require(combinat) | permn((c(23,46,70,71,89)) | | Thanks. | When I try to install the combinat package, it give me these errors: | _ | --- Please select a CRAN mirror for use in this session --- |

Re: [R] packages to download from yahoo finance

2009-10-10 Thread Dirk Eddelbuettel
On 10 October 2009 at 14:39, dinesh.som...@gatech.edu wrote: | Hi | | I am a new R user, so if this question has been raised and answered before, perhaps you can point me that way. | | I was looking for some package/scripts that can download financial data from yahoo finance (or some other)

Re: [R] Installing R on Ubuntu ( 8.10 ) ?

2009-10-13 Thread Dirk Eddelbuettel
On 13 October 2009 at 07:46, Robert Wilkins wrote: | installing on Ubuntu, how to do it and have people found it to be glitchy? | | which is easier , binary install or from source ? | | With the source install, are you less likely to have a dependencies issue ? | | ( Ubuntu does the GCC

Re: [R] What is the most efficient practice to develop an R package?

2009-10-26 Thread Dirk Eddelbuettel
On 26 October 2009 at 07:57, Martin Morgan wrote: | Peng Yu wrote: | I am reading Section 5 and 6 of | http://cran.r-project.org/doc/contrib/Leisch-CreatingPackages.pdf | | It seems that I have to do the following two steps in order to make an | R package. But when I am testing these

Re: [R] What is the most efficient practice to develop an R package?

2009-10-26 Thread Dirk Eddelbuettel
On 26 October 2009 at 13:29, Peng Yu wrote: | On Mon, Oct 26, 2009 at 11:22 AM, Dirk Eddelbuettel e...@debian.org wrote: | | On 26 October 2009 at 07:57, Martin Morgan wrote: | | Peng Yu wrote: | | I am reading Section 5 and 6 of | | http://cran.r-project.org/doc/contrib/Leisch

Re: [R] Strange Conflicts with Debian Repositories

2009-11-08 Thread Dirk Eddelbuettel
On 8 November 2009 at 17:05, Lorenzo Isella wrote: | I am experiencing some really strange problems in updating my system | whenever I have both the R repository and the multimedia repository | available. [...] | deb http://cran.ch.r-project.org/bin/linux/debian lenny-cran/ This URLs doesn't

Re: [R] Strange Conflicts with Debian Repositories

2009-11-08 Thread Dirk Eddelbuettel
On Sun, Nov 08, 2009 at 10:31:12AM -0600, Dirk Eddelbuettel wrote: On 8 November 2009 at 17:05, Lorenzo Isella wrote: | I am experiencing some really strange problems in updating my system | whenever I have both the R repository and the multimedia repository | available. [...] | deb http

Re: [R] (Parallel) Random number seed question...

2009-11-16 Thread Dirk Eddelbuettel
On 16 November 2009 at 11:42, Blair Christian wrote: | I have k identical parallel pieces of code running, each using n.rand | random numbers.  I would like to use the same RNG (for now), and set | the seeds so that I can guarantee that there are no overlaps in the | random numbers sampled by the

Re: [R] Inline Package: void vs return type functions

2010-04-13 Thread Dirk Eddelbuettel
On 13 April 2010 at 05:46, satu wrote: | Dear all, | | After having a look at the inline package and also going through the | Rcpp package which is tighty related to it, it came to me this question: | | 1) my C/ C++ code has a return type (let say a double[][] or a user define | class) It

Re: [R] Time series and non-integer seconds

2010-04-13 Thread Dirk Eddelbuettel
On 13 April 2010 at 18:49, Jeszenszky Péter wrote: | Hello, | | How to handle time series data if the sampling period is a fraction of | a second? Classes such as POSIXct, chron and timeDate stores only integer | second values. Although class POSIXlt suports fractions of a second, | neither

Re: [R] Installing randomForest on Ubuntu Errors

2010-05-10 Thread Dirk Eddelbuettel
Steve, The list r-sig-debian is a more appropriate forum for this question as it is dedicated to R on Debian / Ubuntu. On 10 May 2010 at 08:24, steve_fried...@nps.gov wrote: | | Hello, | | I've tried to install randomForest on a Ubuntu 8.04 Hardy Heron system. | | I've repeatedly rec'd the

[R] [R-pkgs] Rcpp 0.8.0 on CRAN

2010-05-17 Thread Dirk Eddelbuettel
://romainfrancois.blog.free.fr/index.php?category/R-package/Rcpp = Support = Questions about Rcpp should be directed to the Rcpp-devel mailing list https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel -- Dirk Eddelbuettel and Romain Francois Chicago, IL, USA

[R] [Follow-up] Re: PLoS, Arial, R linux

2009-11-19 Thread Dirk Eddelbuettel
On 19 November 2009 at 13:00, (Ted Harding) wrote: | However, | (a) I do not have the 'ttf2afm' program; | (b) Synaptic cannot find it in the repositories. | | So, I'm off on another hunt! i) You should try to get over the 'Synaptic is the only interface to package' syndrome. It limits

Re: [R] how to link C code with gsl from R CMD and dyn.load

2009-11-19 Thread Dirk Eddelbuettel
On 19 November 2009 at 20:29, Hao Cen wrote: | Hi, | | I am writing a function in C that is meant to be called by R. In the C | function, I used a gsl function gsl_stats_mean. The code is as simple as | below | | void gsl(double *m, int *dim){ | int r, c; | r = dim[0]; | c =

Re: [R] linking to external C++ library

2009-11-19 Thread Dirk Eddelbuettel
On 19 November 2009 at 20:57, David Scherrer wrote: | I don't bring my head around how to link an external C++ library with some R | code using R CMD SHLIB and/or R CMD INSTALL . | | So does anybody can tell me how I could easily link an external library that | is e.g. in |

Re: [R] Compiling from sources (ubuntu and x11)

2009-11-20 Thread Dirk Eddelbuettel
On 19 November 2009 at 23:34, stephen sefick wrote: | am using ubuntu 9.10 and I am getting and x11 lib/headers not found. | I have installed libx11-dev. I thought this would solve the problem, | but it is not. Any help would be appreciated. You can try 'sudo apt-get build-dep r-base' which

Re: [R] can R scripts detect signals sent by the task scheduler ?

2009-11-20 Thread Dirk Eddelbuettel
On 20 November 2009 at 14:25, mau...@alice.it wrote: | In general, is it possible to run R scripts through cron jobs ? | Is it possible to make the script detect the system interrupt, save its current status and then exit so that next time it is rescheduled it can pick up from where it left ?

Re: [R] Ubuntu tcl/tk problems

2009-11-30 Thread Dirk Eddelbuettel
On 30 November 2009 at 15:12, Peter Dalgaard wrote: | stephen sefick wrote: | Error in firstlib(which.lib.loc, package) : |Tcl/Tk support is not available on this system | Error : package 'tcltk' could not be loaded | | Ubuntu 9.10 | I have both the 8.5 and 8.4 tcl and tk regular and

Re: [R] Announcing a new R news site: R-bloggers.com

2009-12-05 Thread Dirk Eddelbuettel
On 5 December 2009 at 21:38, Tal Galili wrote: | R-Bloggers.com hopes to serve the R community by presenting (in one place) | all the new articles (posts) written (in English) about R in the R | blogosphere. But how is that different from http://PlanetR.stderr.org which has

Re: [R] Announcing a new R news site: R-bloggers.com

2009-12-06 Thread Dirk Eddelbuettel
Tal, For completeness: On 5 December 2009 at 22:32, Tal Galili wrote: | 1) Planet R is limited (for years) to 26 feeds only, and I don't remember | seeing it evolve to include (or allow inclusion) of new R blogs that came | around. That was already addressed by Romain. It would appear that you

Re: [R] Announcing a new R news site: R-bloggers.com

2009-12-08 Thread Dirk Eddelbuettel
On 8 December 2009 at 12:24, Gabor Grothendieck wrote: | I am not sure if its still the case but one of the problems with the | Planet R feed was that it had material in it not related to R or | statistics or any technical subject at all so if you harvest it be | sure to exclude such sources.

Re: [R] How to get the runtime as well as the result?

2009-12-10 Thread Dirk Eddelbuettel
On 10 December 2009 at 18:12, Peng Yu wrote: | If I use system.time() to measure the runtime of an expression, I will | not get the result. Is there a way to measure the runtime and get the | result as well? Use an assignment inside system.time(): R system.time( m - max(rnorm(1e6)) )

Re: [R] How to resolve include Rcpp.h problems?

2009-12-13 Thread Dirk Eddelbuettel
On 13 December 2009 at 19:37, Romain Francois wrote: | Hi, | | The file lives in the lib directory of the installed package Rcpp. | | Rscript -e cat(system.file( 'lib', 'Rcpp.h', package = 'Rcpp' )) Yes, and we typically use similar tricks to build with Rcpp -- suppose your file is called

Re: [R] R on amazon's EC2 cloud?

2009-12-17 Thread Dirk Eddelbuettel
On 17 December 2009 at 12:55, Blair Christian wrote: | Hi All, | | I was wondering if anybody had experience running R on amazon's ec2 | cloud? More specifically, has anybody created an amazon machine | image (AMI) for use with it? I was wondering if there was a quantian | type image available

[R] [R-pkgs] Rcpp 0.7.0: R/C++ integration now even easier

2009-12-21 Thread Dirk Eddelbuettel
Rcpp version 0.7.0 went onto CRAN this weekend. The key new features are o inline support, taken from Oleg Sklyar's neat inline package and adapted/extented to support Rcpp as well as external libraries (see below for an example); this even works on Windows (provided you have

Re: [R] PlayStation3 with Ubuntu 9.10. revolution-r: Depends: r-revolution-revobase but it is not installable

2010-01-06 Thread Dirk Eddelbuettel
On 6 January 2010 at 19:03, Steve Mew wrote: | PlayStation3 with Ubuntu 9.10. revolution-r: Depends: r-revolution-revobase | but it is not installable | | Hi All, | I have a PlayStation3 setup with Ubuntu 9.10. | Install R went fine with sudo apt-get install r-base-core | I then attempted

Re: [R] fast lm se?

2010-01-08 Thread Dirk Eddelbuettel
On 8 January 2010 at 08:35, ivo welch wrote: | dear R experts---I am using the coef() function to pick off the coefficients | from an lm() object. alas, I also need the standard errors and I need them | fast. I know I can do a summary() on the object and pick them off this | way, but this

Re: [R] R and ATLAS

2010-05-26 Thread Dirk Eddelbuettel
Jonathan, That would have been a good question for the r-sig-debian list ... On 26 May 2010 at 14:16, Jonathan Greenberg wrote: | Rhelpers: | | I recently installed the 64-bit version of R on my Debian system, and | afterwards was asked if it was compiled using ATLAS. Is there a way | to test

Re: [R] R and ATLAS

2010-05-27 Thread Dirk Eddelbuettel
On 26 May 2010 at 20:29, Jonathan Greenberg wrote: | Peter and Dirk: | | Thanks for the quick response -- I'm trying to get multiple CPU | responses as Peter indicated should happen, but those R commands only | illicit a single CPU response. | | When I check the libraries: | | ldd

Re: [R] General-purpose GPU computing in statistics (using R)

2010-06-03 Thread Dirk Eddelbuettel
Ravi, On 3 June 2010 at 09:43, Ravi Varadhan wrote: | I have been reading about general purpose GPU (graphical processing units) | computing for computational statistics. I know very little about this, but | I read that GPUs currently cannot handle double-precision floating points | and also

Re: [R] Compiling R with multi-threaded BLAS math libraries - why not actually ?

2010-06-11 Thread Dirk Eddelbuettel
On 11 June 2010 at 23:01, Matt Shotwell wrote: | In the case of REvolution R, David mentioned using the Intel MKL, | proprietary library which may not be distributed in the way R is | distributed. Maybe REvolution has a license to redistribute the library. | For the others, I suspect Gabor has

Re: [R] Install Rmpi

2010-06-14 Thread Dirk Eddelbuettel
On Mon, Jun 14, 2010 at 01:12:05PM +0200, Paco Pastor wrote: Hi everyone As I couldn't succeed with manual installation of Rmpi I decided to start again from the beginning. I removed R and MPICH in my Ubuntu Hardy installation. Then, to avoid any dependencies problems I have installed

Re: [R] package 'Biobase'

2010-06-20 Thread Dirk Eddelbuettel
On Sun, Jun 20, 2010 at 09:09:58AM -0500, li li wrote: Dear all, Does anyone know where to download the package 'Biobase' in R. Thank you! Hannah http://lmgtfy.com/?q=R+package+biobase -- Three out of two people have difficulties with fractions.

Re: [R] RPostgreSQL - Unable to locate required modules/DLLs on WinXP/7

2010-06-29 Thread Dirk Eddelbuettel
On Tue, Jun 29, 2010 at 11:35:44PM +0100, João Gonçalves wrote: Dear list users, The problem occurs when library(RPostgreSQL) is issued on R. This issue has previously appeared on R mailing list without any robust solution. The error message issued by R: Loading required package:

Re: [R] Command Line Arguments

2010-07-01 Thread Dirk Eddelbuettel
On Thu, Jul 01, 2010 at 02:49:20PM -0400, Bierbryer, Andrew wrote: Do you know to pass named command line arguments into an R script? I have used littler and argv to pass a vector of arguments, but this requires you to maintain the order of the arguments. Install the getopt package from CRAN

Re: [R] help with Date class

2010-07-07 Thread Dirk Eddelbuettel
On Wed, Jul 07, 2010 at 01:25:43PM +0200, Elisenda Vila wrote: I am trying to work with the Date class which is written in S3 and I would like to access to the elements of the class (for example the year). I've tryed to do it for example like this: as.Date(Sys.time)-w w - Sys.Date() #

Re: [R] EC2 - Amazon

2010-02-06 Thread Dirk Eddelbuettel
On 6 February 2010 at 12:04, Brian Wolf wrote: | I was wondering if anyone had any experience or knew if its possible to | run R on EC2? Yes, and apparently pretty easily. Ubuntu has a number of pre-build images which have the standard R packages and a number of additional packages already

Re: [R] (linux) display messages in R startup screen

2010-02-11 Thread Dirk Eddelbuettel
On 11 February 2010 at 12:08, Wolfgang Raffelsberger wrote: | I'm maintaining central R installation (Linux) for our institute. The | startup screen of R traditionally echoes some messages (starting with R | version ...Copyright (C).. The R Foundation for Statistical | Computing...) and I'd

[R] [Reminder] R/Finance 2010: Applied Finance with R

2010-02-16 Thread Dirk Eddelbuettel
. ZHAW, Zurich, Switzerland * Achim Zeileis, Author, Applied Econometrics with R. Universitaet Innsbruck, Austria Plus additional talks over two days from: Maria Belianina, Kris Boudt, Josh Buckner, Peter Carl, Jon Cornelissen, Dirk Eddelbuettel, Robert Grossman, Saptarshi

Re: [R] error installing gsl pkg

2007-10-03 Thread Dirk Eddelbuettel
On 3 October 2007 at 12:25, Randy Heiland wrote: | Thanks much for the reply. It turns out, for reasons which are still | unknown to me, that on this machine, doing the following: | | % g++ bessel.cpp -o bessel -lgsl -lgslcblas | | will tell me it can't find -lgsl, in spite of its path

Re: [R] Updating packages for R 2.6.0

2007-10-04 Thread Dirk Eddelbuettel
On Thu, Oct 04, 2007 at 09:54:26AM -0400, Ricardo Pietrobon wrote: I must be making some really basic mistake, since I keep getting an error message when using update.packages(checkBuilt=TRUE, ask=FALSE) - an example for MASS is below. I am running ubuntu 7.04, with a clean install done today

Re: [R] Sklyar's inline package: how to return a list?

2007-10-05 Thread Dirk Eddelbuettel
On 5 October 2007 at 10:48, Feng, Ken wrote: | Below I have a mickey-mouse example using Oleg Sklyar's wonderful inline package. | | The question I have is, how do I return multiple values, say in a list? | Inside the C code, I've also calculated 'sum'. How do I return this along with

Re: [R] Linux editor for R+LaTeX, but not Emacs

2007-10-06 Thread Dirk Eddelbuettel
On 6 October 2007 at 11:01, Scionforbai wrote: | What features are you missing in emacs that you wish were there? Are | these ESS features or LaTeX related features? | | is it only me or has anyone else the problem that running an R process | within emacs is way much slower than in a regular

Re: [R] problem with RCurl 0.8-1 installation on Debian Etch

2007-10-16 Thread Dirk Eddelbuettel
Hi Christian, On 16 October 2007 at 15:39, Christian Kohler wrote: | Dear R-Users, | | I am having some trouble getting an installation of RCurl 0.8-1 to work | properly on a Debian (Etch) machine. | | | The command 'R CMD INSTALL RCurl_0.8-1.tar.gz' yields the following error: | |

Re: [R] R-2.6.0 - packages installation through a proxy - not working

2007-10-16 Thread Dirk Eddelbuettel
On 16 October 2007 at 16:37, Rainer M Krug wrote: | Liviu Andronic wrote: | On 10/16/07, Rainer M. Krug [EMAIL PROTECTED] wrote: | I always change the variables in the terminal window before I start R, i.e. | | export http_proxy=SERVER:3128 | export ftp_proxy=SERVER:3128 | | and then start

Re: [R] Setting a pdf reader different from acroread under *nix

2007-10-21 Thread Dirk Eddelbuettel
On 21 October 2007 at 09:39, Douglas Bates wrote: | On 10/21/07, [EMAIL PROTECTED] | [EMAIL PROTECTED] wrote: | Under FreeBSD 6.2 I installed R 2.6.0. | Trying to load e.g. vignette(zoo) R calls acroread automagically. | I instead would like to use the lighter kde built-in pdf reader

Re: [R] strsplit

2007-10-22 Thread Dirk Eddelbuettel
On 22 October 2007 at 00:43, Edna Bell wrote: | Hello R Gurus: | | I would like to take a character string and split at the $ sign. | | I thought that strsplit would do it, but here are the results: | | vv | [1] whine$ts1 | vv | [1] whine$ts1 | strsplit(vv,$) | [[1]] | [1] whine$ts1 | | |

Re: [R] X11 graphics windows under CMD BATCH

2007-10-24 Thread Dirk Eddelbuettel
Luke, On 24 October 2007 at 15:16, Luke Spadavecchia wrote: | I am trying to plot some output from a FORTRAN (ifort) program using | R (2.5.1) under batch mode. In the FORTRAN code, I call R in batch Your questions is essentially FAQ 7.19. In non-interactive mode, R simply has no X11

Re: [R] X11 graphics windows under CMD BATCH

2007-10-28 Thread Dirk Eddelbuettel
Hi Luke, On 28 October 2007 at 14:30, Luke Spadavecchia wrote: | Hi Dirk, | | Thanks for your useful advice, although I am not sure I fully | understand your response. | | I am able to open x11 windows from R CMD BATCH both in windows | XP,MAC OS X and Linux (on various machines I use),

Re: [R] Cannot install 'rgl'

2007-10-29 Thread Dirk Eddelbuettel
On 29 October 2007 at 05:45, Metaxab wrote: | | Hello I have the following problem: | | I am trying to install the 'rgl' package by: | | sudo R | install.packages('rgl',dependencies=TRUE) | | | I get the following message | | checking for X... no | configure: error: X11 not found but

Re: [R] reversing perspective plot axis

2007-10-30 Thread Dirk Eddelbuettel
On 30 October 2007 at 20:17, James wrote: | I am trying to create a perspective plot with Time on the x-axis, | Underlying Price on the y-axis, and Option Price on the z-axis. But Can't help with persp, but see http://dirk.eddelbuettel.com/code/rquantlib-rgl.html for some animated

Re: [R] R and Debian Linux

2007-11-01 Thread Dirk Eddelbuettel
Ted, On 2 November 2007 at 00:21, (Ted Harding) wrote: | Hi Folks, | Lately I've been testing out recent versions of various | Linux distributions, preparatory to choosing which one | I want to upgrade to. | | One of these is debian 4.0 (Etch). | | I can install R on it as a debian package (it

Re: [R] library(tcltk) fails

2007-11-06 Thread Dirk Eddelbuettel
On Tue, Nov 06, 2007 at 01:08:40PM +0100, Sven Garbade wrote: Dear list, I cannot load the tcltk library: library(tcltk) Loading Tcl/Tk interface ... Error in fun(...) : Can't find a usable tk.tcl in the following directories: /usr/share/tcltk/tcl8.4/tk8.4 ./lib/tk8.4

Re: [R] best text editor for Linux?

2008-02-02 Thread Dirk Eddelbuettel
On 2 February 2008 at 20:15, Stefan Grosse wrote: | On Saturday 02 February 2008 07:51:00 pm you wrote: | FE I'm using the standard Ubuntu debian repositories. | FE Frank | FE | | Try the 0.4.9 etch package from the project: |

Re: [R] gc() and memory efficiency

2008-02-04 Thread Dirk Eddelbuettel
On 4 February 2008 at 20:45, Doran, Harold wrote: | I have a program which reads in a very large data set, performs some analyses, and then repeats this process with another data set. As soon as the first set of analyses are complete, I remove the very large object and clean up to try and make

Re: [R] gcc 4.3 any known issues?

2008-02-11 Thread Dirk Eddelbuettel
On Mon, Feb 11, 2008 at 07:41:50PM +0100, Stefan Grosse wrote: Hi, Fedora is for Fedora 9 switching to gcc 4.3. Before I test it (rawhide) I want to be sure that R is running. So my question is whether there have been issues compiling R + packages using 4.3? Debian's unstable flavour

Re: [R] How to set up multiple spawns of R?

2008-03-01 Thread Dirk Eddelbuettel
On 1 March 2008 at 09:19, Guy Perry wrote: | Sorry: resending this; didn't have a title on it. | | Trying to set up multiple spawns of R | --- | | Hi. I'm new to the list but I have a small problem with R. I'm trying to | set up multiple spawns of R

Re: [R] Script to start Rcmdr

2008-03-03 Thread Dirk Eddelbuettel
On Mon, Mar 03, 2008 at 10:13:53AM -0300, Ronaldo Reis Junior wrote: Hi, anybody know any way to make a bash script to start Rcmdr directly widthout need to open R and execute library(Rcmdr)? I try to make this using R CMD BATCH somethink, but dont find the way. $ r -lRcmdr

Re: [R] R_alloc with structures with flexible array members

2008-03-05 Thread Dirk Eddelbuettel
Hi Ramon, On 5 March 2008 at 22:00, Ramon Diaz-Uriarte wrote: | Yes, of course! You are right. What a silly mistake on my part! I was | using a standalone program for development of functions, debugging, | etc, of what is part of a package. That's another good use for littler's r. With a

Re: [R] rgl build warnings and loading error on Linux

2008-03-16 Thread Dirk Eddelbuettel
On 16 March 2008 at 17:00, Duncan Murdoch wrote: | On 16/03/2008 3:38 PM, Liviu Andronic wrote: | Dear useRs, | | I have several problems in using rgl-0.77 (and recent earlier | versions) on Gentoo Linux with a custom-built v. 2.6.22 kernel. | Currently I use R-2.6.1. | | When I build

Re: [R] problems with rgl in Ubuntu 'gutsy'

2008-03-17 Thread Dirk Eddelbuettel
On 17 March 2008 at 15:32, Foadi, J (James) wrote: | Dear R users/gurus, | I have recently installed Ubuntu 7.10 (Gutsy) on my Dell Latitude D520. | First time for me, as I have always used Fedora. | | R installation using apt has proceeded fine, both for r-base and r-base-dev. | | Next, I need

Re: [R] Rscript segfaults with lazy loading

2009-06-23 Thread Dirk Eddelbuettel
Gad, On 24 June 2009 at 11:43, Gad Abraham wrote: | Hi, | | I have an RData file containing a GeneSetCollection object | (Bioconductor), http://www.cs.mu.oz.au/~gabraham/c2.RData. I think it | uses lazy loading because packages are only loaded when I access the | object (see below) in the R

Re: [R] Problem installing RODBC package under UBUNTU

2009-06-24 Thread Dirk Eddelbuettel
Luis, On 24 June 2009 at 16:35, Luis Ridao Cruz wrote: | R-help, | | I'm now on the process of installing RODBC on UBUNTU | but an error occured. I copy-paste the output: You can simply do $ sudo apt-get install r-cran-rodbc As for the error: | install.packages(RODBC) [...] |

Re: [R] Memory issues on a 64-bit debian system (quantreg)

2009-06-24 Thread Dirk Eddelbuettel
On 24 June 2009 at 14:07, Jonathan Greenberg wrote: | I installed R 2.9.0 from the Debian package manager on our amd64 | system that currently has 6GB of RAM -- my first question is whether | this installation is a true 64-bit installation (should R have access to | 4GB of RAM?) I

Re: [R] pass a vector to C++

2009-06-25 Thread Dirk Eddelbuettel
On 25 June 2009 at 17:39, Ivo Shterev wrote: | Does anyone know how to pass a vector of strings, for example c(1, 2, | 3) to a C++ function? Should the input argument to the C++ function be | vectorstring*? For the basic mechanics of making R and C/C++ talk, see the 'R Extensions' manual that

Re: [R] parallel R?

2009-06-26 Thread Dirk Eddelbuettel
On 26 June 2009 at 07:40, Michael wrote: | Hi all, | | Lots of big IT companies are renting out their computing facilities. | Amazon has one such service. In my understanding, this will | dramatically improve the speed of my R program -- currently the cross | validation and model selection part

Re: [R] How to get best performance from R on Linux?

2009-06-30 Thread Dirk Eddelbuettel
Rainer, On 30 June 2009 at 14:30, Rainer M Krug wrote: | following a discussion on difference in speed of R between R and Linux, I am | wondering: is there a howto to get the most (concerning speed) out of R? I | am not talking about vectorisation and techniques in doing the analysis, but | what

Re: [R] productivity tools in R?

2009-07-01 Thread Dirk Eddelbuettel
On Wed, Jul 01, 2009 at 01:35:39PM -0400, miguel bernal wrote: Emacs or X-emacs with ess (Emacs Speaks Statistics) is great on Linux and Mac (can be the console you saw on Mac) for syntax highlight, programming and debugging. Also see

Re: [R] Testing for membership in an array of strings

2009-07-02 Thread Dirk Eddelbuettel
On 2 July 2009 at 09:13, Neil Tiffin wrote: | Given a array of string values, for example lets say mary, bob, | danny, sue, and jane. | | I am trying to determine how to perform a logical test to determine if | a variable is an exact match for one of the string values in the array | when

Re: [R] Need to study and learn about better plots

2009-07-02 Thread Dirk Eddelbuettel
On 2 July 2009 at 11:14, Steve Lianoglou wrote: | On Jul 2, 2009, at 10:39 AM, Mark Knecht wrote: | 2) The closest example of the second would be a multi-study chart sort | of like is typical in a lot of stock charting programs. Here's (I | hope) a simple example: | |

Re: [R] can't get rJava to install on Linux

2009-07-08 Thread Dirk Eddelbuettel
On 7 July 2009 at 21:28, Mark Kimpel wrote: | Having difficulties getting rJava to install on my Debian Squeeze box. Did you try the binary package? A simple sudo apt-get install r-cran-rjava should do; if not you can at least use its Build-Depeds via sudo apt-get build-depends

Re: [R] FW: Package submission to CRAN

2009-07-15 Thread Dirk Eddelbuettel
On 15 July 2009 at 13:34, Gates, Michael wrote: | Please Note: Email below was bounced back (rejected by the Packages email list moderator), so please do not ask me to submit to r-packa...@r-project.orgmailto:r-packa...@r-project.org. | | | Members, | I recently submitted my first package to

Re: [R] Renviron.in error when compiling R 2.9.1 under Debian.

2009-07-17 Thread Dirk Eddelbuettel
Milton, On 16 July 2009 at 18:08, milton ruser wrote: | I'm trying to compile R 2.9.1 on my home directory under debian, | and as I need to play with RPy, I tryed compile R using: To use RPy on Debian (or Ubuntu) you can also just try sudo apt-get install python-rpy which has been

Re: [R] S_alloc or Calloc for return value

2009-07-20 Thread Dirk Eddelbuettel
On 20 July 2009 at 16:06, Dan Kelley wrote: | I am trying to write a C function to create a vector of integers that can be | used by the R calling function. I do not know the size of the vector in the | R calling function. (Well, actually, I have an upper limit on the size, but | that is so

Re: [R] S_alloc or Calloc for return value

2009-07-21 Thread Dirk Eddelbuettel
, with the dimension determined at run-time. Dirk | Dirk Eddelbuettel wrote: | | | You want R_alloc(). Here, end of the call is the call of the R function | that calls your C function. This is what you want---the data will be | available for the caller of your C code. | | | | -- | View this message

Re: [R] time difference

2009-07-22 Thread Dirk Eddelbuettel
On 22 July 2009 at 09:44, Erin Hodgess wrote: | I am looking at the ctime attribute of two different files. It | contains the year, month, day, time of creation and time zone. [ Well only if you convert it to POSIXlt... ] | Is there a way to determine the difference between the ctimes of two |

Re: [R] Specify CRAN repository from command line

2009-07-26 Thread Dirk Eddelbuettel
On 27 July 2009 at 14:55, Aaron Hicks wrote: | It feels like I should be able to do something like: | | R CMD INSTALL lib='/usr/lib64/R/library' repos='http://proxy.url/cran' package Here's what I do using littler, you can substitute Rscript as well: #!/usr/bin/env r # # a simple

Re: [R] install package from CRAN

2009-07-28 Thread Dirk Eddelbuettel
Cindy, On 28 July 2009 at 17:15, cindy Guo wrote: | I have a very basic question about install packages from CRAN on unix. I | only installed on Windows before. Should I use the command install.package? | The error message I got is | syntax error near unexpected token `mvtnorm' | Is it because I

  1   2   3   4   5   >