Re: [R] Package Caret

2023-04-14 Thread Duncan Murdoch
You should post the result of running sessionInfo(), and tell us how you 
installed R.  Your installation seems very broken.


Duncan Murdoch

On 14/04/2023 3:45 a.m., Gábor Malomsoki wrote:

This is the error then:
error in prettyseq(1:ncol(out)) : could not find function "prettyseq"




Eric Berger  schrieb am Fr., 14. Apr. 2023, 09:06:


What happens if you do the following?

library(caret)
?caret::createDataPartition


i.e. to confirm that caret is loaded, seek help on this function


On Fri, Apr 14, 2023 at 9:56 AM Gábor Malomsoki 
wrote:


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.

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 <
gmalomsoki1...@gmail.com> wrote:


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 version deleted]]

__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide
http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.





[[alternative HTML version deleted]]

__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] Package Caret

2023-04-14 Thread Eric Berger
prettyseq() is in the seqinr package. That seems to usher in a lot of other
issues.

How about caTools::sample.split() ?   (I have never used it, I just learned
about it from a search)

https://rdrr.io/cran/caTools/src/R/sample.split.R

Good luck,
Eric


On Fri, Apr 14, 2023 at 10:50 AM Gábor Malomsoki 
wrote:

> Or is there any similar function to split the dataframe to trainDF and
> testDF?
>
> Gábor Malomsoki  schrieb am Fr., 14. Apr. 2023,
> 09:45:
>
>>
>> This is the error then:
>> error in prettyseq(1:ncol(out)) : could not find function "prettyseq"
>>
>>
>>
>>
>> Eric Berger  schrieb am Fr., 14. Apr. 2023, 09:06:
>>
>>> What happens if you do the following?
>>> > library(caret)
>>> > ?caret::createDataPartition
>>>
>>> i.e. to confirm that caret is loaded, seek help on this function
>>>
>>>
>>> On Fri, Apr 14, 2023 at 9:56 AM Gábor Malomsoki <
>>> gmalomsoki1...@gmail.com> wrote:
>>>
 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.
> > 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 <
> gmalomsoki1...@gmail.com> wrote:
>
>> 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 version deleted]]
>>
>> __
>> R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
>> https://stat.ethz.ch/mailman/listinfo/r-help
>> PLEASE do read the posting guide
>> http://www.R-project.org/posting-guide.html
>> and provide commented, minimal, self-contained, reproducible code.
>>
>

[[alternative HTML version deleted]]

__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] R-error

2023-04-14 Thread Ivan Krylov
Please keep R-help in the "Copy" list.

Please compose your messages in plain text, not HTML.

On Thu, 13 Apr 2023 15:59:49 +0800 (GMT+08:00)
"Dezhi Wang"  wrote:

> This is my config.log

Please don't send any more screenshots. They are needlessly large and
impossible to copy text from. You could have fit more than forty two
thousand ASCII symbols in the space occupied by that 17 lines, and it
would have been easier to work with.

I cannot help you further without at least the backtrace, but it looks
like you have a defect in your NSS installation. You need help from a
CentOS expert or an NSS expert; there's nothing that can be fixed in R
to make it work, short of getting a custom build of a different TLS
library and a custom build of libcurl linked against said library, then
linking your custom R build against this libcurl. (But then you're on
the hook for updating both libraries when the inevitable security fixes
start rolling in.)

For RedHat-related problems, try r-sig-fed...@r-project.org, but if you
don't give them enough information, they won't help you either.

-- 
Best regards,
Ivan

__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] Package Caret

2023-04-14 Thread Gábor Malomsoki
Or is there any similar function to split the dataframe to trainDF and
testDF?

Gábor Malomsoki  schrieb am Fr., 14. Apr. 2023,
09:45:

>
> This is the error then:
> error in prettyseq(1:ncol(out)) : could not find function "prettyseq"
>
>
>
>
> Eric Berger  schrieb am Fr., 14. Apr. 2023, 09:06:
>
>> What happens if you do the following?
>> > library(caret)
>> > ?caret::createDataPartition
>>
>> i.e. to confirm that caret is loaded, seek help on this function
>>
>>
>> On Fri, Apr 14, 2023 at 9:56 AM Gábor Malomsoki 
>> wrote:
>>
>>> 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.
 > 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 <
 gmalomsoki1...@gmail.com> wrote:

> 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 version deleted]]
>
> __
> R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>


[[alternative HTML version deleted]]

__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] Package Caret

2023-04-14 Thread Gábor Malomsoki
This is the error then:
error in prettyseq(1:ncol(out)) : could not find function "prettyseq"




Eric Berger  schrieb am Fr., 14. Apr. 2023, 09:06:

> What happens if you do the following?
> > library(caret)
> > ?caret::createDataPartition
>
> i.e. to confirm that caret is loaded, seek help on this function
>
>
> On Fri, Apr 14, 2023 at 9:56 AM Gábor Malomsoki 
> wrote:
>
>> 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.
>>> > 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 <
>>> gmalomsoki1...@gmail.com> wrote:
>>>
 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 version deleted]]

 __
 R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
 https://stat.ethz.ch/mailman/listinfo/r-help
 PLEASE do read the posting guide
 http://www.R-project.org/posting-guide.html
 and provide commented, minimal, self-contained, reproducible code.

>>>

[[alternative HTML version deleted]]

__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] Dowland mistake

2023-04-14 Thread Ivan Krylov
For Mac-specific problems, try r-sig-...@r-project.org.

On Thu, 13 Apr 2023 23:40:47 +0300
SERKAN DİNGEÇ  wrote:

> I am having difficulty downloading the R software program to my
> macbook(ventura) personal computer.

Do you mean downloading or installation? What exactly happens when
you're having difficulties?

If it's the download that fails, ask your Internet service provider
and/or try a different mirror that may be closer to you or just
better-connected: https://cran.r-project.org/mirrors.html

> Looking at the information on your download page, I could not
> download the xquartz program separately.

R will work even without XQuartz installed (except for some functions,
notably tcltk). Again, what exactly are you doing and what exactly
happens that goes contrary to your expectations?

Follow the guide http://catb.org/~esr/faqs/smart-questions.html (or at
least the R-help posting guide that you should have read before
posting, ) to help us
help you. It is currently impossible to give you any specific advice
based on the information you've given us so far.

-- 
Best regards,
Ivan

__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] Package Caret

2023-04-14 Thread Eric Berger
What happens if you do the following?
> library(caret)
> ?caret::createDataPartition

i.e. to confirm that caret is loaded, seek help on this function


On Fri, Apr 14, 2023 at 9:56 AM Gábor Malomsoki 
wrote:

> 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.
>> > 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 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 version deleted]]
>>>
>>> __
>>> R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
>>> https://stat.ethz.ch/mailman/listinfo/r-help
>>> PLEASE do read the posting guide
>>> http://www.R-project.org/posting-guide.html
>>> and provide commented, minimal, self-contained, reproducible code.
>>>
>>

[[alternative HTML version deleted]]

__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] Package Caret

2023-04-14 Thread Gábor Malomsoki
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.
> > 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 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 version deleted]]
>>
>> __
>> R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
>> https://stat.ethz.ch/mailman/listinfo/r-help
>> PLEASE do read the posting guide
>> http://www.R-project.org/posting-guide.html
>> and provide commented, minimal, self-contained, reproducible code.
>>
>

[[alternative HTML version deleted]]

__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] Package Caret

2023-04-14 Thread Eric Berger
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 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 version deleted]]
>
> __
> R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>

[[alternative HTML version deleted]]

__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.