Displaying 20 results from an estimated 9000 matches similar to: "Reset R to a vanilla state"
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
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
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
2010 Nov 27
4
Combind two different vector
Hi
I'm trying two combine two vectors that have different lengths. This without
recursive the shorter one. E.g.,
a <- seq(1:3)
b <- seq(1:6)
Thanks in advance
Serdar
[[alternative HTML version deleted]]
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 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
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
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]
2010 Nov 26
1
Issues with nnet.default for regression/classification
Hi,
I'm currently trying desperately to get the nnet function for training a
neural network (with one hidden layer) to perform a regression task.
So I run it like the following:
trainednet <- nnet(x=traindata, y=trainresponse, size = 30, linout = TRUE, maxit=1000)
(where x is a matrix and y a numerical vector consisting of the target
values for one variable)
To see whether the network
2010 Dec 02
1
kmeans() compared to PROC FASTCLUS
Hello all,
I've been comparing results from kmeans() in R to PROC FASTCLUS in SAS and
I'm getting drastically different results with a real life data set. Even
with a simulated data set starting with the same seeds with very well
seperated clusters the resulting cluster means are still different. I was
hoping to look at the source code of kmeans(), but it's in C and FORTRAN and
2010 Dec 10
2
Help..Neural Network
Hi all,
I am trying to develop a neural network with single target variable and 5
input variables to predict the importance of input variables using R. I used
the packages nnet and RSNNS. But unfortunately I could not interpret the out
put properly and the documentation of that packages also not giving proper
direction. Please help me to find a good package with a proper documentation
for neural
2010 Dec 10
2
spatial clusters
Dear all,
I am looking for a clustering method usefull to classify the countries in
some clusters taking account of: a) the geographical distance (in km)
between countries and b) of some macroeconomic indicators (gdp, life
expectancy...).
Are there some packages in R usefull for this?
Thanks a lot for your help,
Dorina
2010 Dec 03
3
book about "support vector machines"
Dear all,
I am currently looking for a book about support vector machines for
regression and classification and am a bit lost since they are plenty of
books dealing with this subject. I am not totally new to the field and
would like to get more information on that subject for later use with
the e1071 <http://cran.r-project.org/web/packages/e1071/index.html>
package for instance. Does
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
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
2010 Dec 10
2
Need help on nnet
Hi,
Am working on neural network.
Below is the coding and the output
> library (nnet)
> uplift.nn<-nnet (PVU~ConsumerValue+Duration+PromoVolShare,y,size=3)
# weights: 16
initial value 4068.052704
final value 3434.194253
converged
> summary (uplift.nn)
a 3-3-1 network with 16 weights
options were -
b->h1 i1->h1 i2->h1 i3->h1
16.64 6.62 149.93
2011 Jan 07
2
Stepwise SVM Variable selection
I have a data set with about 30,000 training cases and 103 variable.
I've trained an SVM (using the e1071 package) for a binary classifier
{0,1}. The accuracy isn't great.
I used a grid search over the C and G parameters with an RBF kernel to
find the best settings.
I remember that for least squares, R has a nice stepwise function that
will try combining subsets of variables to find
2010 Nov 30
5
how to know if a file exists on a remote server?
Hi,
I'd like to download some data files from a remote server, the problem
here is that some of the files actually don't exist, which I don't
know before try. Just wondering if a function in R could tell me if a
file exists on a remote server? I searched this mailing list and after
read severals mails, still clueless. Any help will be highly
appreciated.
B.C.