The R version was not stated (RStudio is a shell, so you cannot infer the
version of R from its version number), but the warning messages suggest that it
is less than 3.2.3. Recent versions of pbkrtest depend on R >= 3.2.3. I
happen to know that because it led to infelicities which should probably have
been avoided by not introducing new features in the middle of the 3.2.x series.
I.e., an upgrade of R is what is called for.
-pd
> On 17 Jul 2016, at 07:50 , Jim Lemon <drjimlemon at gmail.com> wrote:
>
> Hi Lawrence,
> Try installing pbkrtest on its own:
>
> update.packages("pbkrtest")
>
> version 0.4.6 is up on CRAN, so this may allow you to make an end run.
>
> Jim
>
>
> On Sun, Jul 17, 2016 at 2:06 AM, Lawrence A. Janowitch
> <Ljanowitch at alum.mit.edu> wrote:
>> I'm trying to load the caret package in R-Studio (Version 0.99.902)
on a
>> Windows 10 OS using bootcamp windows connection on a MacBook Pro.
>>
>> I have used caret in the past, with no problems.
>>
>>
>>
>> My issue is I don't understand what this means and what I should do
about
>> it.
>>
>>
>>
>> I get:
>>
>>
>>
>>> library(caret)
>>
>> Loading required package: lattice
>>
>> Loading required package: ggplot2
>>
>> Need help? Try the ggplot2 mailing list:
>> http://groups.google.com/group/ggplot2.
>>
>> Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()),
versionCheck >> vI[[j]]) :
>>
>> namespace 'pbkrtest' 0.4-2 is being loaded, but >= 0.4.4 is
required
>>
>> In addition: Warning messages:
>>
>> 1: package 'caret' was built under R version 3.2.5
>>
>> 2: package 'ggplot2' was built under R version 3.2.3
>>
>> Error: package or namespace load failed for 'caret'
>>
>>
>>
>> Any help would be much appreciated.
>>
>> Thank you.
>>
>>
>> [[alternative HTML version deleted]]
>>
>> ______________________________________________
>> R-help at 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 at 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.
--
Peter Dalgaard, Professor,
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3, 2000 Frederiksberg, Denmark
Phone: (+45)38153501
Office: A 4.23
Email: pd.mes at cbs.dk Priv: PDalgd at gmail.com