install.packages("titanic")
library(titanic)
training_set <- titanic_train#Saves the train set as a variable so that we do
not affect the original data
testing_set <- titanic_test #Saves the test set as a variable so that we do not
affect the original data
names(training_set) #Prints the name of
Thanks!
Peter
On Tue, Apr 5, 2022 at 6:01 PM Jeff Newmiller wrote:
>
> ?codetools::findGlobals
>
> On April 5, 2022 5:36:54 PM PDT, Peter Langfelder
> wrote:
> >Hi all,
> >
> >I'd like to check a function for undeclared global variables using
> >something similar to what R CMD check does when
Hi Ani,
It seems to work for me:
a<-c(20, 20, 14.2375646029948, 19.9, 20, 20, 16.3092078677214,
20, 20, 20, 20, 20, 20, 20, 20, 14.8590932408795, 16.178935255298,
20, 20, 20, 20, 27.6404077886079, 20, 20, 20, 20, 20, 21.9857063037444,
20, 20, 20, 20)
> a==20
[1] TRUE TRUE FALSE FALS
?codetools::findGlobals
On April 5, 2022 5:36:54 PM PDT, Peter Langfelder
wrote:
>Hi all,
>
>I'd like to check a function for undeclared global variables using
>something similar to what R CMD check does when "checking R code for
>possible problems". My search came up empty but I hope there is w
hi, Richard,
> I get these warnings, and the package did not install:
...
> 1: In install.packages("ggplot2", dependencies = TRUE) :
> installation of package ‘curl’ had non-zero exit status
Ivan and Kimmo have both pointed out you need the right development
tools.
in terms of debugging your p
I use Fedora Linux. After completing
install.packages("ggplot2", dependencies=TRUE)
I get these warnings, and the package did not install:
Warning messages:
1: In install.packages("ggplot2", dependencies = TRUE) :
installation of package ‘curl’ had non-zero exit status
2: In install.packages("
6 matches
Mail list logo