[Rd] R crashes if "toFile" given "~/" in Linux envirnonment

2011-05-16 Thread Mark Kimpel
I was running some sample code from a help page tonight and wished to redirect the sample output to my Desktop under Linux (Mint-Debian 64 if it makes a different). I was surprised to find that file name expansion using the ubuquitious "~/" was not recognized, in fact it caused R to crash. Is this

Re: [Rd] R crashes if "toFile" given "~/" in Linux envirnonment

2011-05-16 Thread Mark Kimpel
maintainers. > > Cheers, > Simon > > > On May 16, 2011, at 10:50 PM, Mark Kimpel wrote: > > > I was running some sample code from a help page tonight and wished to > > redirect the sample output to my Desktop under Linux (Mint-Debian 64 if > it > > makes

Re: [Rd] install.packages now intentionally references .Rprofile?

2009-05-21 Thread Mark Kimpel
This was my original post, with the code example only slightly modified by Martin for clarity. Prior to R-2.9.0, this repeated downloading did not occur, the code worked as intended. In fact, if memory serves me correctly, it even worked at least during the first 3 months of R-2.0.0 in its developm

[Rd] rJava fails compilation on R-2.9.1 but not R-2.7.1 on Debian Lenny

2009-07-15 Thread Mark Kimpel
I have been futzing around for days tying to get rJava to install on my freshly build Debian Lenny installation. I have R-2.9.1 installed from source in my R_HOME directory and R-2.7.1 installed via apt-get install r-recommended. I was tried many different things, but by accident started up R-2.7.1

Re: [Rd] rJava fails compilation on R-2.9.1 but not R-2.7.1 on Debian Lenny

2009-07-15 Thread Mark Kimpel
debian-xps /usr/lib/jvm/java-6-sun/include: printenv PATH /home/mkimpel/bin:/usr/local/bin:/usr/bin:/bin:/usr/games:/usr/lib/jvm/ mkimpel-debian-xps /usr/lib/jvm/java-6-sun/include: On Wed, Jul 15, 2009 at 2:46 PM, Mark Kimpel wrote: &g

Re: [Rd] rJava fails compilation on R-2.9.1 but not R-2.7.1 on Debian Lenny

2009-07-15 Thread Mark Kimpel
PM, Joshua Ulrich wrote: > Hi Mark, > > The first thing that jumps out to me is that 2.7.1 compiles JRI, while > 2.9.1 does not (for some reason, autodetect decides not to compile). > > HTH, > Josh > -- > http://www.fosstrading.com > > > > On Wed, Jul 15, 200

[Rd] 2.10.0 Under development (unstable) (2009-09-15 r49711) just built segfaults on Debian Squeeze

2009-09-16 Thread Mark Kimpel
I just downloaded R-devel and when loaded it immediately segfaults. I'm not sure how much or what sort of diagnostic info and can provide, but below is my build script, my console output, and the output of uname -r. I am currently dependent on the development version of a package, so I'd like to ge

Re: [Rd] 2.10.0 Under development (unstable) (2009-09-15 r49711) just built segfaults on Debian Squeeze

2009-09-16 Thread Mark Kimpel
415b29 in _start () at ../sysdeps/x86_64/elf/start.S:113 (gdb) Mark W. Kimpel MD ** Neuroinformatics ** Dept. of Psychiatry Indiana University School of Medicine 15032 Hunter Court, Westfield, IN 46074 (317) 490-5129 Work, & Mobile & VoiceMail (317) 399-1219 Skype No Voicemail

Re: [Rd] 2.10.0 Under development (unstable) (2009-09-15 r49711) just built segfaults on Debian Squeeze

2009-09-16 Thread Mark Kimpel
# End file Mark W. Kimpel MD ** Neuroinformatics ** Dept. of Psychiatry Indiana University School of Medicine 15032 Hunter Court, Westfield, IN 46074 (317) 490-5129 Work, & Mobile & VoiceMail (317) 399-1219 Skype No Voicem

Re: [Rd] 2.10.0 Under development (unstable) (2009-09-15 r49711) just built segfaults on Debian Squeeze

2009-09-16 Thread Mark Kimpel
Mark Mark W. Kimpel MD ** Neuroinformatics ** Dept. of Psychiatry Indiana University School of Medicine 15032 Hunter Court, Westfield, IN 46074 (317) 490-5129 Work, & Mobile & VoiceMail (317) 399-1219 Skype No Voicemail please On Wed, Sep 16, 2009 at 8:07 PM, Duncan Murdoch wrote: > On 1

Re: [Rd] 2.10.0 Under development (unstable) (2009-09-15 r49711) just built segfaults on Debian Squeeze

2009-09-16 Thread Mark Kimpel
()), it might re-enter the parser. It > needs to save and restore its state around that sort of call. > > This will be fairly easy to fix, but I won't be able to do it until > tomorrow. > > Duncan Murdoch > > > > On 16/09/2009 3:51 PM, Mark Kimpel wrote: > >&

Re: [Rd] 2.10.0 Under development (unstable) (2009-09-15 r49711) just built segfaults on Debian Squeeze

2009-09-21 Thread Mark Kimpel
Just downloaded and installed "R version 2.10.0 Under development (unstable) (2009-09-21 r49771)" and am happy to report that my .Rprofile loads appropriately with no segfaults. Thanks Duncan! Mark Mark W. Kimpel MD ** Neuroinformatics ** Dept. of Psychiatry Indiana University School of Medicine

[Rd] question about differences in behavior with NA subscripts in matrix vs. data.frame

2009-12-03 Thread Mark Kimpel
I ran into a problem today when using a conditional for sub-setting a data.frame and tracked it down to a difference in behavior between the treatment of NA when sub-setting matrices and data.frames. A self-contained example is below followed by sessionInfo(). I'm not questioning the documentation

Re: [Rd] Rcpp: Clarifying the meaning of GPL?

2009-12-22 Thread Mark Kimpel
I don't think this is off-topic, in the sense that it is the contribution of the developers of the multitude of packages available that has led to the success of R. How packages are maintained, forked, etc., is an important issue. I should say that I am not a developer, only a user appreciative of

Re: [Rd] Best style to organize code, namespaces

2010-02-23 Thread Mark Kimpel
I'm going to suggest something that is probably not the coolest thing to do, but it gets me by with almost all my debugging. I set options(error=recover) and then in the function I want to debug I put some unassigned variable name on the first line (example: ThisIsMyDebuggingVariable). Then I will

[Rd] error with R-patched (2008-05-02 r45591)

2008-05-03 Thread Mark Kimpel
Just installed the latest R-patched and get the error seen at the end of the output below. Don't know what to make of this but thought I should report it. In general, when installing the latest version of R, should one use R-latest or R-patched? R-latest is stable, but one would assume that R-patch

Re: [Rd] error with R-patched (2008-05-02 r45591)

2008-05-03 Thread Mark Kimpel
e. Anyway, that's the issue, R-patched doesn't like "(R)". Mark On Sat, May 3, 2008 at 4:20 PM, Prof Brian Ripley <[EMAIL PROTECTED]> wrote: > On Sat, 3 May 2008, Mark Kimpel wrote: > > Just installed the latest R-patched and get the error seen at the end of >

Re: [Rd] error with R-patched (2008-05-02 r45591)

2008-05-04 Thread Mark Kimpel
quot;~/.R") > Error in source("~/.R") : > invalid multibyte character in mbcs_get_next at line 1 > > whereas R-2.6.2 gives > > > source(".R") > > .Last.value > $value > [1] "\xe6\xf8\xe5" > > $visible > [1] TRUE

Re: [Rd] error with R-patched (2008-05-02 r45591)

2008-05-04 Thread Mark Kimpel
You're correct, bad form on my part. In reality, I did it in two steps as you suggested, just condensed for purposes of a brief communication. mark On Mon, May 5, 2008 at 1:52 AM, Peter Dalgaard <[EMAIL PROTECTED]> wrote: > Mark Kimpel wrote: > > > Thanks guys. Fo

[Rd] problem building R packages on RHEL 4 Linux with Intel compilers

2008-05-29 Thread Mark Kimpel
I would like to build R and packages with the Intel 10.1 compilers in RHEL4. Using the flags below, I can successfully build R using a vanilla ./configure, but when I install new packages they build with gcc. My sysadmin suggested adding the flags to ./configure as illustrated below, but then the R

Re: [Rd] problem building R packages on RHEL 4 Linux with Intel compilers

2008-05-29 Thread Mark Kimpel
ECTED]> wrote: > Mark Kimpel wrote: > >> >> checking for gcc... gcc >> checking for C compiler default output file name... >> configure: error: C compiler cannot create executables >> See `config.log' for more details. >> > > Are you runnin

Re: [Rd] problem building R packages on RHEL 4 Linux with Intel compilers

2008-05-29 Thread Mark Kimpel
" #define VERSION "2.7.0" #define R_PLATFORM "x86_64-unknown-linux-gnu" #define R_CPU "x86_64" #define R_VENDOR "unknown" #define R_OS "linux-gnu" #define Unix 1 #define R_ARCH "" configure: exit 77 On Thu, May 29, 2008 at 5:35 PM, Sim

Re: [Rd] problem building R packages on RHEL 4 Linux with Intel compilers

2008-05-29 Thread Mark Kimpel
I need to know what flags to put with configure so that packages will be compiled with Intel 10.1 when I do "install.packages" from within R. Mark On Thu, May 29, 2008 at 5:54 PM, Simon Urbanek <[EMAIL PROTECTED]> wrote: > > On May 29, 2008, at 5:45 PM, Mark Kimpel

[Rd] benchmarking R installations

2008-06-02 Thread Mark Kimpel
Recently I posted to this list with a question about using the Intel 10.1 compilers in building R and one response was basically, "why in the heck would you want to do that?" The answer is that my sysadmin believes that there will be a performance boost with the Intel vs. Gnu compilers on our Linux

[Rd] configure.args from install.packages passed on to subsequent update.packages?

2008-06-02 Thread Mark Kimpel
>From the help pages I see that there is a configure.args argument to install.packages, and I am using that successfully. I do not see anything similar for update.packages(). Does each package keep track of the configure.args used to build in initially and pass this on to subsequent updates or I am

Re: [Rd] benchmarking R installations

2008-06-03 Thread Mark Kimpel
l, I think you are referring to the "with mpi", which I think he also slipped in not realizing it should more properly go with the Rmpi install. Mark On Tue, Jun 3, 2008 at 12:18 AM, Dirk Eddelbuettel <[EMAIL PROTECTED]> wrote: > On Mon, Jun 02, 2008 at 11:56:16PM -0400, Mark K

Re: [Rd] benchmarking R installations

2008-06-03 Thread Mark Kimpel
Dirk Eddelbuettel <[EMAIL PROTECTED]> wrote: > On Tue, Jun 03, 2008 at 11:09:28AM -0400, Mark Kimpel wrote: > > Dirk, > > > > At the moment, our emphasis is getting an installation that will run Rmpi > in > > batch mode. I imagine my sysadmin put that line in to minimiz

Re: [Rd] benchmarking R installations

2008-06-03 Thread Mark Kimpel
ound on http://search.r-project.org : >http://finzi.psych.upenn.edu/R/Rhelp02a/archive/130270.html > and the R script here > > https://stat.ethz.ch/pipermail/r-help/attachments/20080514/0ccea72b/attachment.pl > > SU> but I have an updated version that works. I have put

[Rd] Rmpi segfault after install on Ubuntu Hardy Heron

2008-06-10 Thread Mark Kimpel
I just installed Rmpi on my 64-bit Ubuntu Hardy Heron OS and using the following without errors: "R CMD INSTALL Rmpi_0.5-5.tar.gz --configure-args=--with-mpi=/usr/lib64/openmpi" Immediately at library(Rmpi) I get the segfault displayed in my complete output below. My first thought is that perhaps

Re: [Rd] Rmpi segfault after install on Ubuntu Hardy Heron

2008-06-12 Thread Mark Kimpel
el <[EMAIL PROTECTED]> wrote: > > On 11 June 2008 at 00:46, Mark Kimpel wrote: > | I just installed Rmpi on my 64-bit Ubuntu Hardy Heron OS and using the > | following without errors: > | "R CMD INSTALL Rmpi_0.5-5.tar.gz > --configure-args=--with-mpi=/usr/lib64/openmpi

Re: [Rd] Rmpi segfault after install on Ubuntu Hardy Heron

2008-06-12 Thread Mark Kimpel
Dirk, Did R CMD ldd $R_HOME/library/Rmpi/libs/Rmpi.so as suggested and things looked okay. Not really wanting to mess with the debugger I decided to use your prepackaged version. I completely uninstalled all openmpi packages on my system using Synaptic and deleted my compiled from source Rmpi from

[Rd] RBGL not compiling on Debian Lenny with c++ (Debian 4.3.1-2) 4.3.1

2008-06-27 Thread Mark Kimpel
I've just installed Debian Lenny and RBGL fails compilation with the following errors (sessionInfo() follows). * Installing *source* package 'RBGL' ... untarring boost include tree... ** libs g++ -I/home/mkimpel/R_HOME/R-patched/R-build/lib64/R/include -I/usr/local/include -IboostIncl -fpic -g

[Rd] error in help page of function interpSpline of package splines in R-devel

2008-08-15 Thread Mark Kimpel
Unless I am misreading something, I believe there is an error in the help page of function interpSpline of package splines in R-devel. The function prototype reads: interpSpline(obj1, obj2, bSpline = FALSE, period = NULL, na.action = na.fail) whereas in the Arguments section, under na.action, th

[Rd] specifying compiler path in configure

2008-08-27 Thread Mark Kimpel
I'm having trouble building some packages while running Debian Lenny (testing) and suspect that the issues are related to the default use of gcc-4.3. With Lenny, build-essentials depends on 4.3, so I'd like to leave it installed but have also installed 4.2.1. How do I tell ./configure the path to

Re: [Rd] specifying compiler path in configure

2008-08-29 Thread Mark Kimpel
38 PM, Prof Brian Ripley <[EMAIL PROTECTED]> wrote: > On Wed, 27 Aug 2008, Mark Kimpel wrote: > >> I'm having trouble building some packages while running Debian Lenny >> (testing) and suspect that the issues are related to the default use >> of gcc-4.3. > > Yo

[Rd] splitting strings efficiently

2008-09-24 Thread Mark Kimpel
I have a very long list of strings. Each string actually contains multiple values separated by a semi-colon. I need to turn each string into a vector of the values delimited by the semi-colons. I know I can do this very laboriously by using loops, nchar, and substr, but it is terribly slow. Is ther

Re: [Rd] splitting strings efficiently

2008-09-24 Thread Mark Kimpel
7 PM, Erik Iverson <[EMAIL PROTECTED]>wrote: > ?strsplit > > Mark Kimpel wrote: > >> I have a very long list of strings. Each string actually contains multiple >> values separated by a semi-colon. I need to turn each string into a vector >> of the values delimited by the s