Displaying 20 results from an estimated 400 matches similar to: "Advice debugging M1Mac check errors"
2024 Feb 06
2
Advice debugging M1Mac check errors
On 04/02/2024 19:41, Holger Hoefling wrote:
> Hi,
>
> I wanted to ask if people have good advice on how to debug M1Mac package
> check errors when you don?t have a Mac? Is a cloud machine the best option
> or is there something else?
I presumed this was about a CRAN package, possibly hdf5r which has a
R-devel-only warning from the Apple clang compiler. And that is not a
2010 Dec 16
3
Reset R to a vanilla state
Hi all,
I need some help with R. I am looking for a function that puts R back into a
vanilla state (exactly the same when I just started it). Specifically I want
all objects in the workspace removed and all non-base packages detached and
unloaded; all base packages that are loaded on startup should remain loaded
(and preferably a .Rprofile executed as well). It would also be good if all
the
2016 Apr 06
3
HTML help -- as a single document for the entire package
Hi,
I was wondering if there was an equivalent to the pdf-manual for
R-packages, but rendered as a single html page? I am looking for this as it
would make reading easier as
- no restriction to the standard paper width, but flowing to the browser
window size
- no page breaks
- full text search across the entire manual.
Thanks
Holger
[[alternative HTML version deleted]]
2016 Apr 06
0
HTML help -- as a single document for the entire package
On 06/04/2016 4:17 AM, Holger Hoefling wrote:
> Hi,
>
> I was wondering if there was an equivalent to the pdf-manual for
> R-packages, but rendered as a single html page? I am looking for this as it
> would make reading easier as
> - no restriction to the standard paper width, but flowing to the browser
> window size
> - no page breaks
> - full text search across the
2016 Apr 06
2
HTML help -- as a single document for the entire package
> On Apr 6, 2016, at 2:37 AM, Duncan Murdoch <murdoch.duncan at gmail.com> wrote:
>
> On 06/04/2016 4:17 AM, Holger Hoefling wrote:
>> Hi,
>>
>> I was wondering if there was an equivalent to the pdf-manual for
>> R-packages, but rendered as a single html page? I am looking for this as it
>> would make reading easier as
>> - no restriction to the
2006 Dec 29
2
again... cross compiling
> Create a cache file with the right values, or call configure with those
> values set in the environment.
OK, i ran configure with -C one time without cross compiler env set, to obtain
the variables another time with -C to use the config.cache . I could not find
anything related to the check whether size_t is signed. I found a variable
which i set that way:
2015 Feb 18
4
Different serialization of functions in interactive vs. batch mode
Hi Luke,
Ah - I see - thank you! This at least points me to a way on how to
"fix" this. I tried setting the srcref attribute to NULL, but the hash
value is still different and so is the serialization. So this looks
like it is one difference, but not all of them
Even if all differences were identified - it still leaves me with
different behavior between interactive and batch-mode,
2016 Jun 28
2
A package requiring cmake
Hi,
I am currently preparing a package for hdf5 that ships and compiles from
source on windows. The intention here is to avoid having to ship or
download a binary from an unknown source. As a dependency, I need the cmake
program installed.
Here my question:
1. Is cmake installed on win-builder? If not, could it be installed? If
yes, in a specified standard location or available through the PATH
2015 Feb 18
1
Different serialization of functions in interactive vs. batch mode
Hi Gabriel,
thanks for your reply - it does solve the problem of my toy function,
but does come with some other problems though.
a) as.list(f)[[1]] yields an expression, not a function. In order to
go the route you are suggesting, I would more likely use "deparse" in
order to get the original back
b) and more seriously - as.list strips the environment of the function
(and thus
2013 Jul 12
1
robustbase compilation problem: probably boneheaded? maybe 32-bit?
With a recent SVN build (R Under development (unstable) (2013-07-10
r63264) -- "Unsuffered Consequences"), I'm having trouble installing the
robustbase package. The bottom line is that I *think* it's a
32-bit-system problem, but I could easily be mistaken.
robustbase is passing its package checks:
http://cran.r-project.org/web/checks/check_results_robustbase.html
... but from
2006 Dec 29
1
cross compiling dovecot
I have the problem that configure can't run the binaries, due to
crosscompiling. How can you solve these issues with ./configure?
checking whether size_t is signed... configure: error: cannot run test program
while cross compiling
See `config.log' for more details.
I configure with a mipsel cross compiler.
Cheers
Martin
2016 Feb 13
1
Question about CHARSXP and garbage collection
Hi,
I had a technical question about CHARSXP and garbage collection and
couldn't find the answer in the R manual.
The question is this. Are CHARSXP garbage collected like any other object,
despite being part of the CHARSXP cache? i.e. is the cache being cleaned by
garbage collection regularly and therefore, when I am in C code, do I need
to protect a CHARSXP?
Thanks!
Holger
[[alternative
2015 Feb 18
2
Different serialization of functions in interactive vs. batch mode
Hi,
I posted this question to the regular help list, but it seems to be
this is probably a question that is better addressed on r-devel. Sorry
for the double posting.
I am using hash-values to cache certain results in R. This caching
also depends on the hash-value of the function that is being cached
(calculated using the digest package). I noticed that computations
that should already be cached
2015 Sep 20
2
Long vectors: Missing values and R_xlen_t?
Is there a missing value constant defined for R_xlen_t, cf. NA_INTEGER
(== R_NaInt == INT_MIN) for int(eger)? If not, is it correct to
assume that missing values should be taken care/tested for before
coercing from int or double?
Thank you,
Henrik
2013 Apr 09
2
Behaviors of diag() with character vector in R 3.0.0
Dear all,
According to CHANGES IN R 3.0.0:
o diag() as used to generate a diagonal matrix has been re-written
in C for speed and less memory usage. It now forces the result
to be numeric in the case diag(x) since it is said to have 'zero
off-diagonal entries'.
diag(x) does not work for character vector in R 3.0.0 any more. For example,
v <- c("a",
2019 Oct 23
2
Unexpected behavior when using macro to loop over vector
Hi all,
I found an unexpected behavior when I was trying to use the macro defined
in "R_ext/Itermacros.h" to loop over an atomic vector. Here is a minimum
example:
C++ code
```
#include "R_ext/Itermacros.h"
#define GET_REGION_BUFSIZE 2
//Redefine the macro since C++ is not happy with the implicit type
conversion
#define ITERATE_BY_REGION_PARTIAL(sx, px, idx, nb, etype,
2015 Jun 01
2
sum(..., na.rm=FALSE): Summing over NA_real_ values much more expensive than non-NAs for na.rm=FALSE? Hmm...
I'm observing that base::sum(x, na.rm=FALSE) for typeof(x) == "double"
is much more time consuming when there are missing values versus when
there are not. I'm observing this on both Window and Linux, but it's
quite surprising to me. Currently, my main suspect is settings in on
how R was built. The second suspect is my brain. I hope that someone
can clarify the below
2023 Feb 11
1
scan(..., skip=1e11): infinite loop; cannot interrupt
Hello, All:
I have a 4.54 GB file that I'm trying to read in chunks using
"scan(..., skip=__)". It works as expected for small values of "skip"
but goes into an infinite loop for "skip=1e11" and similar large values
of skip: I cannot even interrupt it; I must kill R. Below please find
sessionInfo() with a toy example.
My real problem is a large
2019 Oct 25
2
Unexpected behavior when using macro to loop over vector
On 10/25/19 11:01 AM, Tomas Kalibera wrote:
> On 10/23/19 6:45 AM, Wang Jiefei wrote:
>> Hi all,
>>
>> I found an unexpected behavior when I was trying to use the macro
>> defined
>> in "R_ext/Itermacros.h"? to loop over an atomic vector. Here is a
>> minimum
>> example:
>>
>> C++ code
>> ```
>> #include
2018 Apr 19
3
R Bug: write.table for matrix of more than 2, 147, 483, 648 elements
Le 19/04/2018 ? 09:30, Tomas Kalibera a ?crit?:
> On 04/19/2018 02:06 AM, Duncan Murdoch wrote:
>> On 18/04/2018 5:08 PM, Tousey, Colton wrote:
>>> Hello,
>>>
>>> I want to report a bug in R that is limiting my capabilities to
>>> export a matrix with write.csv or write.table with over
>>> 2,147,483,648 elements (C's int limit). I found