25 10:27
> To 谭显英
> Cc r-devel@r-project.org
> Subject Re: [Rd] Help with resolving non-API call warnings in Rust-based
> packages (ymd and fcl)
> Please update your Makevars template using the development version of
> rextendr.
>
> Please see:
> https://github.com/extend
Thanks. I confirmed the issue has been resolved by following the instructions
in your link.
Regards,
Xianying Tan (shrektan)
Replied Message
| From | Josiah Parry |
| Date | 04/15/2025 10:27 |
| To | 谭显英 |
| Cc | r-devel@r-project.org |
| Subject | Re: [Rd] Help with resolving
Please update your Makevars template using the development version of
rextendr.
Please see:
https://github.com/extendr/extendr/releases/tag/extendr-api-v0.8.0
On Mon, Apr 14, 2025 at 18:59 谭显英 wrote:
> Dear R-devel list,
>
>
> I maintain two packages that use Rust code through the "extendr" lib
Dear R-devel list,
I maintain two packages that use Rust code through the "extendr" library:
ymd (https://github.com/shrektan/ymd) and fcl (https://github.com/shrektan/fcl)
.
These packages are currently at risk of being removed from CRAN due to calls
to R's non-API functions.
I've addressed
Since I'm working with Paul on the glyph changes to the R graphics engine I'm
quite interested in this so I had the idea to take out the guts from my Cairo
package into a self-contained C code. Your request is good to bump is up on my
stack. I already have code that draws text into OpenGL textur
I'm somewhat aware of how tricky it all is. For now I'm going to do it
in R (usng textshaping for layout and base graphics on the
ragg::agg_capture device to draw to the bitmap). I'll avoid allowing
changes to happen in the C++ code.
Eventually I'll see if I can translate the code into C++.
Duncan,
drawing text is one of the most complicated things you can do, so it really
depends how for you want to go. You can do it badly with a simple cairo
show_text API. The steps involved in doing it properly are detecting the
direction of the language, finding fonts, finding glyphs (resolvin
I am in the process of updating the rgl package. One thing I'd like to
do is to change text support in it when using OpenGL to display to be
more like the way text is drawn in WebGL displays (i.e. the ones
rglwidget() produces).
Currently in R, rgl uses the FTGL library to draw text. That li
> Henrik Bengtsson writes:
Thanks: Tomas and I have now improved this.
Best
-k
> In ?base::.libPaths, there's a paragraph saying:
> The library search path is initialized at startup from the environment
> variable R_LIBS (which should be a colon-separated list of directories
> at which R lib
In ?base::.libPaths, there's a paragraph saying:
The library search path is initialized at startup from the environment
variable R_LIBS (which should be a colon-separated list of directories
at which R library trees are rooted) followed by those in environment
variable R_LIBS_USER. Only directorie
Dear everyone,
I have maintained JL Schafer's package 'pan' for a while and recently been
contacted for the possibility to fix a crash but it turned to be elusive -- I
am wondering what is the best to resolve this.
First, the error message is as follows,
*** caught segfault ***
address 0x1b000
> (1) Create a top-level help page with a title like "Date and Time
> Classes" to give a brief but general overview. This would mean the
> existing DateTimeClasses would need a new title.
I wanted to modify my first suggestion.
Perhaps a better idea would be to reference an external document
givin
Hi All: I've been following this thread and just want to add one pointer.
For those who aren't interested in using new packages that try to make
dates-times easier but also find the
base R tools confusing, below is link to an extremely well written document
from over 15 years ago. It's probably
al
I think POSIXct and POSIXlt are badly-chosen names.
The name "POSIX" implies UNIX.
(i.e. XYZix operating system is mostly POSIX compliant... Woo-Hoo!).
My assumption is that most people modelling industrial/econometric
data etc, or data imported from databases, don't want system
references everywhe
As with many areas of R usage, my view is that the concern is one
of making it easier to find appropriate information quickly. The
difficulty is that different users have different needs. So if
one wants to know (most of) what is available, the Time Series
Task View is helpful. If one is a novice,
On Sat, 4 Apr 2020 at 11:51, Martin Maechler wrote:
>
> This is mostly a RFC [but *not* about the many extra packages, please..]:
>
> Noticing to my chagrin how my students work in a project,
> googling for R code and cut'n'pasting stuff together, accumulating
> this and that package on the way
This is mostly a RFC [but *not* about the many extra packages, please..]:
Noticing to my chagrin how my students work in a project,
googling for R code and cut'n'pasting stuff together, accumulating
this and that package on the way all just for simple daily time series
(though with partly missi
On 24 March 2020 at 07:19, Dirk Eddelbuettel wrote:
| On 24 March 2020 at 11:39, Lionel Henry wrote:
| | > Shield res(Rcpp_fast_eval(Rf_lang2(asEnvironmentSym, x),
R_GlobalEnv));
| |
| | The call should be protected before evaluation though. So more like:
| |
| | Shield call(Rf_lang2(asEnviron
On 24 March 2020 at 11:39, Lionel Henry wrote:
| > Shield res(Rcpp_fast_eval(Rf_lang2(asEnvironmentSym, x),
R_GlobalEnv));
|
| The call should be protected before evaluation though. So more like:
|
| Shield call(Rf_lang2(asEnvironmentSym, x));
| return Rcpp_fast_eval(call, R_GlobalEnv);
Good
> Shield res(Rcpp_fast_eval(Rf_lang2(asEnvironmentSym, x), R_GlobalEnv));
The call should be protected before evaluation though. So more like:
Shield call(Rf_lang2(asEnvironmentSym, x));
return Rcpp_fast_eval(call, R_GlobalEnv);
Best,
Lionel
On 3/23/20, Dirk Eddelbuettel wrote:
>
>
> On 23 Mar
> Le 23 mars 2020 à 22:55, Dirk Eddelbuettel a écrit :
>
> On 23 March 2020 at 17:07, Ben Bolker wrote:
> | Or is there a way I can use Shield() since this an Rcpp-based project
> | anyway?
>
> Yes you can, and I would recommend it.
>
> Example from Rcpp itself, file Environment.h:
>
> Shie
On 23 March 2020 at 17:07, Ben Bolker wrote:
| Or is there a way I can use Shield() since this an Rcpp-based project
| anyway?
Yes you can, and I would recommend it.
Example from Rcpp itself, file Environment.h:
Shield res(Rcpp_fast_eval(Rf_lang2(asEnvironmentSym, x), R_GlobalEnv));
For Rc
Ben,
yes, you have to store the result into a variable, then unprotect, then return.
Cheers,
S
> On 24/03/2020, at 10:07 AM, Ben Bolker wrote:
>
>
> Thanks, that's really useful. One more question for you, or someone
> else here:
>
> const ArrayXd glmLink::linkFun(const ArrayXd& mu) const
> Ben Bolker
> on Mon, 23 Mar 2020 17:07:36 -0400 writes:
> Thanks, that's really useful. One more question for you, or someone
> else here:
> const ArrayXd glmLink::linkFun(const ArrayXd& mu) const {
> return as(::Rf_eval(::Rf_lang2(as(d_linkFun),
> as(Rcpp::Nu
Thanks, that's really useful. One more question for you, or someone
else here:
const ArrayXd glmLink::linkFun(const ArrayXd& mu) const {
return as(::Rf_eval(::Rf_lang2(as(d_linkFun),
as(Rcpp::NumericVector(mu.data(),
mu.data() + mu.size()))
On 3/23/20 8:39 PM, Ben Bolker wrote:
Dear r-devel folks,
[if this is more appropriate for r-pkg-devel please let me know and
I'll repost it over there ...]
I'm writing to ask for help with some R/C++ integration idioms that are
used in a package I'm maintaining, that are unfamilar to me, an
Dear r-devel folks,
[if this is more appropriate for r-pkg-devel please let me know and
I'll repost it over there ...]
I'm writing to ask for help with some R/C++ integration idioms that are
used in a package I'm maintaining, that are unfamilar to me, and that
are now being flagged as problemat
[Oops, I seem to have managed not to send this yesterday...]
Not sure how to fix, but note that configure is not lying to you:
> configure:13319: /usr/include/tk8.3/tk.h: No such file or directory
tk8.3, not tcl8.3
-pd
> On 30 Jul 2018, at 06:35 , David Hugh-Jones wrote:
>
> Hi guys,
>
> Pe
Hello, All:
A feature request:
What about modifying the code for "help(pac=xxx)" so it looks for
"xxx" on CRAN as well as locally: If it finds it locally, it uses that
version but with an annotation reporting what it found on CRAN:
* If it doesn't find CRAN, it doesn't report
I've created repo with initial investigation -
https://github.com/dselivanov/r-malloc/blob/master/README.md. At first
glance it seems jemalloc, tcmalloc, glibc with malloc_trim all work better
than default malloc with glibc. Interesting thing is that glibc with
malloc_trim finishes benchmark a bit
On Saturday, August 12, 2017 5:36:36 PM EDT Dirk Eddelbuettel wrote:
> On 12 August 2017 at 15:10, luke-tier...@uiowa.edu wrote:
> | As the Python posts poitns out, it is possible to use alternate malloc
> | implementations, either rebuilding R to use them or using LD_PRELOAD.
> | On Ubuntu for exa
FWIW if we are talking about alternative allocators, tcmalloc is another
candidate that we are using for our projects where we care about allocations
and performance (another upshot is that it's very flexible so you can do a lot
of cool things if you care). However I didn't try it with R - I'll
On 13 August 2017 at 15:15, Dmitriy Selivanov wrote:
| Very interesting information about switching glibc malloc to jemalloc.
|
| So I see action plan as following:
|
|1. set up some benchmark (need to think about design)
|2. Run it on ubuntu machine with default glibc malloc
|3. Run
Very interesting information about switching glibc malloc to jemalloc.
So I see action plan as following:
1. set up some benchmark (need to think about design)
2. Run it on ubuntu machine with default glibc malloc
3. Run it with malloc_trim passed with reg.finalizer()
4. Run it with j
On 12 August 2017 at 15:10, luke-tier...@uiowa.edu wrote:
| As the Python posts poitns out, it is possible to use alternate malloc
| implementations, either rebuilding R to use them or using LD_PRELOAD.
| On Ubuntu for example, you can have R use jemalloc with
|
| sudo apt-get install libjemalloc
On Sat, 12 Aug 2017, Dmitriy Selivanov wrote:
Strange because in my all my experiments calling malloc.trim always helped
- memory reported by top decreased to the level it supposed to be. Do you
have in mind case when calling malloc.trim won't do anything? Also
shouldn't MALLOC_TRIM_THRESHOLD_ e
Strange because in my all my experiments calling malloc.trim always helped
- memory reported by top decreased to the level it supposed to be. Do you
have in mind case when calling malloc.trim won't do anything? Also
shouldn't MALLOC_TRIM_THRESHOLD_ env variable has impact on malloc.trim
calls? At t
> On Aug 11, 2017, at 12:57 PM, Iñaki Úcar wrote:
>
> 2017-08-11 16:00 GMT+02:00 Martin Maechler :
>>> Dmitriy Selivanov
>>>on Fri, 11 Aug 2017 17:33:31 +0400 writes:
>>
>>> Hi mailing list and R-core. Could someone from R-core please help me to
>>> create account in bugzilla? I wo
2017-08-11 16:00 GMT+02:00 Martin Maechler :
>> Dmitriy Selivanov
>> on Fri, 11 Aug 2017 17:33:31 +0400 writes:
>
> > Hi mailing list and R-core. Could someone from R-core please help me to
> > create account in bugzilla? I would like to submit issue related to
> gc() to
>
Thanks Martin, I've received invitation and will create ticket soon.
Regarding issue - basically the problem is that on operating systems which
use glibc memory is not freed (R releases it, but system doesn't trim it).
Setting corresponding environment variable (MALLOC_TRIM_THRESHOLD_) doesn't
hel
> Dmitriy Selivanov
> on Fri, 11 Aug 2017 17:33:31 +0400 writes:
> Hi mailing list and R-core. Could someone from R-core please help me to
> create account in bugzilla? I would like to submit issue related to gc()
to
> wishlist.
I will create one.
Your previous e-mails
Hi mailing list and R-core. Could someone from R-core please help me to
create account in bugzilla? I would like to submit issue related to gc() to
wishlist.
Related context is here -
https://stat.ethz.ch/pipermail/r-devel/2017-July/074715.html
--
Regards
Dmitriy Selivanov
[[alternativ
> On 23 May 2017, at 15:56 , Joris Meys wrote:
>
> Hi Duncan,
>
> that explains, thank you. If nobody finds the time to fix that, I might
> give it a shot myself this summer. Barbeque is overrated.
I beg to differ! Chances of rain are underestimated, though (in .be as in .dk,
I suspect).
;-
Hi Duncan,
that explains, thank you. If nobody finds the time to fix that, I might
give it a shot myself this summer. Barbeque is overrated.
Cheers
Joris
On Tue, May 23, 2017 at 3:10 PM, Duncan Murdoch
wrote:
> On 23/05/2017 8:39 AM, Joris Meys wrote:
>
>> Hi all,
>>
>> Don't know if this is a
On 23/05/2017 8:39 AM, Joris Meys wrote:
Hi all,
Don't know if this is a known issue, but I couldn't find anything so I
report anyway. When checking eg ?qr in both RStudio and the naked R IDE,
the help page is rendered incorrectly. More specifically, any use of
\bold{...} is printed as is, rathe
Hi all,
Don't know if this is a known issue, but I couldn't find anything so I
report anyway. When checking eg ?qr in both RStudio and the naked R IDE,
the help page is rendered incorrectly. More specifically, any use of
\bold{...} is printed as is, rather than interpreted as bold. Same happens
on
Hello,
In help(clusterApply) of the 'parallel' package, it says:
"clusterApply calls fun on the first node with arguments seq[[1]] and ..., on
the second node with seq[[2]] and ..., and so on, recycling nodes as needed."
But the argument that is iterated over in clusterApply() is called 'x' not
Hi all,
I am working on a bug, which running PLR on HAWQ. The process hung and
can't be terminated.
>From my investigation, it seems signal handler 'Rf_onsigusr1' trigger a
malloc/free deadlock.
The calling stack is below.
Thread 1 (Thread 0x7f4c93af48e0 (LWP 431263)):
#0 0x7f4c9015805e i
> On 15 Mar 2016, at 0:04, Mick Jordan wrote:
>
> On 3/14/16 1:49 PM, Mick Jordan wrote:
>> A couple of my colleagues are having problems building R-3.2.4 on Mac OS X
>> El Capitan somehow related to libiconv. I personally don't have any problems
>> on either of my Macs. I'm hoping thie make l
On 3/14/16 1:49 PM, Mick Jordan wrote:
A couple of my colleagues are having problems building R-3.2.4 on Mac
OS X El Capitan somehow related to libiconv. I personally don't have
any problems on either of my Macs. I'm hoping thie make log might
trigger something in the readers of this list:
gc
A couple of my colleagues are having problems building R-3.2.4 on Mac OS
X El Capitan somehow related to libiconv. I personally don't have any
problems on either of my Macs. I'm hoping thie make log might trigger
something in the readers of this list:
gcc -dynamiclib -Wl,-headerpad_max_install
You can use nls's 'control' argument to work around this problem.
Read help(nls.control) for details.
nls(control = nls.control(minFactor=2^-20), ...)
will allow a smaller step factor than the default 2^-10 and loosening
the convergence tolerance with
nls(control = nls.control(tol=1e-4))
may
Hi to All,
I am fitting some models to a data using non linear least square, and
whenever i run the command, parameters value have good convergence but I
get the error in red as shown below. Kindly how can I fix this problem.
Convergence of parameter values
0.2390121 : 0.1952981 0.975 1.0
Kurt pointed to the issue. Thanks. I did install r-recommended, but it
seems something went wrong at some point. A reinstall got rid of the
warnings.
Thanks to Dirk for his offer of help.
Now I'm still getting a namespace issue on the second run of an
optimization problem. However, I think I
On 18 January 2015 at 09:03, Prof J C Nash (U30A) wrote:
| I've been implementing a wrapper to the 2011 Fortran version of
| L-BFGS-B. In optim(), R uses a C translation of a Fortran version (the
| version number does not appear to be documented by the original
| authors). The authors of the or
> Prof J C Nash (U30A) writes:
> I've been implementing a wrapper to the 2011 Fortran version of
> L-BFGS-B. In optim(), R uses a C translation of a Fortran version (the
> version number does not appear to be documented by the original
> authors). The authors of the original Fortran code ha
I've been implementing a wrapper to the 2011 Fortran version of
L-BFGS-B. In optim(), R uses a C translation of a Fortran version (the
version number does not appear to be documented by the original
authors). The authors of the original Fortran code have updated it and
published the reasons in
Please read R-admin section 3.1 - as you'll notice it doesn't say anything
about running ./configure since that's only for unix.
http://r.research.att.com/man/R-admin.html#Building-from-source
Cheers,
Simon
On Jan 2, 2015, at 12:33 PM, Edoardo Baldoni wrote:
> Dear R users,
> I would need s
Dear R users,
I would need some help in building R using minGW in windows 8.1. After
using the command *configure *(./configure --enable-R-shlib
--with-readline=no --with-x=no), I use the command *make. *This results in
the following error:
[...]
make[2]: Leaving directory `/home/Edoardo/r-3.1.2/s
Never mind. For my initial question, I can just use: R_curErrorBuf
My current implementation now only depend on R_FunTab and R_GlobalContext which
R does not conceal behind attribute_hidden.
https://github.com/romainfrancois/Rcpp11/blob/master/inst/include/Rcpp/Context.h
Romain
Le 27 févr. 201
Of course one problem is that R hides things that I need for this, such as
R_HandlerStack and R_ReturnedValue.
I understand they have to be hidden, in which case can we have an exposed
mechanism similar to what R_ToplevelExec does, but with the added functionality
of giving access to the condi
Hello,
I’m trying to leverage R_ToplevelExec to implement C level try/catch.
The way it is implemented allows for running a function in a top level context.
This context gets an empty handler stack, so either the function runs correctly
or it jumps. When it jumps, it does not find a handler,
> Finally, for your specific use case, see also ?withCallingHandlers which
> can not only detect warnings, but also set callback functions which can
> decide whether to abort or process and restart when a warning is thrown.
> The documentation for that function is a little rough, though you can see
Elad,
I disagree. This section:
It is undocumented where last.warning is stored nor that it is
visible, and this is subject to change. Prior to R 2.4.0 it was
stored in the workspace, but no longer.
already says that it won't work (or rather that there is no reason to think
it would
Hi Scott,
options(warn = 2) is a great idea. Thank you. My suggestion was not to
change the behavior of last.warning, just to write what the behavior is
very explicitly in the help page. But I guess this is just difference of
opinions.
Thanks for the suggestions,
Elad
On Sun, Dec 29, 2013 at 3:
On Sat, Dec 28, 2013 at 11:19 PM, Elad Zippory wrote:
> Hi Scott,
>
> Thank you for your detailed response. (btw, the reason why I didn't link the
> Stack Overflow question is because I deleted it after I sent the e-mail).
Hi Elad,
Please keep the conversation on the list unless there is a reaso
On Sat, Dec 28, 2013 at 6:06 PM, Elad Zippory wrote:
> Hi,
>
> I raised this issue at stackoverflow and it was suggested to raise it here:
>
> >From the current help page, it is unclear that "warnings()" does not clear
> after rm(list=ls()). Currently the page states that:
>
> "Warning: It is undo
Hi,
I raised this issue at stackoverflow and it was suggested to raise it here:
>From the current help page, it is unclear that "warnings()" does not clear
after rm(list=ls()). Currently the page states that:
"Warning: It is undocumented where last.warning is stored nor that it is
visible, and t
First, it is not a function. It is an R object in the stats namespace
and you can look at it like any other object:
> stats:::C_Cdqrls
$name
[1] "Cdqrls"
$address
attr(,"class")
[1] "RegisteredNativeSymbol"
$dll
DLL name: stats
Filename: /Users/ripley/R/R-devel/library/stats/libs/stats.so
Dy
On 23.04.2013 09:35, 赵自强 wrote:
Dear all,
I’m not sure if it is O.K. to ask this question here.
But where can I find the code for the function ‘C_Cdqrls’
which is called by the R function ‘lsfit‘.
Look into the R sources:
grepping for dqrls show
Dear all,
Iâm not sure if it is O.K. to ask this question here.
But where can I find the code for the function âC_Cdqrlsâ
which is called by the R function âlsfitâ.
Thank you all.
Sorry for being naïve if so.
-
Thank you, Suharto,
you are right, there (on ?Extract ) has been a typo.
I've fixed it and also added an example at the very end of that
help page.
Martin Maechler, ETH Zurich
> Suharto Anggono
> on Thu, 15 Nov 2012 23:48:12 -0800 writes:
>
http://stackoverflow.com/questio
http://stackoverflow.com/questions/6065724/assigning-value-to-a-variable-that-has-a-dot-in-the-name
made me realize this.
The context is 'a' is assigned to ret$log.id, but then ret$log returns "a" and
ret$l also returns "a".
There is a comment from Charles on the question:
"Also see options(war
On 02.08.2012 10:33, luxInteg wrote:
Greetings,
I am trying to use install.packages obtained from here
http://stat.ethz.ch/R-manual/R-devel/library/utils/html/install.packages.html
My computer has these
OS: 64-bit blfs linux R2.15.1
#
A) I did the following:-
export DIR=/home/st
Greetings,
I am trying to use install.packages obtained from here
http://stat.ethz.ch/R-manual/R-devel/library/utils/html/install.packages.html
My computer has these
OS: 64-bit blfs linux R2.15.1
#
A) I did the following:-
export DIR=/home/stats/R-2.15.0_runTEST190712A
export DEST=/
; À : Millot Gael
> Cc : r-devel@r-project.org
> Objet : Re: [Rd] Help page of colors() : add a new example ?
>
> Here's another graphic that shows R colors in a table, from Earl Glynn
> of the Stowers Institute of Medicine:
>
> http://research.stowers-institute.org/efg/R/Col
Here's another graphic that shows R colors in a table, from Earl Glynn
of the Stowers Institute of Medicine:
http://research.stowers-institute.org/efg/R/Color/Chart/
If the link doesn't bring up the page (my didn't initially), Google on
'Earl Glynn Stowers' and look for the link 'Chart of R Color
Gael,
Your graph has a lot of white space. Is that intentional? I've seen
similar code in other places that uses less white space.
Here's another option for choosing ANY color, not just pre-defined colors.
require(tcltk)
tclvalue(tcl("tk_chooseColor"))
Kevin
On Mon, Jan 30, 2012 at 8:46 AM,
Dear all,
May I suggest to add an example in the help page of the colors() function ?
The following code could be useful to easily choose any color from colors() :
## Millot G. (2011), p.71.
## Figure displaying all the 657 built-in color names of colors().
palette(colors())
tempo<-NULL
for(i in
Of course the reasoning below applies also to an example with which.max,
so yet another suggestion for the x vector: x <- c(1, 2, 0, 0, 3, 3, 1, 2)
> which.min(x)
[1] 3
> which(x == min(x))
[1] 3 4
> which.max(x)
[1] 5
> which(x == max(x))
[1] 5 6
Cheers,
Henrik
On 08.10.2011 14:54, Henri
Dear R developers,
I find the which.min function very handy. However, maybe you could
consider a tiny addition to the example data in the the help text.
By adding another zero to the vector x...
x <- c(1:4, 0, 0:5,11)
...the example would more explicitly show that which.min actually
'giv[es]
On Apr 19, 2011, at 07:16 , Prof Brian Ripley wrote:
> On Mon, 18 Apr 2011, Duncan Murdoch wrote:
>
>> On 11-04-18 5:51 PM, Terry Therneau wrote:
>>> I've narrowed my scope problems with predict.coxph further.
>>> Here is a condensed example:
>>> fcall3<- as.formula("time ~ age")
>>> dfun3<- fun
On Mon, 18 Apr 2011, Duncan Murdoch wrote:
On 11-04-18 5:51 PM, Terry Therneau wrote:
I've narrowed my scope problems with predict.coxph further.
Here is a condensed example:
fcall3<- as.formula("time ~ age")
dfun3<- function(dcall) {
fit<- lm(dcall, data=lung, model=FALSE)
model.fra
On Mon, Apr 18, 2011 at 5:51 PM, Terry Therneau wrote:
> I've narrowed my scope problems with predict.coxph further.
> Here is a condensed example:
>
> fcall3 <- as.formula("time ~ age")
> dfun3 <- function(dcall) {
> fit <- lm(dcall, data=lung, model=FALSE)
> model.frame(fit)
> }
> dfun3(fc
On 11-04-18 5:51 PM, Terry Therneau wrote:
I've narrowed my scope problems with predict.coxph further.
Here is a condensed example:
fcall3<- as.formula("time ~ age")
dfun3<- function(dcall) {
fit<- lm(dcall, data=lung, model=FALSE)
model.frame(fit)
}
dfun3(fcall3)
The final call fails
I've narrowed my scope problems with predict.coxph further.
Here is a condensed example:
fcall3 <- as.formula("time ~ age")
dfun3 <- function(dcall) {
fit <- lm(dcall, data=lung, model=FALSE)
model.frame(fit)
}
dfun3(fcall3)
The final call fails: it can't find 'dcall'.
The relevant code
> Paul Bailey
> on Thu, 27 Jan 2011 23:51:21 -0500 writes:
> Hi, I'm trying to make a new S4 object with a slot for a
> "link-glm" object. R doesn't like me have a slot of class
> "link-glm"
>> class(make.link("probit"))
> [1] "link-glm"
>> setClass("a",repres
On 01/27/2011 08:51 PM, Paul Bailey wrote:
> Hi,
>
> I'm trying to make a new S4 object with a slot for a "link-glm" object. R
> doesn't like me have a slot of class "link-glm"
>
>> class(make.link("probit"))
> [1] "link-glm"
Tell the S4 system that you'd like to use this 'old' class
setOldCla
Hi,
I'm trying to make a new S4 object with a slot for a "link-glm" object. R
doesn't like me have a slot of class "link-glm"
> class(make.link("probit"))
[1] "link-glm"
> setClass("a",representation(item="link-glm"))
[1] "a"
Warning message:
undefined slot classes in definition of "a": item(cla
2010/1/25 Jin Xu :
> Actually I successfully compiled R-2.8.1 on this machine wiht these
> parameters and a patch on http://prs.ism.ac.jp/~nakama/AIX/changefiles.
> Would you mind to tell me what I can do if I want to build R-2.10.1
I don't touch AIX from last year...
I asked for the use of AIX.
H
Hi all,
I met a problem with R-2.10.1 installation on AIX5.3.
The error message is as following:
make[3]: Entering directory `/rnd/homes/tmp/R-2.10.1/src/library/tools'
building package 'tools'
mkdir ../../../library/tools
make[4]: Entering directory `/rnd/homes/tmp/R-2.10.1/src/library/tools'
m
Hi
I have managed to link R.dll to my Visual Studio Win32 GUI project. However
I am unable to see any of the R messages on a console.
I'm hitting a dead end trying to use R_tryEval.
Is there a way I can obtain the error message when R_tryEval fails?
Regards
Abhijit Bera
[[alternative
> I think it would be nice to get this back and make it less platform
> specific. It would need indexing of the content of the pages, and
> Javascript or similar to access the indices.
It would be nice to have an interface to something like lucene - would
be useful for other projects apart from R
That did it. Was having trouble searching 'help' for how to optionally
configure 'help'. Thanks.
-Dan
On Wed, Nov 11, 2009 at 8:57 AM, Henrik Bengtsson wrote:
> For the text based help, there is no search feature on Windows, e.g.
>
> options(help_type="text");
> help(readLines);
>
> but if you us
On 11/11/2009 11:40 AM, hadley wickham wrote:
I understand that no one wanted to maintain the old Help, but one feature I
used extensively -- as a newbie to R or to an unfamiliar package -- was the
capability of searching for a word or phrase on the Help page itself.
Ctrl-F/Command-F (Windows/mac
For the text based help, there is no search feature on Windows, e.g.
options(help_type="text");
help(readLines);
but if you use the HTML-based help, you can use the browser's search
features as suggested/wanted:
options(help_type="html");
help(readLines);
/Henrik
On Wed, Nov 11, 2009 at 5:40
> I understand that no one wanted to maintain the old Help, but one feature I
> used extensively -- as a newbie to R or to an unfamiliar package -- was the
> capability of searching for a word or phrase on the Help page itself.
> Ctrl-F/Command-F (Windows/mac) 'differently-phrased-capability' was a
Sirs:
I understand that no one wanted to maintain the old Help, but one feature I
used extensively -- as a newbie to R or to an unfamiliar package -- was the
capability of searching for a word or phrase on the Help page itself.
Ctrl-F/Command-F (Windows/mac) 'differently-phrased-capability' was a
"AB" == Abhijit Bera
on Wed, 11 Nov 2009 15:34:50 +0500
Hi Abhijit,
Please note that cross-posting is considered to be impolite.
AB> I'm getting the following errors while using the
AB> efficientPortfolio function
AB> even though I'm setting the target return to the mean of t
Hi
I'm getting the following errors while using the efficientPortfolio function
even though I'm setting the target return to the mean of the TargetReturn I
obtain from the portfolio object created by the feasiblePortfolio function.
First Error:
Error: targetReturn >= min(mu) is not TRUE
Second E
1 - 100 of 212 matches
Mail list logo