Introduction to Data Frames in R - English
- subtitles off
- captions off
- English
- Questions posted on Forums
- R Tutorials - English
-
Plot option
When we type plot(Captaincy$y, ratio) in Console window we obtained the graph between year and victory in File & Plots window but when we type plot(Captaincy$names, Captaincy$played), it shows error exclaiming plot function not found. Why it is so?
02-03M 10-20S anita19dsm@gmail.com
Answer last updated on: March 22, 2024, 10:34 p.m.
-
i cannot open the csv file
how to open and use it please tell
06-07M 20-30S tanishagoyal
Answer last updated on: Aug. 15, 2021, 12:14 p.m.
-
Unable to see CSV file after executing the R Command
Unable to see CSV file after executing the R Commandwrite.csv(captaincy,"NewCaptaincy.csv")No where it is shown in the video how the file will be opened, please help.
08-09M 20-30S Nilesh10
Answer last updated on: April 7, 2021, 6:16 p.m.
-
FIGURE MARGINS TOO LARGE
> plot (captaincy$Y,captaincy$victory)Error in plot.new() : figure margins too large> plot(captaincy$names,captaincy$played)Error in plot.new() : figure margins too largeIn addition: Warning messages:1: In xy.coords(x, y, xlabel, ylabel, log) : NAs introduced by coercion2: In min(x) : no non-missing arguments to min; returning Inf3: In max(x) : no non-missing arguments to max; returning -Inf
06-07M 30-40S vanshika2109
Answer last updated on: Jan. 29, 2021, 10:19 a.m.
-
Why the first row number in the csv file is blank ?
Why the first row number in the csv file is blank like "" instead of "0" because the second row is like "1".
08-09M 0-10S Saikatraj
Answer last updated on: Jan. 29, 2021, 10:16 a.m.
-
Plot function
plot(captaincy$names,captaincy$played)Error in plot.window(...) : need finite 'xlim' valuesIn addition: Warning messages:1: In xy.coords(x, y, xlabel, ylabel, log) : NAs introduced by coercion2: In min(x) : no non-missing arguments to min; returning Inf3: In max(x) : no non-missing arguments to max; returning -InfError.
07-08M 0-10S pavanrajat
Answer last updated on: Jan. 28, 2021, 2:44 p.m.
-
r pogram data frame
plot(captaincy $names,captaincy $played)Error in plot.window(...) : need finite 'xlim' valuesIn addition: Warning messages:1: In xy.coords(x, y, xlabel, ylabel, log) : NAs introduced by coercion2: In min(x) : no non-missing arguments to min; returning Inf3: In max(x) : no non-missing arguments to max; returning -Infhow to do plot in view mode
06-07M 50-60S nileshkavankar13@gmail.com
Answer last updated on: Dec. 7, 2020, 3:37 p.m.
-
changing name
How do I save the file NewCaptaincy.csv when i change the name "Mahi" to "Dhoni". Please Repeat it.
02-03M 10-20S anita19dsm@gmail.com
Answer last updated on: Oct. 14, 2020, 2:06 p.m.
-
plot(captaincy$named, captaincy$played)
While executing plot(captaincy$named, captaincy$played)I m getting error as Error in plot.window(...) : need finite 'xlim' valuesIn addition: Warning messages:1: In xy.coords(x, y, xlabel, ylabel, log) : NAs introduced by coercion2: In min(x) : no non-missing arguments to min; returning Inf3: In max(x) : no non-missing arguments to max; returning -Inf
08-09M 10-20S latha7suma@gmail.com
Answer last updated on: Oct. 8, 2020, 11:22 p.m.
-
Data Frame plot
When i am trying to plot as; plot(captaincy$names,captaincy$played)Error Shows as : Error in plot.window(...) : need finite 'xlim' valuesIn addition: Warning messages:1: In xy.coords(x, y, xlabel, ylabel, log) : NAs introduced by coercion2: In min(x) : no non-missing arguments to min; returning Inf3: In max(x) : no non-missing arguments to max; returning -Inf
07-08M 0-10S rakshaggu@gmail.com
Answer last updated on: Oct. 8, 2020, 11:21 p.m.
-
error while executing plot command using data frame
plot(captaincy $names,captaincy $played)Error in plot.window(...) : need finite 'xlim' valuesIn addition: Warning messages:1: In xy.coords(x, y, xlabel, ylabel, log) : NAs introduced by coercion2: In min(x) : no non-missing arguments to min; returning Inf3: In max(x) : no non-missing arguments to max; returning -Inf
07-08M 0-10S akarsh.arora@jiit.ac.in
Answer last updated on: Oct. 8, 2020, 11:18 p.m.
-
min max coords
> plot(captaincy$names,captaincy$played)Error in plot.window(...) : need finite 'xlim' valuesIn addition: Warning messages:1: In xy.coords(x, y, xlabel, ylabel, log) : NAs introduced by coercion2: In min(x) : no non-missing arguments to min; returning Inf3: In max(x) : no non-missing arguments to max; returning -Inf>
06-07M 50-60S yogeshbhosale988@gmail.com
Answer last updated on: Oct. 8, 2020, 11:15 p.m.
-
plot(plot(Captaincy$names,Captaincy$played)
I did not get the output shown in the video tutorial when I tried to execute plot(Captaincy$names, Captaincy$played. Please help.Following are the errors shownplot(Captaincy$names,Captaincy$played,xlab = "Names", ylab = "Played", main = "Number of Matches Played by Indian Captain")Error in plot.window(...) : need finite 'xlim' valuesIn addition: Warning messages:1: In xy.coords(x, y, xlabel, ylabel, log) : NAs introduced by coercion2: In min(x) : no non-missing arguments to min; returning Inf3: In max(x) : no non-missing arguments to max; returning -Inf
06-07M 0-10S entobasnet@gmail.com
Answer last updated on: Oct. 8, 2020, 11:12 p.m.
-
median
What is meaning of na.rm=FALSE in formula when finding median?
00-01M 10-20S anita19dsm@gmail.com
Answer last updated on: Sept. 11, 2020, 4:22 p.m.
-
open csv file using notepad
How will you open csv file using notepad
06-07M 30-40S bindukannan
Answer last updated on: June 16, 2020, 12:39 p.m.
-
rectify the error
write.csv(captaincy,"Newcaptaincy.csv", row.name=FALSE)Error in write.table(captaincy, "Newcaptaincy.csv", row.name = FALSE, : 'col.names = NA' makes no sense when 'row.names = FALSE'
08-09M 0-10S bindukannan
Answer last updated on: June 16, 2020, 12:37 p.m.
-
csv file
How to open newcaptaincy.csv file in windows? I imported from a text file but in r library or r studio, I unable to find.is another process in windows? or is it for Linux only?
09-10M 40-50S shiksha_saxena
Answer last updated on: June 16, 2020, 12:34 p.m.
-
use of command $ in data frames
why $ is used in the creation of some data frames?
11-12M 30-40S swity
Answer last updated on: May 23, 2020, 6:26 p.m.
-
list of all data frames created by us other than default ones
using the command data() we are only getting list of inbuilt data frames. can we also get the list of data frames created by us saved in the R environment? since there are so many names of objects and we just want to check out the list of data frames.
11-12M 0-10S shwetagandhi
Answer last updated on: May 12, 2020, 1:50 p.m.
-
importing file through import data drop down menu
when i am clicking at import file i am getting more options (not just two) and when i am selecting 'from text(base)' i am getting that your program has stopped working. so why i am not able to import?
09-10M 40-50S shwetagandhi
Answer last updated on: May 12, 2020, 1:48 p.m.
-
write.csv(captaincy,"NewCaptaincy.csv",row.names=FALSE)
write.csv(captaincy,"NewCaptaincy.csv",row.names=FALSE) write.csv(captaincy,"NewCaptaincy.csv") what is the function of above statement. I didnot find any other screen.Please elaborate me and tell me what is the output of these two statements.
12-13M 30-40S Navneetsandhu
Answer last updated on: May 2, 2020, 12:32 p.m.
-
plot(captaincy$names,captaincy$played)
Error in the plot(captaincy$names,captaincy$played)Error in plot.window(...) : need finite 'xlim' valuesIn addition: Warning messages:1: In xy.coords(x, y, xlabel, ylabel, log) : NAs introduced by coercion2: In min(x) : no non-missing arguments to min; returning Inf3: In max(x) : no non-missing arguments to max; returning -Inf
12-13M 30-40S Navneetsandhu
Answer last updated on: May 2, 2020, 12:07 a.m.
-
how to open csv file using notepad
how to open csv file using notepad editor?
08-09M 40-50S suhailalphacs
Answer last updated on: May 2, 2020, 12:03 a.m.
-
NewCaptaincy.csv file creation regarding
I am not able to create NewCaptaincy.csv file. I tried to open other editors, but not successful. kindly guide me to open the editor NewCaptaincy.csv file
06-07M 10-20S Abheeshta
Answer last updated on: April 29, 2020, 9:12 a.m.
-
Computing Median and mean
What to consider for CO2 dataset for computing median and mean? I took only numerical values conc and uptake from CO2 dataset for performing. Is it correct?
11-12M 50-60S RK2020
Answer last updated on: April 28, 2020, 7:56 p.m.
-
Data Frames
while executing i am getting error plot(captaincy$names,captaincy$played)Error in plot.window(...) : need finite 'xlim' valuesIn addition: Warning messages:1: In xy.coords(x, y, xlabel, ylabel, log) : NAs introduced by coercion2: In min(x) : no non-missing arguments to min; returning Inf3: In max(x) : no non-missing arguments to max; returning -Inf
02-03M 10-20S premmsingh1973
Answer last updated on: April 28, 2020, 1:58 p.m.
-
FDP
How to save file in R
12-13M 30-40S Jaspreet-Kaur-1
Answer last updated on: April 27, 2020, 9:31 p.m.
-
plot function doubt
plot(captaincy$name,captaincy$played) andplot(captaincy$year,ratio) these are not executing
06-07M 0-10S archana.naware@gmail.com
Answer last updated on: April 27, 2020, 9:27 p.m.
-
Error while executing a command
> plot(captaincy$names,captaincy$played)Error in plot.window(...) : need finite 'xlim' valuesIn addition: Warning messages:1: In xy.coords(x, y, xlabel, ylabel, log) : NAs introduced by coercion2: In min(x) : no non-missing arguments to min; returning Inf3: In max(x) : no non-missing arguments to max; returning -Inf
07-08M 0-10S DNG
Answer last updated on: April 27, 2020, 1:15 p.m.
-
how to open csv file
it is not asking or showing any destination folderhow would i open it
01-02M 20-30S nageswararao2703@gmail.com
Answer last updated on: April 27, 2020, 11:07 a.m.
-
Workspace is not available in R 4.0
Workspace is not available in R version 4.0 in my computer sir, kindly tell me how to fix it
03-04M 20-30S Gowri_Krishnan
Answer last updated on: April 26, 2020, 11:32 p.m.
-
Regarding the elimination of row numbers
I have used notepad editor. After writing row.names=FALSE in R studio, if i reopen the newcaptaincy.csv file, it is not updated. Means, row numbers have not been removed . Kindly help me
08-09M 40-50S krishnaveni.ca@cauverycollege.ac.in
Answer last updated on: April 21, 2020, 10:31 p.m.
-
writing .csv file
write.csv(captaincy,"NewCaptaincy.csv", row.names = FALSE)by using the above code, I am getting an error,Error in file(file, ifelse(append, "a", "w")) : cannot open the connectionIn addition: Warning message:In file(file, ifelse(append, "a", "w")) : cannot open file 'NewCaptaincy.csv': Permission deniedhow to solve this?
09-10M 10-20S srilakjshmitn
Answer last updated on: April 21, 2020, 4:05 p.m.
-
I am getting an error while executing write.csv(captaincy,"NewCaptaincy")
I am getting the following error while executing write.csv(captaincy,"NewCaptaincy.csv")Error in file(file, ifelse(append, "a", "w")) : cannot open the connectionIn addition: Warning message:In file(file, ifelse(append, "a", "w")) : cannot open file 'NewCaptaincy.csv': Permission deniedPlease advise.Thank you
07-08M 10-20S hod_electronics@atharvacoe.ac.in
Answer last updated on: April 21, 2020, 4:05 p.m.
-
R or SPSS?
Can we use R instead of SPSS for statistical analysis?
00-01M 10-20S Shahaltaf96
Answer last updated on: Dec. 17, 2019, 4:08 p.m.
-
Why used CSV file
Dear sir why used csv file and not used other file like SQL/ oracle file
01-02M 10-20S devendrasinghkaushal
Answer last updated on: Nov. 9, 2019, 3:01 p.m.
-
Query reg size of the data frame
I am biologist working on gene expression,i am using geo2R inbuild package which is available in GEO database.My query regarding the size of the data frame,if my dataframe exceeds 50,000 column can we get scatter plot,heat map for differentially expressed genes (based on p value)
11-12M 40-50S Jemmy
Answer last updated on: Nov. 9, 2019, 2:27 p.m.
-
IS THIS R PROGRAMMING IS COMPATIBLE WITH THE MATLAB
IS THIS R PROGRAMMING IS COMPATIBLE WITH THE MATLAB
11-12M 0-10S mahender18
Answer last updated on: Nov. 9, 2019, 2:20 p.m.
-
DATA FRAMES
Whether dataframes can be created consisting of different datatypes?
02-03M 50-60S apsarapanicker92
Answer last updated on: Nov. 9, 2019, 12:27 p.m.
-
R programming
Couldn't write csv file.Getting error while using write.csv.write.csv(captaincy,"newcaptaincy.csv")Error in file(file, ifelse(append, "a", "w")) : cannot open the connectionIn addition: Warning message:In file(file, ifelse(append, "a", "w")) : cannot open file 'newcaptaincy.csv': Permission denied
07-08M 30-40S KALAIPHD
Answer last updated on: Nov. 9, 2019, 12:23 p.m.
-
Assignment Submission
How to submit assignment?
12-13M 30-40S SimranSinghani
Answer last updated on: Nov. 9, 2019, 12:16 p.m.
-
Query reg File extension
Does it support only .CSV file formatHow about the other conventional file formats
09-10M 20-30S Jemmy
Answer last updated on: Nov. 9, 2019, 12:16 p.m.
-
R programming
How to round off the values of a particular field in the data frame?
05-06M 40-50S PRATHIDAS
Answer last updated on: Nov. 9, 2019, 12:12 p.m.
-
R programming
How to round off the values of a particular field in the data frame?
05-06M 40-50S PRATHIDAS
Answer last updated on: Nov. 9, 2019, 12:12 p.m.
-
R programming
How to round off the values of a particular field in the data frame?
05-06M 40-50S PRATHIDAS
Answer last updated on: Nov. 9, 2019, 12:11 p.m.
-
Can we write into any other format ?
Like xls etc Need a suggestion ; As i know CSV reading is easier since its comma-separated
07-08M 30-40S umeshg
Answer last updated on: Nov. 9, 2019, 12:09 p.m.
-
Difference between write.csv & write.csv2
write.csv vs write.csv2
07-08M 30-40S umeshg
Answer last updated on: Nov. 9, 2019, 11:57 a.m.
-
About DataFrame
How to plot points alone using plot function?
12-13M 30-40S RevathyRamesh
Answer last updated on: Nov. 9, 2019, 11:44 a.m.
-
like to contribute more tutorials
hi..I like to contribute some more Videos in R programming. How it is possible??what are the steps to be done in this regard??
01-02M 10-20S jayankuttichal
Answer last updated on: Aug. 18, 2015, 11:50 a.m.
-
1Overview of R and RStudio
-
2Installing R and RStudio on Linux
-
3Installing R and RStudio on Windows
-
4Introduction to basics of R
-
Introduction to Data Frames in R
-
6Introduction to RStudio
-
7Introduction to R script
-
8Working directories in RStudio
-
9Indexing and Slicing Data Frames
-
10Creating Matrices using Data Frames
-
11Operations on Matrices and Data Frames
-
12Merging and Importing Data
-
13Data types and Factors
-
14Lists and its Operations
-
15Plotting Histograms and Pie Chart
-
16Plotting Bar Charts and Scatter Plot
-
17Introduction to ggplot2
-
18Aesthetic Mapping in ggplot2
-
19Data Manipulation using dplyr Package
-
20More Functions in dplyr Package
-
21Pipe Operator
-
22Conditional Statements
-
23Functions in R
Questions posted on ST Forums:
40259 visits
Outline:
Storing captaincy information in vectors Constructing a data frame using vectors Plotting one vector of a data frame vs. another one Adding a vector to a data frame Saving a data frame into a CSV file Preventing the writing of row numbers into the CSV file Changing the contents of a CSV file through a text editor Loading a CSV file into a data frame Accessing the data sets that come with R
Width: | 800 | Height: | 600 |
---|---|---|---|
Duration: | 00:12:34 | Size: | 6.9 MB |
Show video info