Eric,
Yes, i know, i am calling the package, but this is not working.
I saw a similar question in Stackoverflow, advising install package Rcpp,
but this one i am unable to install.
Eric Berger schrieb am Fr., 14. Apr. 2023, 08:47:
> You first have to load the package using the library command.
You first have to load the package using the library command.
> library(caret)
Then you can call createDataPartition. e.g.
> data(oil)
> createDataPartition(oilType,2)
HTH,
Eric
On Fri, Apr 14, 2023 at 7:52 AM Gábor Malomsoki
wrote:
> Dear all,
> When i try to use createDataPartition after ca
Dear all,
When i try to use createDataPartition after calling package 'caret', i get
the message:
"could not find function createDataPartition"
I use:
R-4.2.3 for Windows
RStudio-2023.03.0-386
Do you have any experience with this failure?
Thank you!
Best regards
Gabor
[[alternative HTML
I am having difficulty downloading the R software program to my
macbook(ventura) personal computer.
Looking at the information on your download page, I could not download the
xquartz program separately.
Additional info=R studio program is now installed on my computer
Thank you - thank you.
_
Dear Emily,
I have written a more robust version of the function:
extract.nonLetters = function(x, rm.space = TRUE, normalize=TRUE,
sort=TRUE) {
if(normalize) str = stringi::stri_trans_nfc(str);
ch = strsplit(str, "", fixed = TRUE);
ch = unique(unlist(ch));
if(sort) ch = sort(ch
Dear Emily,
Using a look-behind solves the split problem in this case. (Note: Using
Regex is in most/many cases the simplest solution.)
str = c("leucocyten + gramnegatieve staven +++ grampositieve staven ++",
"leucocyten – grampositieve coccen +")
tokens = strsplit(str, "(?<=[-+])\\s++", perl
Since any space that follows 2 or 3 + signs (or - signs) also follows
a single + (or -), this can be done with positive look behind, which
may be a little simpler:
x <- c(
'leucocyten + gramnegatieve staven +++ grampositieve staven ++',
'leucocyten - grampositieve coccen +'
)
strsplit(x, "(?<=
"wear your disc quite badly"?
If you can afford a computer with 512 GB of memory,
you can afford to pay $100 for a 2 TB external SSD,
use it as scratch space, and throw it away after a
month of use. A hard drive is expected to last for
more than 40,000 hours of constant use. Are you
sure that you
On Thu, 13 Apr 2023 14:53:14 +0800 (GMT+08:00)
"Dezhi Wang" wrote:
> [New Thread 0x7fffe660a700 (LWP 3791)]
> [Thread 0x7fffe660a700 (LWP 3791) exited]
> Program received signal SIGSEGV, Segmentation fault.
> 0x7fffe50c0fe5 in intel_aes_gcmAAD () from
> /lib64/libfreeblpriv3.so
You didn't po
9 matches
Mail list logo