vacated space. Really the
only reliable way to answer efficiency questions like this is to try
both ways and see which works better in your application.
Another possibility is to maintain your own list or environment of
objects, and just protect/preserve the list as a whole.
Duncan Murdoch
--
Romain
) and the template XPTr for external
pointers. The rest (vectors, functions, ...) will follow.
I'd suggest using the Rcpp mailing list for a follow up.
https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel
-Whit
On Sat, Jan 2, 2010 at 12:24 PM, Romain Francois
romain.franc...@dbmail.com
On 01/02/2010 11:41 PM, Romain Francois wrote:
On 01/02/2010 11:12 PM, Duncan Murdoch wrote:
On 02/01/2010 3:16 PM, Laurent Gautier wrote:
On 1/2/10 8:53 PM, Duncan Murdoch wrote:
Simon Urbanek wrote:
On Jan 2, 2010, at 12:17 PM, Laurent Gautier wrote:
On 1/2/10 5:56 PM, Duncan Murdoch
On 01/03/2010 02:04 AM, Simon Urbanek wrote:
On Jan 2, 2010, at 5:41 PM, Romain Francois wrote:
On 01/02/2010 11:12 PM, Duncan Murdoch wrote:
On 02/01/2010 3:16 PM, Laurent Gautier wrote:
On 1/2/10 8:53 PM, Duncan Murdoch wrote:
Simon Urbanek wrote:
On Jan 2, 2010, at 12:17 PM, Laurent
on Windows XP, but appeared on Windows 7 when the same
program is run.
Then send this to microsoft.
--
Romain Francois
Professional R Enthusiast
+33(0) 6 28 91 30 30
http://romainfrancois.blog.free.fr
|- http://tr.im/HlX9 : new package : bibtex
|- http://tr.im/Gq7i : ohloh
`- http://tr.im/FtUu : new
9 2
10 10 2
split( df, x 3 )
$`FALSE`
x y
1 1 1
2 2 1
3 3 1
$`TRUE`
x y
4 4 1
5 5 1
6 6 2
7 7 2
8 8 2
9 9 2
10 10 2
Romain
--
Romain Francois
Professional R Enthusiast
+33(0) 6 28 91 30 30
http://romainfrancois.blog.free.fr
|- http://tr.im/HlX9 : new package : bibtex
to track the development branch of the
recommended packages. (I'm assuming they actually live somewhere on the
same SVN server, which might not be true ...) Any ideas (including
pointing out the obvious, or the obvious-in-hindsight)?
thanks
Ben Bolker
--
Romain Francois
Professional R Enthusiast
On 12/16/2009 12:14 AM, Peter Dalgaard wrote:
Romain Francois wrote:
Hello,
I very much enjoy with and subset semantics for data frames and
was wondering if we could have something similar with split, basically
by evaluating the second argument with the data frame :
I seem to recall
wrote:
On Mon, Dec 14, 2009 at 11:36 PM, Romain Francois
romain.franc...@dbmail.com wrote:
Hello,
I'm trying to get S4 dispatch on S3 connection objects.
So I do :
setOldClass( connection )
and then :
setGeneric( bling, function(object) standardGeneric( bling ) )
setMethod( bling
on for each potential S3 class, or is there another way.
Romain
--
Romain Francois
Professional R Enthusiast
+33(0) 6 28 91 30 30
http://romainfrancois.blog.free.fr
|- http://tr.im/HlX9 : new package : bibtex
|- http://tr.im/Gq7i : ohloh
`- http://tr.im/FtUu : new package : highlight
On 12/06/2009 01:20 AM, Simon Urbanek wrote:
On Dec 5, 2009, at 4:11 PM, Romain Francois wrote:
I agree too, I was just trying to put on the balance the amount of work that
would require graphics supporting connections.
Who's willing to do it ?
The issue is not the will nor complexity
On 12/06/2009 02:24 PM, Romain Francois wrote:
On 12/06/2009 01:20 AM, Simon Urbanek wrote:
On Dec 5, 2009, at 4:11 PM, Romain Francois wrote:
I agree too, I was just trying to put on the balance the amount of
work that would require graphics supporting connections.
Who's willing to do
On 12/06/2009 02:49 PM, Simon Urbanek wrote:
On Dec 6, 2009, at 8:24 AM, Romain Francois wrote:
On 12/06/2009 01:20 AM, Simon Urbanek wrote:
On Dec 5, 2009, at 4:11 PM, Romain Francois wrote:
I agree too, I was just trying to put on the balance the amount of work that
would require
on the topic can be found here:
http://tolstoy.newcastle.edu.au/R/e8/help/09/11/5902.html
Best,
Tobias
On Fri, Dec 4, 2009 at 11:01 AM, Romain Francois
romain.franc...@dbmail.com
wrote:
On 12/04/2009 03:19 PM, Gabor Grothendieck wrote:
Thanks.
I am looking for the data to be just as if I had
://www.stat.auckland.ac.nz/~paul/http://www.stat.auckland.ac.nz/%7Epaul/
http://www.stat.auckland.ac.nz/%7Epaul/
--
Romain Francois
Professional R Enthusiast
+33(0) 6 28 91 30 30
http://romainfrancois.blog.free.fr
|- http://tr.im/Gq7i : ohloh
|- http://tr.im/FtUu : new package : highlight
`- http://tr.im/EAD5
it's not readable. Could
you put the code online somewhere where we could download it in
its original form? I doubt if this is an R bug, but I can't point
out the problem in your code (or confirm that it really is an R
bug) without an undamaged copy of the code.
Duncan Murdoch
--
Romain Francois
On 12/03/2009 12:17 AM, Michael Lawrence wrote:
On Thu, Nov 19, 2009 at 10:54 AM, Romain Francois
romain.franc...@dbmail.com mailto:romain.franc...@dbmail.com wrote:
On 11/19/2009 06:14 PM, Michael Lawrence wrote:
On Thu, Nov 5, 2009 at 9:58 AM, Romain Francois
).
I'm attaching a small patch that adds a body argument to httpd and
sets it to either NULL when there is no body or the body, as a raw vector.
Romain
--
Romain Francois
Professional R Enthusiast
+33(0) 6 28 91 30 30
http://romainfrancois.blog.free.fr
|- http://tr.im/FtUu : new package
original low-level interpretation.
str is another example
--
Romain Francois
Professional R Enthusiast
+33(0) 6 28 91 30 30
http://romainfrancois.blog.free.fr
|- http://tr.im/EAD5 : LondonR slides
|- http://tr.im/BcPw : celebrating R commit #5
`- http://tr.im/ztCu : RGG #158:161: examples
not able to make this addition. How can I have R recognize c++ libraries
from my local path?
Thanks so much in advance for your help.
--
Romain Francois
Professional R Enthusiast
+33(0) 6 28 91 30 30
http://romainfrancois.blog.free.fr
|- http://tr.im/EAD5 : LondonR slides
|- http://tr.im/BcPw
On 11/19/2009 06:14 PM, Michael Lawrence wrote:
On Thu, Nov 5, 2009 at 9:58 AM, Romain Francois
romain.franc...@dbmail.com mailto:romain.franc...@dbmail.com wrote:
Hello,
Is it possible to have the effect of UserDefinedDatabase outside of
attached environments ? Can I disguise
/tryEval.c
e...@ron:~$
you can always try Google Code Search as in
http://www.google.com/codesearch?q=R_tryEvalhl=enbtnG=Search+Code
Hth, Dirk
--
Romain Francois
Professional R Enthusiast
+33(0) 6 28 91 30 30
http://romainfrancois.blog.free.fr
|- http://tr.im/EAD5 : LondonR slides
|- http
to library(help=MASS)
Or have I overlooked something, and a function for this already exists?
?news
--
Romain Francois
Professional R Enthusiast
+33(0) 6 28 91 30 30
http://romainfrancois.blog.free.fr
|- http://tr.im/EAD5 : LondonR slides
|- http://tr.im/BcPw : celebrating R commit #5
for function \code{foo} ~~
}
\section{Methods}{
\describe{
\item{\code{\signature(x = track)}}{ ~~describe this method here }
}}
\keyword{methods}
\keyword{ ~~ other possible keyword(s)}
Romain
--
Romain Francois
Professional R Enthusiast
+33(0) 6 28 91 30 30
http://romainfrancois.blog.free.fr
|- http
On 11/07/2009 11:24 AM, Romain Francois wrote:
Hello,
I'm trying to use the limited connections api defined in
Rinternals.h. I have code that looks like this (inspired from
do_serializeToConn) :
SEXP serialize_to_connection( SEXP xp, SEXP connection ){
Rconnection con ; struct R_outpstream_st out
to get the Rconnection that
is associated with a number.
Many thanks.
Romain
--
Romain Francois
Professional R Enthusiast
+33(0) 6 28 91 30 30
http://romainfrancois.blog.free.fr
|- http://tr.im/BcPw : celebrating R commit #5
|- http://tr.im/ztCu : RGG #158:161: examples of package IDPmisc
) == integer length(w) == 1L ){
return( calls[[w]] )
}
}
calls[[nc]]
}
I'd be happy to work on an internal version instead of this one in R.
Romain
--
Romain Francois
Professional R Enthusiast
+33(0) 6 28 91 30 30
, what did not work, and so on.
On 10/20/2009 05:22 AM, pragathichi wrote:
how to add Reengine and Rserveengine jar files in ejb?
I am using eclipse, plz suggest.
Romain Francois-2 wrote:
On 10/19/2009 10:57 AM, pragathichi wrote:
How to call R from ejb, can i use Rserve?
yes
--
Romain
On 10/19/2009 10:57 AM, pragathichi wrote:
How to call R from ejb, can i use Rserve?
yes
--
Romain Francois
Professional R Enthusiast
+33(0) 6 28 91 30 30
http://romainfrancois.blog.free.fr
|- http://tr.im/BcPw : celebrating R commit #5
|- http://tr.im/ztCu : RGG #158:161: examples
a list that
is filled by iterating over the object if it implements the Iterable
interface.
The drawback here is that one has to first fully retrieve the list, by
iterating in java, and then process it in R, by iterating again in R.
Romain
--
Romain Francois
Professional R Enthusiast
+33(0) 6
time ?
(I probably miss something here)
Romain
On 10/13/2009 11:09 AM, Romain Francois wrote:
Hello,
Consider this :
setClass(track, representation(x=numeric, y=numeric))
[1] track
o - new( track, x = 1, y = 2 )
for( i in o ){
+ cat( hello\n)
+ }
Error: invalid type/length (S4/1) in vector
Oops, forgot to add the R code.
On 10/13/2009 03:42 PM, Romain Francois wrote:
Hello,
Here is a more complete patch implementing an iterating scheme inspired
from the java Iterable/Iterator design.
Nothing is changed for non S4 objects.
The patch contains 4 generic functions :
is.iterable
# pass the ... along this path : isSymmetric all.equal all.equal.numeric
isSymmetric( y, check.attributes = F )
[1] TRUE
# set the dimnames equal
dimnames( y ) - rep( list( names(x) ), 2 )
isSymmetric( y )
[1] TRUE
Not sure this is expected behaviour
Romain
--
Romain Francois
Professional
= utils )
help( write.table, package = utils )
help( write.table, package = pack )
... unless utils is a variable
--
Romain Francois
Professional R Enthusiast
+33(0) 6 28 91 30 30
http://romainfrancois.blog.free.fr
|- http://tr.im/BcPw : celebrating R commit #5
|- http://tr.im/ztCu : RGG #158
){
stop( predictors must all be numeric )
} )
does the trick for me.
Romain
--
Romain Francois
Professional R Enthusiast
+33(0) 6 28 91 30 30
http://romainfrancois.blog.free.fr
|- http://tr.im/BcPw : celebrating R commit #5
|- http://tr.im/ztCu : RGG #158:161: examples of package IDPmisc
`- http
Hello,
Just wondering why there is isTRUE and not isFALSE.
Romain
--
Romain Francois
Professional R Enthusiast
+33(0) 6 28 91 30 30
http://romainfrancois.blog.free.fr
|- http://tr.im/BcPw : celebrating R commit #5
|- http://tr.im/ztCu : RGG #158:161: examples of package IDPmisc
`- http
in which
things are loaded in the zzz.R of base ...
Romain
--
Romain Francois
Professional R Enthusiast
+33(0) 6 28 91 30 30
http://romainfrancois.blog.free.fr
|- http://tr.im/ztCu : RGG #158:161: examples of package IDPmisc
|- http://tr.im/yw8E : New R package : sos
`- http://tr.im/y8y0
macros, but that seems to be an unfortunate
limitation.
Any help would be appreciated.
Duncan Murdoch
--
Romain Francois
Professional R Enthusiast
+33(0) 6 28 91 30 30
http://romainfrancois.blog.free.fr
|- http://tr.im/ztCu : RGG #158:161: examples of package IDPmisc
|- http://tr.im/yw8E : New R
;
}
exit(0);
}
--
Romain Francois
Professional R Enthusiast
+33(0) 6 28 91 30 30
http://romainfrancois.blog.free.fr
|- http://tr.im/ztCu : RGG #158:161: examples of package IDPmisc
|- http://tr.im/yw8E : New R package : sos
`- http://tr.im/y8y0 : search the graph gallery from R
, document and test ... but eventually
you should do what __you__ find easier/better
Romain
Regards
Abhijit
On Wed, Sep 30, 2009 at 12:07 PM, Romain Francois
romain.franc...@dbmail.com mailto:romain.franc...@dbmail.com wrote:
On 09/30/2009 08:51 AM, Abhijit Bera wrote:
Hi
, converting it to a
timeseries object then creating a returns object out of it.
I plan to embed R into an application, which is why I'm taking this
route of using C.
Regards
Abhijit
On Wed, Sep 30, 2009 at 12:07 PM, Romain Francois
romain.franc...@dbmail.com
On 09/29/2009 04:36 AM, Seth Falcon wrote:
On Mon, Sep 28, 2009 at 11:25 AM, Romain Francois
romain.franc...@dbmail.com wrote:
Hi Uwe,
I think you are supposed to do this kind of sequence:
R CMD roxygen yourRoxygenablePackage
R CMD build yourRoxygenablePackage_roxygen
... but I don't like
(install(setWeights),portSpec,portWeights));
PROTECT(portSpec=R_tryEval(e,R_GlobalEnv,NULL));
PROTECT(e=lang2(install(print),portSpec));
R_tryEval(e,R_GlobalEnv,NULL);
UNPROTECT(3);
Rf_endEmbeddedR(0);
return 0;
}
Regards
Abhijit Bera
--
Romain Francois
Professional
On 09/27/2009 08:27 PM, Uwe Ligges wrote:
Romain Francois wrote:
Hello,
Is there such thing as a build time dependency between packages :
package B needs package A so that it can build, but once built it
lives without it.
Do you mean at a) R CMD build time or at b) R CMD INSTALL time
On 09/28/2009 04:39 PM, Uwe Ligges wrote:
Romain Francois wrote:
On 09/27/2009 08:27 PM, Uwe Ligges wrote:
Romain Francois wrote:
Hello,
Is there such thing as a build time dependency between packages :
package B needs package A so that it can build, but once built it
lives without
documentation of c++ code, ...
Romain
--
Romain Francois
Professional R Enthusiast
+33(0) 6 28 91 30 30
http://romainfrancois.blog.free.fr
|- http://tr.im/ztCu : RGG #158:161: examples of package IDPmisc
|- http://tr.im/yw8E : New R package : sos
`- http://tr.im/y8y0 : search the graph gallery
as well.
I did not see results = documented in ?Rd2HTML, what is allowed ?
Is \Sexpr ignored when rendering other formats (tex, ...) ?
or is there a way (similar to #ifdef) to only provide some content to
some renderers ?
Romain
--
Romain Francois
Professional R Enthusiast
+33(0) 6 28 91 30 30
http
On 09/24/2009 12:04 PM, Duncan Murdoch wrote:
On 24/09/2009 5:42 AM, Romain Francois wrote:
On 09/24/2009 11:28 AM, Duncan Murdoch wrote:
On 23/09/2009 11:21 PM, Gabor Grothendieck wrote:
On Wed, Sep 23, 2009 at 10:54 PM, Duncan Murdoch
murd...@stats.uwo.ca wrote:
- Ways to link from man
On 09/22/2009 09:17 AM, Peter Dalgaard wrote:
Romain Francois wrote:
Hello,
I've tried several times yesterday to build R-devel and I consistently
get this error when I make :
mkdir -p -- ../../../library/base/R
make[3]: Leaving directory `/tmp/R-devel/src/library/profile'
make[3]: Entering
On 09/22/2009 11:25 AM, Peter Dalgaard wrote:
Romain Francois wrote:
However, this might be relevant about my setting, I have the
R_KEEP_PKG_SOURCE environment variable set to yes. And if I set it
to no it builds correctly.
AHA! Yes, that makes sense
R_KEEP_PKG_SOURCE=yes make
breaks
On 09/22/2009 11:41 AM, Duncan Murdoch wrote:
On 22/09/2009 5:30 AM, Romain Francois wrote:
On 09/22/2009 11:25 AM, Peter Dalgaard wrote:
Romain Francois wrote:
However, this might be relevant about my setting, I have the
R_KEEP_PKG_SOURCE environment variable set to yes. And if I set
the stack pointer -- and in the new code the
ParseState.SrcFile ended up getting released more than once.
Duncan Murdoch
On 9/22/2009 5:50 AM, Romain Francois wrote:
On 09/22/2009 11:41 AM, Duncan Murdoch wrote:
On 22/09/2009 5:30 AM, Romain Francois wrote:
On 09/22/2009 11:25 AM, Peter
the image stored in the inst directory. R CMD INSTALL
--build moves it to the top directory in the zip file. I have no idea how
to tell R (or tcl) where to look for the file. Any help is appreciated!
Best regards,
Ulrike
*
Ulrike Groemping
BHT Berlin
--
Romain Francois
Professional R
,NULL));
PROTECT(e=lang2(install(print),portData));
R_tryEval(e,R_GlobalEnv,NULL);
UNPROTECT(3);
Rf_endEmbeddedR(0);
return 0;
}
--
Romain Francois
Professional R Enthusiast
+33(0) 6 28 91 30 30
http://romainfrancois.blog.free.fr
|- http://tr.im/yw8E : New R package
than this ?
Is there a better way to do what I'm doing other than parsing?
Regards
Abhijit
On Wed, SSep 16, 2009 at 12:48 PM, Romain Francois
romain.franc...@dbmail.com mailto:romain.franc...@dbmail.com wrote:
Hi,
Luckily, R has its own parser, so you don't have to reimplement
and the
| technicalities.
|
| John Nash Ravi Varadhan
--
Romain Francois
Professional R Enthusiast
+33(0) 6 28 91 30 30
http://romainfrancois.blog.free.fr
|- http://tr.im/y8y0 : search the graph gallery from R
|- http://tr.im/y8wY : new R package : ant
`- http://tr.im/xMdt : update on the ant package
),
/table\n
)
ooindex[ bottom ] - txt
# write back
cat( ooindex, file = ooindex.file, sep = \n )
}
--
Romain Francois
Professional R Enthusiast
+33(0) 6 28 91 30 30
http://romainfrancois.blog.free.fr
|- http://tr.im/xMdt : update on the ant package
|- http
= vignette ){
structure( pdf = file, topic = topic, class = vignette )
}
Romain
--
Romain Francois
Professional R Enthusiast
+33(0) 6 28 91 30 30
http://romainfrancois.blog.free.fr
|- http://tr.im/xMdt : update on the ant package
|- http://tr.im/xHLs : R capable version of ant
`- http
and not look at the returned value.
Could this be expanded so that, when an error occurs, something more
useful than NULL is returned, such as the call stack for example.
Romain
--
Romain Francois
Professional R Enthusiast
+33(0) 6 28 91 30 30
http://romainfrancois.blog.free.fr
|- http://tr.im
of an S4
class and continue to manage objects created before the resourcing
Romain
--
Romain Francois
Professional R Enthusiast
+33(0) 6 28 91 30 30
http://romainfrancois.blog.free.fr
|- http://tr.im/xMdt : update on the ant package
|- http://tr.im/xHLs : R capable version of ant
`- http://tr.im
On 09/04/2009 04:20 PM, Simon Urbanek wrote:
On Sep 3, 2009, at 13:52 , Romain Francois wrote:
On 09/03/2009 05:23 PM, Duncan Murdoch wrote:
On 03/09/2009 9:53 AM, Romain Francois wrote:
Hi,
Is is possible to embed inside an R script, the name of the default
packages to be loaded when
On 09/02/2009 01:13 PM, Duncan Murdoch wrote:
Romain Francois wrote:
Hello,
(This is a remix of this previous thread:
https://stat.ethz.ch/pipermail/r-devel/2009-August/054264.html , but
with a concrete example)
I am developing some packages that contain scripts (for Rscript) and
would like
On 09/03/2009 02:46 PM, Duncan Murdoch wrote:
On 03/09/2009 7:47 AM, Romain Francois wrote:
On 09/02/2009 01:13 PM, Duncan Murdoch wrote:
Romain Francois wrote:
Hello,
(This is a remix of this previous thread:
https://stat.ethz.ch/pipermail/r-devel/2009-August/054264.html
--
Romain Francois
Professional R Enthusiast
+33(0) 6 28 91 30 30
http://romainfrancois.blog.free.fr
|- http://tr.im/xMdt : update on the ant package
|- http://tr.im/xHLs : R capable version of ant
`- http://tr.im/xHiZ : Tip: get java home from R with rJava
about the
exec directory, but it is not clear if I can use it this way or how.
Romain
--
Romain Francois
Professional R Enthusiast
+33(0) 6 28 91 30 30
http://romainfrancois.blog.free.fr
|- http://tr.im/xHLs : R capable version of ant
|- http://tr.im/xHiZ : Tip: get java home from R with rJava
On 09/02/2009 01:13 PM, Duncan Murdoch wrote:
Romain Francois wrote:
Hello,
(This is a remix of this previous thread:
https://stat.ethz.ch/pipermail/r-devel/2009-August/054264.html , but
with a concrete example)
I am developing some packages that contain scripts (for Rscript) and
would like
be the .jnew function
from rJava, where the first argument is a java class, associated with
something that can complete java class names.
Romain
--
Romain Francois
Professional R Enthusiast
+33(0) 6 28 91 30 30
http://romainfrancois.blog.free.fr
|- http://tr.im/w33B : Completion for java
be of help when you tackle this.
Romain
--
Romain Francois
Professional R Enthusiast
+33(0) 6 28 91 30 30
http://romainfrancois.blog.free.fr
|- http://tr.im/w33B : Completion for java objects
|- http://tr.im/vzip : Code Snippet : List of CRAN packages
`- http://tr.im/vsK1 : R parser package on CRAN
Anyone ?
I guess I'll have to make a package that ships the execute script
Romain
On 08/05/2009 11:32 AM, Romain Francois wrote:
Hello,
WRE contains the following information about the exec subdirectory of
a package :
Subdirectory exec could contain additional executables the package
needs
--
Romain Francois
Professional R Enthusiast
+33(0) 6 28 91 30 30
http://romainfrancois.blog.free.fr
|- http://tr.im/vsK1 : R parser package on CRAN
|- http://tr.im/vshK : Transfer files through Rserve
`- http://tr.im/vfxe : R GUI page on the R wiki
__
R
( sprintf( file not found: '%s' , scriptfile ) )
}
trail - if( length(args) 2 ) paste( tail( args, -2 ), sep = ) else
cmd - sprintf( '%s %s', scriptfile, trail )
system( cmd )
--
Romain Francois
Professional R Enthusiast
+33(0) 6 28 91 30 30
http://romainfrancois.blog.free.fr
|- http://tr.im/vsK1
anything that
worked in exactly this way i.e. i) R to R ii) CLI non-blocking and iii) no
need to startup R in a special way
Regards, Matthew
--
Romain Francois
Independent R Consultant
+33(0) 6 28 91 30 30
http://romainfrancois.blog.free.fr
|- http://tr.im/tlNb : RGG#155, 156 and 157
|- http
A somewhat related question. Can one install a hook to be called when
__any__ package is loaded. Something like this :
setHook(packageEvent(.*, onLoad),
function(...) grDevices::ps.options(horizontal=FALSE))
Romain
On 07/02/2009 09:38 AM, Romain Francois wrote:
Hello,
I've
Hello,
I've looked in tools:::.install_packages for some sort of hook that
would let packages developers point to further instructions after a
package is installed. For example, some packages need to setup
environment variables, ...
Is there something I have missed ?
Romain
--
Romain
On 06/30/2009 10:35 AM, Thomas Friedrichsmeier wrote:
On Monday 29 June 2009, Romain Francois wrote:
I'm attaching a patch that prints this instead:
ls.str()
xx :active binding
Although a better behaviour would be to show the binding function.
I can see your point
On 06/30/2009 11:41 AM, Thomas Friedrichsmeier wrote:
Hi,
On Tuesday 30 June 2009, Romain Francois wrote:
Not sure your trick is full-proof. What happens when the variable you
copy is already an active binding ?
see promises, below.
There should be another way to track
the top-level).
Romain
--
Romain Francois
Independent R Consultant
+33(0) 6 28 91 30 30
http://romainfrancois.blog.free.fr
__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
: active binding
Although a better behaviour would be to show the binding function.
Romain
--
Romain Francois
Independent R Consultant
+33(0) 6 28 91 30 30
http://romainfrancois.blog.free.fr
Index: src/library/utils/R/str.R
===
--- src
is Windows, though...
Has anybody faced this problem before?
Best regards,
Carlos J. Gil Bellosta
http://www.datanalytics.com
--
Romain Francois
Independent R Consultant
+33(0) 6 28 91 30 30
http://romainfrancois.blog.free.fr
__
R-devel@r-project.org
Duncan Murdoch wrote:
Simon Urbanek wrote:
On Jun 18, 2009, at 17:02 , Duncan Murdoch wrote:
Romain Francois wrote:
Hello,
[I'm redirecting this here from stats-rosuda-devel]
When parsing R code through R_parseVector and the code generates
an error (syntax error), is there a way
Duncan Murdoch wrote:
Romain Francois wrote:
Duncan Murdoch wrote:
Simon Urbanek wrote:
On Jun 18, 2009, at 17:02 , Duncan Murdoch wrote:
Romain Francois wrote:
Hello,
[I'm redirecting this here from stats-rosuda-devel]
When parsing R code through R_parseVector
api.
Would it be possible to add yet another entry point to the parser that
would basically wrap R_parseVector so that it would have an extra char*
argument that would bring back the error message if there is an error?
Romain
Simon Urbanek wrote:
On Jun 15, 2009, at 12:05 , Romain Francois
, R_GlobalEnv,
R_BaseEnv, R_NilValue, R_NilValue);
so I guess what I am trying to do is add cend and/or handlerstack to
this context. Is this possible ? Are there examples of packages doing this ?
Romain
--
Romain Francois
Independent R Consultant
+33(0) 6 28 91 30 30
http
yet to get done.
luke
On Tue, 16 Jun 2009, Romain Francois wrote:
Hello,
When using R_tryEval (from JRI in my case), is there a way to setup
error recovery strategy and more generally calling handlers.
From my reading of context.c, R_tryEval calls R_ToplevelExec which
creates a context like
/2009-April/053128.html
[3] : http://cran.r-project.org/web/packages/debug/index.html
[4] : http://cran.r-project.org/doc/Rnews/Rnews_2003-3.pdf
--
Romain Francois
Independent R Consultant
+33(0) 6 28 91 30 30
http://romainfrancois.blog.free.fr
Duncan Murdoch wrote:
On 5/24/2009 10:23 AM, Romain Francois wrote:
Duncan Murdoch wrote:
On 23/05/2009 4:55 PM, Robert Gentleman wrote:
Kynn Jones wrote:
[snip]
and you have a breakpoint in bar, you could not (easily)
distinguish which of
the two calls to bar was active
0.2 0.2 0.2 0.2 0.2 0.4 0.3 0.2 0.2 0.1 ...
$ Species : Factor w/ 3 levels setosa,versicolor,..: 1 1 1 1 1
1 1 1 1 1 ...
return ls.str()
rBusy(1)
x : num 5
rBusy(0)
Browse[1]
rBusy(0)
--
Romain Francois
Independent R Consultant
+33(0) 6 28 91 30 30
http://romainfrancois.blog.free.fr
Simon Urbanek wrote:
On May 25, 2009, at 4:54 PM, Romain Francois wrote:
Simon Urbanek wrote:
[snip]
I need to read more about embedding R (as in section 8 of WRE). I
know you can supply your own implementation of the REPL, but I am
not sure this includes the one that goes on once
Robert Gentleman wrote:
Hi,
I stripped the cc's as I believe that all read this list.
Romain Francois wrote:
[moving this to r-devel]
Robert Gentleman wrote:
Hi,
Romain Francois wrote:
Duncan Murdoch wrote:
On 5/22/2009 10:59 AM, Michael wrote
a particular line of a
file with whatever code you like; this could be used in writing a nice
source-level debugger.
yes
Duncan Murdoch
best wishes
Robert
--
Romain Francois
Independent R Consultant
+33(0) 6 28 91 30 30
http://romainfrancois.blog.free.fr
[moving this to r-devel]
Robert Gentleman wrote:
Hi,
Romain Francois wrote:
Duncan Murdoch wrote:
On 5/22/2009 10:59 AM, Michael wrote:
Really I think if there is a Visual Studio strength debugger, our
collective time spent in developing R code will be greatly reduced
://tolstoy.newcastle.edu.au/R/e2/devel/06/10/0565.html
[2] http://wiki.r-project.org/rwiki/doku.php?id=developers:r_connections_api
--
Romain Francois
Independent R Consultant
+33(0) 6 28 91 30 30
http://romainfrancois.blog.free.fr
__
R-devel@r-project.org
don't know how this works.
So, if someone can make a decision about how to proceed, I'll do what
I can, as soon as I can.
Jon
--
Romain Francois
Independent R Consultant
+33(0) 6 28 91 30 30
http://romainfrancois.blog.free.fr
__
R-devel@r
, perl = T ) )
user system elapsed
2.923 0.005 3.063
system.time( out2 - sapply( paste('\\', 1:3, sep=''), function(x){
+ gsub(rx, x, txt, perl=TRUE)
+ } ) )
user system elapsed
0.011 0.000 0.011
Not sure what the right play is
Wacek Kusnierczyk wrote:
Romain Francois wrote
) ) ) ) )
( ( ( ( (Numerical Ecology of Aquatic Systems
) ) ) ) ) Mons-Hainaut University, Belgium
( ( ( ( (
..
Romain Francois wrote:
Jonathan Baron wrote:
After reading all this, I favor doing one of two things:
1. Put all the search stuff, including
( ( ( ( (
..
Romain Francois wrote:
strapply in package gsubfn brings elegance here:
Don't! If you write functions to be used in a package to be included
somehow in the base or recommended packages, then, your package should
only depends on... base (preferably), or recommended packages
for searching R-help archive
than functions in packages. Ideas? comments?
Andy
Notice: This e-mail message, together with any attachme...{{dropped:12}}
__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
--
Romain
://tolstoy.newcastle.edu.au/R/ All these are much better than
Namazu for searching the R-help list.
Sorry I didn't make it clear: I meant something like the gmaneSearcg()
that Romain posted, not hitting your site.
Best,
Andy
Jon
--
Romain Francois
Independent R Consultant
+33(0) 6 28 91 30 30
question is: why does TeX parse the middle line? why isn't this
line interpreted as regular Soutput?
best wishes and thanks again
Robin
Romain Francois wrote:
Hi Robin,
Something like:
echo=FALSE=
bib - system.file( bib, mybib.bib, package = yada )
cat( \\bibliography{,bib,}\n)
@
It would also
system elapsed
3.153 0.480 3.782
--
Romain Francois
Independent R Consultant
+33(0) 6 28 91 30 30
http://romainfrancois.blog.free.fr
Index: src/stats.h
===
--- src/stats.h (revision 48386)
+++ src/stats.h (working copy)
@@ -52,4
101 - 200 of 251 matches
Mail list logo