Hello,
I am have trying to load data in R by connecting R to the database the
following way:
library(RODBC)
channel-odbcConnect(gagan)
now after I connect to the server by putting pwd. I want to load table from
the database named temp in to R so that I can do some descriptive
statistics with
Hello,
I want to run the following commands as a script(.r or .bat) and save the
output in an external file through Windows OS.
data-read.csv(file=wgatever.csv, head=TRUE, sep=,)
summary(data$SQFT)
hist(data$STAMP)
hist(data$STAMP, col='blue')
hist(data$SHIP, col='blue')
How could I do
I first I saved the following commands in a whatever.r file.
data-read.csv(file=whatever.csv, head=TRUE, sep=,)
summary(data$SQFT)
hist(data$STAMP)
hist(data$STAMP, col='blue')
hist(data$SHIP, col='blue')
then I clicked File Menu- source and chose whatever.r, it runs the
commands and produces
3 matches
Mail list logo