Importing Data in R | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Importing Data in R

0 I want to import data into R but I am getting a few errors. I download my ".CSV" file to my computer and specify the file path like this setwd("C:/Users/intellipaat/Desktop/BLOG/files") and then ım writing read.data <- read.csv("file1.csv"), but the console returns an error like this. ">read.data<-read.csv(file1.csv) Error in read.table(file = file, header = header, sep = sep, quote = quote, : 'file1.csv' object not found What should I do for this? I tried the internet link route, but again I encountered a problem. I wrote like this: install.packages("XML")/ install.packages("RCurl") to load the packages, run the following command: library("XML") library("RCurl") url <- "https://en.wikipedia.org/wiki/Ease_of_doing_business_index#Ranking" tabs <- getURL(url) and the console wrote me this error; Error in function (type, msg, asError = TRUE) : error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version I would be glad if you help me in this regard...

30th Mar 2021, 9:46 AM
Cem köylüoğlu
Cem köylüoğlu - avatar
1 Answer
0
Are you work with R on your own computer or online via SoloLearn or something?
12th Apr 2021, 4:29 PM
Lisa
Lisa - avatar