> Nigel Sim
>
> PhD Candidate
> School of Mathematics and Physical Sciences
> James Cook University
> +61 7 4781 4247
> +61 409 277 641
>
> __________
> R-devel@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-dev
; School of Mathematics and Physical Sciences
> > James Cook University
> > +61 7 4781 4247
> > +61 409 277 641
> >
> > ______
> > R-devel@r-project.org mailing list
> > https://stat.ethz.ch/mailman/listinfo/r-devel
> >
> state<-as.integer(1)
> callback<-function(state) { cat(sprintf("You got state %s\n",state)) }
>
> myinit()
> # do some work here and call myexec() periodically...
>
>
>
&g
You should tell us what operating system you are working on.
If it is a Unix variant, you can use the command ldd:
ldd interface.so
and see if and where it finds all the libraries against which you link.
(otool -L on Mac OS X will give you similar information.)
Then make certain that th
Laurent Jourdren wrote:
>>I am a grad student and am working on a project where i need to integrate
>>java and R. I have a front end in java and i need to call R functions and
>>be able to dispaly the plots and graphs produced by R on my java front end.
>>I came across some tools like SJava and rse
>
> 1025 W. Johnson St
>
> Madison WI, 53706
>
> 608-265-5623
>
>
>
>
> [[alternative HTML version deleted]]
>
> __
> R-devel@r-project.org mailing list
> https://stat.ethz.ch/mailman/listin
>>( ( ( ( (Prof. Philippe Grosjean
>> ) ) ) ) )
>>( ( ( ( ( Numerical Ecology of Aquatic Systems
>> ) ) ) ) ) Mons-Hainaut University, Pentagone (3D08)
>>( ( ( ( (Academie Universitaire Wallonie-Bruxelles
>> ) ) ) ) ) 8, av du Champ de Mars, 7000 Mons, Belgiu
emie Universitaire Wallonie-Bruxelles
> ) ) ) ) ) 8, av du Champ de Mars, 7000 Mons, Belgium
> ( ( ( ( (
> ) ) ) ) ) phone: + 32.65.37.34.97, fax: + 32.65.37.30.54
> ( ( ( ( (email: [EMAIL PROTECTED]
> ) ) ) ) )
> ( ( ( ( (web: http://www.umh.ac.be/~econum
> ) )
;distributions and largely two GUIs that have garnered any significant
>>market share. Perhaps, over time, lacking any coordinated activity, a
>>similar situation will evolve here, if the predicate that a broad demand
>>for a R GUI is valid.
>>
>>If the predicate is false, then this process is perhaps rightly done by
>>individu
;
> Already tried against libglade 2 - not trivial. It probably also
> requires changing to gtk2 also...
>
> Just like to have it in the distant TODO list, and not forgotten...
>
> Hin-Tak Leung
>
> __
> R-devel@r-project.org mailing list
> https://stat.ethz.
works fine using one thread and breaks currently down with 2
> threads.
> I am using a recent R distribution and the complete R code is compile with
> "-openmp" and the Pathscale compiler suite.
>
> Thanks in advance,
> Olaf
>
> ___
Unload (Rdynload.c:412)
> ==20262==by 0x1B92D15B: DeleteDLL (Rdynload.c:439)
> ==20262==
> ==20262== Conditional jump or move depends on uninitialised value(s)
> ==20262== at 0x1B92DA11: R_dlsym (Rdynload.c:749)
> ==20262==by 0x1B92D0BD: R_callDLLUnload (Rdynload.c:412)
PROTECTED])
> "Oook" -- The Librarian
>
> __
> R-devel@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
- --
Duncan Temple Lang[EMAIL PROTECTED]
Department of Statistics wor
Routine function does some strange stuff.
>
> Duncan Murdoch
>
> __
> R-devel@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
- --
Duncan Temple Lang[EMAIL PROTECTED]
Department of S
new. But much (not all)
of R is based on innovations from the 1970's, 80's and 90's. And
as IT evolves at a terrific pace, to keep up with it, we need to be
forward looking.
I'll leave it there - for the moment - and go fight off the ants
that are invading my desk! While I w
d]]
>
> ______
> R-devel@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>
--
Duncan Temple Lang
Director, Data Science Initiative
Professor of Statistics
[[alternative HTML version deleted]]
__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
Hi Jun
On 12/3/10 2:15 PM, Zhang,Jun wrote:
> I have 64-bit R 2 12 0 installed on Solaris 10 of Sun Sparc. When I tried to
> install RCurl, it failed with the following lines,
>
> ...
> Version has CURLOPT_SSL_SESSIONID_CACHE
> libcurl version: libcurl 7.19.6
> configure: creating .
Hi Renaud
I cannot presently step through the code on Windows to verify the cause of
the problem,
but looking at the code, I would _presume_ the reason is that symbol lookup is
cached on
Windows but not on Linux or OS X (at least by default).
Thus when we perform the second search for user_un
reply.
> >>
> >> I can't really answer that question, since I have no experience at all
> >> in calling R from Java. But if you want to pass a parameter named "x"
> >> with value 123 from Java to R, why not just construct and evaluate the
> >> statement "x <- 123"?
> [[alternative HTML version deleted]]
>
> __
> R-devel@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>
--
Duncan Temple Lang
Director, Data Science Initiative
Professor of Statistics
[[alternative HTML version deleted]]
__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
Hi Erin
Glad you are making progress on this with Brian's help.
I thought I would mention a different approach that might save you some
programming time and actually make the code more flexible at the same time.
Basically, in a high-level language like R, it is nice to keep the code
calling a
rray and copy it to CUDA device
> for (int i=0; i cudaMemcpy(a_d, a_h, size, cudaMemcpyHostToDevice);
> // Do calculation on device:
> int block_size = 4;
> int n_blocks = N/block_size + (N%block_size == 0 ? 0:1);
> square_array <<< n_blocks, block_size >>>
s.character(5)) :
> C symbol name "cuda4" not in load table
> Execution halted
>
> c:\Program Files\R\R-3.0.1\bin\i386>
>
> I still want to keep at it.
>
> Thanks so much for all of your help!!!
>
> Erin
>
> ___
Hi Henrik
I have some extensions of Simon U's png package
to read and write metadata elements for PNG.
They are at
https://github.com/duncantl/png.git
When I have time to completely test them, maybe Simon
may incorporate them.
D.
On 7/30/13 7:59 PM, Henrik Bengtsson wrote:
> Hi,
>
> sev
I believe Michael's point is that the error messages
are incorrect - referring to cunmax when cunmin was called
and vice verse.
D.
On 7/14/14, 8:14 AM, Ben Bolker wrote:
> Michael Haupt oracle.com> writes:
>
>>
>> Dear all,
>>
>> in R 3.1.0, this is happening:
>>
>>> cummin(c(1+1i,2-3i,4+5i))
Hi Utkarsh
If the package is an experiment and exploration, great - good for you
getting into this level of detail.
However, if your goal is to get the dynamic prompt, a simpler mechanism
that is almost equivalent is the R code
invisible(addTaskCallback(function(...) {
Janko and I have been in touch.
This is, I believe, a Windows specific issue and a compilation issue.
I could be wrong, but that is my impression from other reports.
When I have time (?! :-)), I will deal with it. Hopefully this will
be very soon.
Thanks Janko.
D.
On 12/14/14, 7:54 PM, Jeroen
Use force() (or anything that evaluates mycondition, e.g. your print):
function(mycondition) {
force(mycondition)
function(i) mycondition * i
}
within the lapply() loop.
Not a bug, but does surprise people. It is lazy evaluation.
D.
On 2/23/15 12:57 PM, Daniel Kaschek wrote:
> Hi everyb
Thanks for the report.
I'll take a look at this, but it will take a week or so before I have time.
Best,
Duncan
On 4/14/15 6:29 PM, Jeroen Ooms wrote:
> We recently started noticing freezes that appear only on 32bit systems
> (both linux and windows) with a relatively recent versions of R 3.2.0,
I understand the desire not to have any dependency on additional
packages, and I have no desire to engage in any "mine's better" exchanges.
So write this just for the record.
The gzunzip() function handle this.
> library(RCurl); library(Rcompression)
> val = getURLContent("http://httpbin.org/gzip
Or slightly more conveniently, use the default value of getOption() to return
the vector
of color names if the option is not set, e.g.
foo <- function(x, heplot.colors = getOption("heplot.colors",
c("red", "blue", "black",
"darkgreen", "brown", "d
Hi Jeroen
I am restoring the packages on the Omegahat site as people
ask for them.
I just put the RObjectTables package up in in its current form at
http://www.omegahat.org/RObjectTables/
and am happy to enhance it as needed.
We can chat off-list, if you want.
D.
On 7/19/12 10:30 AM,
On 11/16/12 6:10 AM, bryan rasmussen wrote:
> Hi,
>
> I have some XML files that have a processing instruction directly
> after the XML declaration
>
> when I do
> kgroup.reading <- character(0)
> for (file in file_list){kgroup.reading <-
> xmlParseDoc(file.path("c:","projects","respositories",
Steve Jaffe wrote:
> In Writing R Extensions it is said that R_CallMethodDef has two optional
> fields, 'type' and 'style' (where 'style' is said to distinguish
> in/out/inout arguments).
Can you point us to the particular section and line that says
this. I think it is for the R_CMethodDef struc
sumably there will be some parameters of your C function
that are not const so that you can modify them and return
results. (Unless of course the C routine is only of interest
for its side effects such as writing to a file.)
D.
>
> Thanks for your help.
>
>
> Duncan Tem
nabble.30.miller_2...@spamgourmet.com wrote:
> On Sun, Nov 15, 2009 at 2:52 PM, Duncan Murdoch - murd...@stats.uwo.ca
> <+nabble+miller_2555+1412c7fca2.murdoch#stats.uwo...@spamgourmet.com>
> wrote:
>> On 15/11/2009 1:41 PM, nabble.30.miller_2...@spamgourmet.com wrote:
>> The "character" type in
Hi Deepayan.
It is not part of the API, but it is used in numerous packages
that would break if such a change were made.
It is an easy change to make, but not necessarily a robust approach
if we keep adding parameters. If we need the room to add more,
using a structure whose fields are modified
o look into this? The source code and a
> brief write-up is available here:
>
> http://dsarkar.fhcrc.org/R/R-Qt.html
>
> Thanks,
> -Deepayan
>
> __
> [EMAIL PROTECTED] mailing list
> https://stat.ethz.ch/mailman/listinfo/r-de
rary system works, but the implementation is
> too complex. I'd like to simplify down to just one shared library.
>
> Any comments, suggestion are much appreciated.
>
> Thanks,
>
> Jeff
> --
> http://biostat.mc.vanderbilt.edu/JeffreyHorner
>
> _
g the
memory, and so on. But this is relatively easy to do, and various
implementations suggest themselves.
Thanks for the feedback.
D.
> Cheers,
> Simon
>
> On May 1, 2007, at 1:56 PM, Duncan Temple Lang wrote:
>
> >Jeffrey Horner wrote:
> >>Hello,
> >>
&g
a big deal,
so please go ahead if you have the time and want to.
Thanks,
D.
>
> Cheers,
> Simon
>
> On May 1, 2007, at 4:24 PM, Duncan Temple Lang wrote:
>
> >Simon Urbanek wrote:
> >>Since I'm not sure I really understand Jeff's question this is
aking things too simple
at one step which makes the entire thing more complex in subsequent
steps. I think we have data on that ... :-)
>
> Cheers,
> Simon
>
>
> On May 1, 2007, at 5:47 PM, Duncan Temple Lang wrote:
>
> > Simon Urbanek wrote:
> >> Duncan
You can use getNodeSet() as Hin-Tak suggests.
But you will need to do it for each of the target nodes.
So you can use sapply() to loop over these.
However, if these nodes are all children of the same XML node,
you can get the values as
# This is the document content.
z = "2
2
5
2000"
# pars
Hi Kasper
This is not an immediate solution for your problem,
but a suggestion that the "ideal" solution
might be different from what you are asking for.
In many projects, when we need to compile
the same source file for two or more different
purposes (e.g. architectures, compilation flags, etc
Hi Seth.
Glad you did this. As you know, I think we need more specialized
data structures and the ability to be able to introduce them easily
into R computations, both internally and at the R language-level.
A few things that come to mind after a quick initial look.
The HashFunc typedef in hashf
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Gabor Grothendieck wrote:
> When I do
>
>Rcmd check Ryacas
>
> on my Windows Vista system under
>
>R version 2.6.0 beta (2007-09-23 r42958)
>
> it checks out fine but here:
>
> http://cran.r-project.org/bin/windows/contrib/checkSummary
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Duncan Temple Lang wrote:
>
>
> Gabor Grothendieck wrote:
>> When I do
>
>>Rcmd check Ryacas
>
>> on my Windows Vista system under
>
>>R version 2.6.0 beta (2007-09-23 r42958)
>
>>
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi Doug.
This is probably more than you want - either to know or to use
for your specific task, but I'll throw it out there for general
information.
I write documents using XML, specifically an extended version
of Docbook with elements for describ
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Rohan7 wrote:
> Hello all,
>
>Is it possible to create web service in R?
>Any links or book i can refer!
>
> My second question is i'm trying to call a web service using RCurl
> package. The pdf from google doesnt have entire code in
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi Herve
The "best" way to specify configure.args when there are multiple
packages (either directly or via dependencies) is to use names on
the character vector, i.e.
install.packages("Rgraphviz",
rep="http://bioconductor.org/
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Duncan Murdoch wrote:
> Prof Brian Ripley wrote:
>> Please don't use 'assert' in R packages. If called, this means that an
>> error in your code aborts the whole R process, including your user's work.
>> I see several R packages doing this, and on
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Duncan Murdoch wrote:
> On 10/11/2007 1:00 PM, Duncan Temple Lang wrote:
>
>
> Duncan Murdoch wrote:
>>>> Prof Brian Ripley wrote:
>>>>> Please don't use 'assert' in R packages. If called,
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
While I don't disagree with the general need to provide an interface
to SetDllDirectory, etc., I think the discussion about 3rd party
libraries has slightly missed the more obvious solution.
Instead of using a DLL, such packages can link against a _sta
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Prof Brian Ripley wrote:
> On Tue, 8 Jan 2008, Duncan Temple Lang wrote:
>
>> -BEGIN PGP SIGNED MESSAGE-
>> Hash: SHA1
>>
>> While I don't disagree with the general need to provide an interface
>&
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
There is also the Rcompression library from
www.omegahat.org/Rcompression
and directly available via install.packages()
from the www.omegahat.org/R repository.
This deals with various compression schemes
and does things in memory.
Hopefully there
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi Michael and Soeren
~ I've waited to see if there would be posts from others, but am
a little surprised to see only your two. It would seem people aren't
using SWIG for R and I wonder why this community hasn't used or wanted
such tools? Do we no
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Dirk Eddelbuettel wrote:
| Duncan,
|
| On 20 April 2008 at 05:44, Duncan Temple Lang wrote:
| | ~ I've waited to see if there would be posts from others, but am
| | a little surprised to see only your two. It would seem people aren't
aps one of the other guys with
|> problems could also furnish the info.
|>
|> BTW, I did cc you on my post to R-help this evening (see below).
|>
|> Thanks for your help and all your development efforts,
|> Mark
|>
|>
|> romMark Kimpel <[EMAIL PROTECTED]>toLoyal Goff <
FWIW, I'll note that one or two of us are working on a documentation
system that uses XML and specifically extensions of Docbook to create
documentation for R objects and that transparently extends to general
articles, vignettes, books, etc. and dynamic and interactive
reproducible documents.
Ali Baharev wrote:
Dear Developers,
I would like to contribute to the R Project.
I implemented a C function the can be used to calculate minimal
detectable differences for general ANOVA models (sample size
calculations, power analysis).
A demo program and the source code is available from my
Ali Baharev wrote:
Dear Developers,
For the attached (very simple) source package i get the following warnings:
* checking foreign function calls ... WARNING
Foreign function calls without 'PACKAGE' argument:
.C("fpow", ...)
See the chapter 'System and foreign language interfaces' of the 'Wri
erRoutines(info, cMethods, callMethods, NULL, NULL);
> }
>
> int main (int argc, char** argv)
> {
> int i;
> initR();
>
> r_exec("x <- function (f) { .Call(\"set_callback1\",f); }");
> r_exec("y <- function (f) { .Call(\"set_callback2\
Hi David.
(Sorry about not replying to your earlier mail. I have been rather
busy in the last few days.)
David Scherrer wrote:
Hi all,
I try to utilize RSPython to invoke Python from R. For me it works pretty
fine for basic applications, but I have 3 problems that may be related.
(1) I can
Hi Hiroyuki
Hiroyuki Kawakatsu wrote:
Hi,
I am having problems installing the XML package with R-devel on
freebsd. If I simply do install.packages("XML"), it says that the
parser.h file is not found. After reading the INSTALL file, I have set
setenv XML_CONFIG /usr/local/bin/xml2-config
se
You might try my development version which I put at
http://www.omegahat.org/Prerelease/RGoogleDocs_0.2-0.tar.gz
I am not certain if there are any substantive differences with the
one in the Omegahat repository, but it works for me with a document
and a spreadsheet in an Google Docs account.
= R_ExternalPtrAddr(foo_info);
>> }
>>
>> void bar(int *x) {
>> ...
>> z = C_foo();
>> ...
>> }
>>
>>
>>A/R/zzz.R
>>
>> .onLoad <- function(libname, pkgname) {
>> foo_info <- getNativeSymbolInfo("foo", PACKAGE="C
tenz, Switzerland.
> "Commit early,commit often, and commit in a repository from which we can
> easily
> roll-back your mistakes" (AJR, 4Jan05).
>
> __
> R-devel@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
- --
Duncan Temple Lan
ces,
>>in particular as we could add QC testing et al to the standard community
>>services.
>>
>>Best
>>-k
>>
>>______
>>R-devel@r-project.org mailing list
>>https://stat.ethz.ch/mailman/listinfo/r-devel
>>
>
>
- --
Duncan Temple Lang
Hi Terry.
If I am inferring correctly from your description, in S-Plus
your C code for the microarray automatically finds the cholesky2 routine
in the survival package without any need to tell it to do so.
While it may be convenient, this is not very desirable at all.
Rather, you should have to te
In addition to the compiler issues, the test should also be changed.
It should use R_tryEval() directly rather than Test_tryEval(). The test
preceeds the existence
of that exported routine that was motivated by the same
usage that gave rise to this test.
I'll commit an update when I get a few m
might need minor tweaking, or else I'll just say
great, go ahead and send it.
The only thing that is obviously missing - from the copy I just printed,
at least - is an abstract.
- --
Duncan Temple Lang[EMAIL PROTECTED]
Department of Statistics work: (530) 752
t Rcurl.
>
> Can anyone help or suggest a "native" solution to the problem?
>
> Thanks.
>
> __________
> R-devel@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
- --
Duncan Temple Lang[EMAIL PROTECTED]
Department of
worthwhile to increase this limit to
a larger number. Using POST in this context really is a better
solution. But we do need to add checks to the code to ensure that
the URI string is smaller than 4096.
I'll try to get an opportunity to do that tomorrow before I take off.
D.
Duncan Temple Lang
e.
>
> Thanks,
> Arne
>
> ______
> R-devel@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
- --
Duncan Temple Lang[EMAIL PROTECTED]
Department of Statistics work: (530) 752-4782
4210 M
his via read.csv
>
> d <- read.csv(file=url("http://example.com/dataprovider?format=csv";)
>
>
> Of course there are other ways to accomplish this, like allowing c code
> to place c generated connection objects onto the Connection array and
> then use sink(), but
t yet so I do not know how far this will get you.
>
> Dirk
>
- --
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 Californ
e answer appears
> to be no - at least for R <=2.4.0.
>
> Thanks,
> Simon
>
> __
> R-devel@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
- --
Duncan Temple Lang[EMAIL PROTECTED]
Department
e-processor ;)
>>
>> Real-life code does tend to speed up somewhat, though never as much as
>> one would hope.
>>
>> Just an idea...
>>
>> René
>>
>> __
>> R-devel@r-project.org mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-devel
>&g
ially loaded code is used. The only way to load the updated
>>c code is to
>>quit R and then reopen.
>>
>>Thanks,
>>Jono
>>
>>__
>>R-devel@r-project.org mailing list
>>https://stat.ethz.ch/mailman/lis
ic_lookup -single_module -multiply_defined suppress -L/
> usr/local/lib -o foo.so other.o -L/Library/Frameworks/R.framework/
> Resources/lib/ppc -lR -dylib_file libRblas.dylib:/Library/Frameworks/
> R.framework/Resources/lib/ppc/libRblas.dylib
> loaded DLL/SO
> first attempt
>
)
>
> This works, but 'R CMD check' complains:
>
> "Foreign function calls without 'PACKAGE' argument:"
>
> followed by a list of the functions called from libjchli.so.
>
> Is there a way to make R CMD check happy here?
>
> Jeff
>
>
vice or suggestions on how to solve this
> problem. I am a novice C programmer and Linux user, but it seems like this
> should be a simple fix.
>
> Many thanks in advance,
>
> Michael Braun
> MIT Sloan School of Management
> [EMAIL PROTECTED]
>
>
ble
this and would solve numerous problems that have arisen recently
and I strongly suspect many more that will arise.
D.
- --
Duncan Temple Lang[EMAIL PROTECTED]
Department of Statistics work: (530) 752-4782
4210 Mathematical Sciences Building fax: (530)
Kurt Hornik wrote:
> >>>>> Duncan Temple Lang writes:
>
> > -BEGIN PGP SIGNED MESSAGE-
> > Hash: SHA1
>
> > Prof Brian Ripley wrote:
> >> I've added to R-devel the ability to use download.file() and url() to
> >> https
Prof Brian Ripley wrote:
> On Mon, 1 Jan 2007, Duncan Temple Lang wrote:
>
>> Kurt Hornik wrote:
>>>>>>>> Duncan Temple Lang writes:
>>>> -BEGIN PGP SIGNED MESSAGE-
>>>> Hash: SHA1
>>>> Prof Brian Ripley wrote:
>
84 matches
Mail list logo