Re: [Rd] R CMD SHLIB in Windows XP - No output at all

2012-02-15 Thread Lorenzo
Hi all, Thanks a LOT for your help. My issue actually came from the fact that my Renviron.site file was modifying the path variable (I though windows path and R path were different so hardcoded a path in Renviron. Because of this, the command in R "tool::.SHLIB()" was crashing R without any error

Re: [Rd] R CMD SHLIB in Windows XP - No output at all

2012-02-15 Thread William Dunlap
It looks like my original path had R_HOME for 2.14.0 in it, but what I did works when that was changed. Bill Dunlap Spotfire, TIBCO Software wdunlap tibco.com > -Original Message- > From: r-devel-boun...@r-project.org [mailto:r-devel-boun...@r-project.org] On > Behalf Of William Dunlap

Re: [Rd] R CMD SHLIB in Windows XP - No output at all

2012-02-15 Thread William Dunlap
Does the following example help? I installed Duncan Murdoch's Rtools-2.13 into E:\Rtools-2.13 and R into E:\Program Files\R\R-2.14.1. I put a small file of C code into E:\temp\junk.c. Here is record of what I did after opening a new cmd.exe window. Setting PATH is critical: put the 2 bin directo

Re: [Rd] R CMD SHLIB in Windows XP - No output at all

2012-02-15 Thread Lorenzo
Hi Duncan, Thanks for your help, I am actually using R Windows version 2.14.1 (22th Dec 2011). Actually by "R CMD SHLIB *.*" I actually meant putting any file name after the R CMD SHLIB ("R CMD SHLIB convolve.c" for example). Another case which fails is : creating a Rcpp Armadillo package skeleto

Re: [Rd] R CMD SHLIB in Windows XP - No output at all

2012-02-15 Thread Lorenzo
Hi Dirk, Thanks for your suggestion. Seems that I have the same issue with the inline package, here is my output : INLINE SIMPLE EXAMPLE > library(Rcpp) > library(inline) > library(RcppArmadillo) > foo <- ' + int i, j, na, nb, nab; + double *xa, *xb, *xab; + SEXP ab; + + PR

Re: [Rd] read.spss issues

2012-02-15 Thread David Winsemius
On Feb 15, 2012, at 3:28 PM, Thomas Lumley wrote: On Wed, Feb 15, 2012 at 7:05 PM, Jeroen Ooms > wrote: The second problem is that the spss dataformat allows to specify 'duplicate labels', whereas this is not allowed for factors. read.spss does not deal with this and creates a bad factor

Re: [Rd] read.spss issues

2012-02-15 Thread Thomas Lumley
On Wed, Feb 15, 2012 at 7:05 PM, Jeroen Ooms wrote: > The second problem is that the spss dataformat allows to specify > 'duplicate labels', whereas this is not allowed for factors. read.spss > does not deal with this and creates a bad factor > > x <- read.spss("http://www.stat.ucla.edu/~jeroen/s

Re: [Rd] help.search() in html?

2012-02-15 Thread Hiroyuki Kawakatsu
On Wed, Feb 15, 2012, Duncan Murdoch wrote: > Fixed now on my system and committed as r58351.  It was simply a typo in > some housekeeping changes made in December, where > paste(..., sep="") was replaced by paste0(...). Many thanks for your swift attention and fix. I can confirm the fix on my mac

Re: [Rd] requesting a new SIG mailing list

2012-02-15 Thread Sarah Goslee
Hi all, > It would be great if Sara of someone of the maintainers of the r-sig-ecology > list could add that info to the info page. I'm talking with the other maintainer about revising both the short and the long descriptions. > I think that r-sig-env would be much more intuitive for environment

Re: [Rd] which R package is used for browsing web pages through coding

2012-02-15 Thread Jeffrey Ryan
Probably not R-devel, more likely R-help or google. Why not just use the 6+ solutions you have outlined and use R for what R is good at? Jeff On Fri, Feb 10, 2012 at 4:54 AM, sagarnikam123 wrote: > i know RCurl pakage to retrieve web content,it has limited use, i want > interactive package like

Re: [Rd] R CMD SHLIB in Windows XP - No output at all

2012-02-15 Thread Duncan Murdoch
On 13/02/2012 7:09 PM, Lorenzo wrote: Hello all, I'm trying hard to make R CMD SHLIB work on Windows XP (32-bit) - please note that I don't have the admin rights on the computer. In terms of setup, I have followed the procedure : => installed Rtools 2.14 => changed my path : PATH=C:\Trading\R\

Re: [Rd] help.search() in html?

2012-02-15 Thread Duncan Murdoch
Fixed now on my system and committed as r58351. It was simply a typo in some housekeeping changes made in December, where paste(..., sep="") was replaced by paste0(...). Duncan Murdoch On 15/02/2012 8:03 AM, hkawa...@gmail.com wrote: Hi, I have options(help_type="html") in my .Rprofile and

Re: [Rd] help.search() in html?

2012-02-15 Thread Duncan Murdoch
On 15/02/2012 8:03 AM, hkawa...@gmail.com wrote: Hi, I have options(help_type="html") in my .Rprofile and when I type ?foo, the man page appears as a new tab in my web browser (which is already running). Fine. However, when I type ??foo, rather than the results appearing in a new tab, a new inst

Re: [Rd] executable files R package

2012-02-15 Thread Duncan Murdoch
On 13/02/2012 2:36 PM, sahir bhatnagar wrote: I am in the process of creating a package in R which calls pre-compiled C code i.e. '.exe' files in Windows. Since CRAN will not accept packages with binary code files, what are my options to meet the requirements while still including the executable

Re: [Rd] R CMD SHLIB in Windows XP - No output at all

2012-02-15 Thread Dirk Eddelbuettel
On 13 February 2012 at 16:09, Lorenzo wrote: | Hello all, | | I'm trying hard to make R CMD SHLIB work on Windows XP (32-bit) - please Have a look at the countless examples and hundreds of unit tests in the Rcpp package. Almost all of them work by using the inline package to compile, link and l

[Rd] executable files R package

2012-02-15 Thread sahir bhatnagar
I am in the process of creating a package in R which calls pre-compiled C code i.e. '.exe' files in Windows. Since CRAN will not accept packages with binary code files, what are my options to meet the requirements while still including the executable file? I read section 1.5.2 of the manual which

[Rd] how to convert JGR package script to .exe

2012-02-15 Thread sagarnikam123
i made jDialog through JGR package(Java gui 4 R), i want to export it with imported external package e.g.bio3d,RCOR , into .exe or if not possible convert code to executable jar file how should i go, give me package name,example codes (if possible) -- View this message in context: http://r.789

[Rd] which R package is used for browsing web pages through coding

2012-02-15 Thread sagarnikam123
i know RCurl pakage to retrieve web content,it has limited use, i want interactive package like (in perl--->Mechanize, In java--->Watij,Prowser,HTMLunit,HTTPunit, in Ruby>Watir ,etc) this modules/packages opens appropriate browser,which can create queries,retrieves output, clicks buttons,

Re: [Rd] requesting a new SIG mailing list

2012-02-15 Thread Mauricio Zambrano-Bigiarini
On 15/02/12 09:07, Dominik Reusser wrote: Dear all, I do think that joining efforts is a good idea. However, hydrologists will probably not intuitively think about joining r-sig-ecology to discuss hydrological issues. Could we therefore explicitely state on the infopage that discussions to hydrol

Re: [Rd] requesting a new SIG mailing list

2012-02-15 Thread Dominik Reusser
Dear all, I do think that joining efforts is a good idea. However, hydrologists will probably not intuitively think about joining r-sig-ecology to discuss hydrological issues. Could we therefore explicitely state on the infopage that discussions to hydrology (in addition to general environmenta

[Rd] R CMD SHLIB in Windows XP - No output at all

2012-02-15 Thread Lorenzo
Hello all, I'm trying hard to make R CMD SHLIB work on Windows XP (32-bit) - please note that I don't have the admin rights on the computer. In terms of setup, I have followed the procedure : => installed Rtools 2.14 => changed my path : PATH=C:\Trading\R\RTools\bin;C:\Trading\R\RTools\MinGW\bin;C

Re: [Rd] requesting a new SIG mailing list

2012-02-15 Thread David L Lorenz
All, Is it decided then? It does make sense to me, because much of the hydrologic work that we do is related to aquatic ecology. I am responsible for coordinating the migration to use R as the supported statistical package within the Water Mission Area of the USGS. I'd expect that many of ou

Re: [Rd] Creating XML document extremely slow

2012-02-15 Thread Friedrich Leisch
> On Fri, 10 Feb 2012 13:18:38 +0100, > Titus von der Malsburg (TvdM) wrote: > Hi list, > I'm using the package XML to create a simple XML document. > Unfortunately constructing the XML tree is extremely slow. My code > (see below) adds only about 100 nodes per second on an Intel

[Rd] help.search() in html?

2012-02-15 Thread hkawakat
Hi, I have options(help_type="html") in my .Rprofile and when I type ?foo, the man page appears as a new tab in my web browser (which is already running). Fine. However, when I type ??foo, rather than the results appearing in a new tab, a new instance of the web browser is spawned with the default