Skip to content

Instantly share code, notes, and snippets.

View Moving files using command prompt
How to move files in the Windows command line (MS-DOS)
move stats.doc c:\statistics
If you'd like to move multiple files, you can separate the file names with a comma, as in the following command.
move stats.doc, morestats.doc c:\statistics
In the next example, we are moving the file "example.doc" to the D:\ drive.
@abhishekdagarit
abhishekdagarit / Deleting files through command prompt
Created Nov 26, 2018
Deleting files through command prompt
View Deleting files through command prompt
Examples:
Delete "Hello World.txt"
DEL "Hello World.txt"
Delete 3 named files:
DEL file1.txt file2.txt "C:\demo\file3.txt"
@abhishekdagarit
abhishekdagarit / Replace an occurrence of a text in XML
Created Nov 26, 2018
Replace an occurrence of a text in XML
View Replace an occurrence of a text in XML
powershell -Command "(gc combined.xml) -replace '<root>', '' | Out-File updatedXML.xml"
@abhishekdagarit
abhishekdagarit / Combining XMLs into 1 using command prompt
Created Nov 26, 2018
Combining XMLs into 1 using command prompt
View Combining XMLs into 1 using command prompt
for %f in (*.xml) do type "%f" >> combined.xml
@abhishekdagarit
abhishekdagarit / Finding a string through command prompt
Created Nov 26, 2018
Finding a string through command prompt
View Finding a string through command prompt
find "martin hendrikx" C:\Users\Martin\Desktop\exercise.txt
View SAS lecture 1.md

#Printing datasets in SAS

proc print data=work.intro;
run;

Where clause

View Vectors in R.md

Vectors in R

Creating a vector

Use c() function

vector_1 <- c(23,4,2)
vector_2 <- c("p", "q", "r")
vector_3 <- c(TRUE, FALSE, FALSE)
View R Basics.md

Assignment operator

Assign the value 42 to x

x <- 31
Other_shit <- 4
View swirl.md

#SWIRL

Its basically a package that if installed can help in learning and practicing R, right inside the R console.

Main Swirl webpage

Steps

  1. Get R
You can’t perform that action at this time.