Displaying 20 results from an estimated 10000 matches similar to: "A package requiring cmake"
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
2024 Feb 04
3
Advice debugging M1Mac check errors
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?
Thanks
Holger
[[alternative HTML version deleted]]
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
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]]
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 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
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
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 Mar 03
1
linking hdf5, requires setting LD_LIBRARY_PATH
I am writing an R package to interface to hdf5 files (yes I know one
exists, the issue will be demonstrated using that package). I tend to like
to build/install things locally so that aspects of the system I am working
on don't cause problems later when attempting to install elsewhere. To
this end, I build and install the hdf5 libraries w/out incident:
tar xzf hdf5-1.8.4.tar.bz2
cd hdf5-1.8.4
2015 Feb 18
0
Different serialization of functions in interactive vs. batch mode
Holger,
For me (see session info) using
digest(as.list(f))
gets around this problem.
~G
> sessionInfo()
R version 3.1.0 (2014-04-10)
Platform: x86_64-pc-linux-gnu (64-bit)
locale:
[1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C
[3] LC_TIME=en_US.UTF-8 LC_COLLATE=en_US.UTF-8
[5] LC_MONETARY=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8
[7] LC_PAPER=en_US.UTF-8 LC_NAME=C
[9]
2011 Feb 18
1
hdf5 library install issue
Dear all
I'm trying to install the hdf5 library into R. The HDF5 package is
installed in a special directory, distributed accross my cluster:
/share/apps/HDF5
So i put the args option to the configure command as i read in previous
post in the list:
jerome]# R CMD INSTALL --configure-vars='LDFLAGS=-L/share/apps/HDF5/lib'
--configure-args='--with-hdf5=/share/apps/HDF5'
2003 Mar 18
1
Building hdf5 for ms-windows
I am trying to build hdf5 for ms-windows. I downloaded the hdf5_1.4.7.tar.gz, gunzipped it and got a tar file. I extracted everything into a directory tree called hdf5. I also found a Makevars.win and libhdf5.def in the R help archives from March 2002. I put those two in hdf5 as well.
I issued the command Rcmd build --binary hdf5
but got this message complaining it can''t find
2023 Feb 01
1
dyn.load(now = FALSE) not actually lazy?
? Wed, 1 Feb 2023 14:16:54 +1100
Michael Milton <ttmigueltt at gmail.com> ?????:
> Is this a bug in the `dyn.load` implementation for R? If not, why is
> it behaving like this? What should I do about it?
On Unix-like systems, dyn.load forwards its arguments to dlopen(). It
should be possible to confirm with a debugger that R passes RTLD_NOW to
dlopen() when calling dyn.load(now =
2011 Dec 01
2
HDF5 compound data types and h5r/hdf5 R packages
Hi there,
I have a Java process that writes HDF5 files with the following
approximate structure:
group "xxx" {
group "yyy" {
dataset {}
dataset {}
}
group "zzz" {
dataset {}
dataset {}
}
}
where dataset is a rank one dataspace having a compound datatype defined as:
H5T_UNIX_TIME, float, float, float, float
I
2013 Feb 04
1
Problem loading hdf5 file
*Hi everyone, I am a new subscriber, so I hope I'm posting in the right way.
I need to load a hdf5 file, so I installed the hdf5 libraries ad the hdf5 R
package; in downloaded a small sample file from the hdf5 website and I
could correctly load it. But when I try to load my file:
*
require(hdf5)
rm(list=ls())
ls()
hdf5load("my_file.h5", verbosity=3)
*I get this error message:
*
2007 Dec 05
1
Installing hdf5
Hello,
I want to install hdf5 libraries for R and I get the same error as posted
below whether I try install.packages("hdf5") from R command prompt or the
command line installation below. I would appreciate if any one could help me
on this.
[alamj@thor hdf5]$ ./configure --with-hdf5=/bluejay/apps/HDF5-1.6.6/x86_64
checking for gcc... gcc
checking for C compiler default output... a.out
2009 Aug 24
1
hdf5 package segfault when processing large data
Hi there,
I am currently working on something that uses hdf5 library. I think
hdf5 is a great data format, I've used it somewhat extensively in
python via PyTables. I was looking for something similar to that in R.
The closest I can get is this library: hdf5. While it does not work
the same way as PyTables did, but it's good enough to let them
exchange data via hdf5 file.
There is just 1
2009 Dec 14
2
hdf5 package
Hi all,
I'm testing the use of the hdf5 R library under Windows XP.
With some simple example (an R list with several subobjects as showed in
the examples in the library) the library exports and imports .hdf files
adequately. However, if I try to open the exported file with another
program (HDFView 2.5) I receive the message that the file is an
unsupported format. HDFView 2.5 does not seems to