Re: [R] plot and save as png

2013-03-21 Thread veepsirtt
erated. where is the problem?. thanks veepsirtt > png(filename = "fname.png", width = 900, height = 600, units = 'px') > layout(matrix(c(1,2,3,4), 4, 1, byrow = TRUE)) > plot(sin, -pi, 10*pi) > plot(sin, -pi, 20*pi) > plot(sin, -pi, 30*pi) > plot(sin, -pi

Re: [R] Download a file from url

2012-10-15 Thread veepsirtt
seindia.com/content/fo/fii_stats_12-Oct-2012.xls"; local.xls.file = tempfile() download.file(url, local.xls.file) wb = loadWorkbook(local.xls.file, create=F) data = readWorksheet(wb, sheet=1) View(data) --- no results ... kindly help me

Re: [R] Download a file from url

2012-10-15 Thread veepsirtt
Mr Jeffrey Breen mailed me the following code. but it is not giving me the results under Windows 7. With regards veepsirtt' library(XLConnect) url = "http://www.nseindia.com/content/fo/fii_stats_12-Oct-2012.xls"; local.xls.file = tempfile() download.file(url, local.x

Re: [R] Download a file from url

2012-10-15 Thread veepsirtt
Hi Henrik, i included the mode='wb' but gives me this error. What is the other method to download the excel file?. With kind regards veepsirtt library(XLConnect) > > url = "http://www.nseindia.com/content/fo/fii_stats_12-Oct-2012.xls"; > local.xls.file = tem

Re: [R] Download a file from url

2012-10-15 Thread veepsirtt
Currently download methods "internal", "wget", "curl" and "lynx" are available. If wget is not possible under windows,how to use 'curl'?. thanks veepsirtt -- View this message in context: http://r.789695.n4.nabble.com/Download-a-file-from-url-t

Re: [R] Download a file from url

2012-10-16 Thread veepsirtt
Hello Prof Brian Ripley I installed wget for windows from http://users.ugent.be/~bpuype/wget/ <http://users.ugent.be/~bpuype/wget/> and got the results very thanks vee

[R] Passing the parameters for web form using getHTMLFormDescription

2012-10-17 Thread veepsirtt
call the function like this and getting the table out of it. xx = g("10/09/2012 ", "15/10/2012") expecting your reply. thanks veepsirtt -- View this message in context: http://r.789695.n4.nabble.com/Passing-the-parameters-for-web-form-using-getHTMLFormDescription-tp4646436

Re: [R] postForm() in RCurl and library RHTMLForms

2012-10-17 Thread veepsirtt
jarati txtscrip: [ Scrip Name / Code ] . g = createFunction(ff[[1]]) here after how to call the function like this and getting the table out of it. xx = g("10/09/2012 ", "15/10/2012") expe

[R] Remote access to R/Bioconductor on EBI's 64-bit Linux Cluster

2012-10-27 Thread veepsirtt
ersion built for multicore CPUs Access to all Bioconductor packages Access to our computing infrastructure Fast access to data stored in EBI's repositories (e.g., public microarray data in ArrayExpress) Thanks veepsirtt -- View this message in context: http://r.789695.n4.nab

Re: [R] Sorting data.frame datewise in a descending order and geting datewise subtotl

2014-07-03 Thread veepsirtt
uot;, "numeric", "character", "numeric", "numeric", "character", " ..." ... [TRUNCATED] Error in readHTMLTable(tableNodes[[4]], colClasses = c("numeric", "character", : error in evaluating the argument 'doc'

Re: [R] Sorting data.frame datewise in a descending order and geting datewise subtotl

2014-07-03 Thread veepsirtt
; dat1 <- readHTMLTable(tableNodes[[4]], >> colClasses=c("numeric","character", "character", "numeric", "character", >> "numeric", "numeric", "character", " ..." ... [TRUNCATED] >> Error in readHTM

Re: [R] Sorting data.frame datewise in a descending order and geting datewise subtotl

2014-07-03 Thread veepsirtt
--- > > > I got this error,while running the above code under RStudio., > how to correct it?. > > > dat1 <- readHTMLTable(tableNodes[[4]], > colClasses=c("numeric","character", "character", "numeric", "charac

Re: [R] Date format conversion from "2012-09-20" to "2012:09:20"

2012-11-02 Thread veepsirtt
startDate = as.Date(endDate-30, order="ymd") dataspy = getSymbols("SPY", from = startDate, to=endDate, auto.assign = FALSE) lastDate=startDate+5 #subset first 5 days dataspy['startDate::lastDate'] print(dataspy) Thanks veepsirtt -- View this message in context: h

Re: [R] Date format conversion from "2012-09-20" to "2012:09:20"

2012-11-03 Thread veepsirtt
Hi, thanks A.K try this not working #* # Load historical data #** library('quantmod') endDate =Sys.Date() startDate = as.Date(endDate-10, order="ymd") dataspy = getSymbo

[R] library(RCurl) quamtmod yahoo data source

2012-11-06 Thread veepsirtt
PRO", fromDate="29-Oct-2012", toDate="06-Nov-2012", datePeriod="unselected", hiddDwnld="true", .opts = list(followlocation = TRUE,ssl.verifypeer = FALSE , verbose = TRUE)) tbl<-read.csv(textConnection(fii),skip=2,header=TRUE)

[R] if url.exists() or not

2012-11-08 Thread veepsirtt
ot; [1] "15-10-2012 Not exist " [1] "14-10-2012 Not exist " [1] "13-10-2012 Not exist " [1] "12-10-2012 Not exist " [1] "11-10-2012 Not exist " [1] "10-10-2012 file exist" [1] "09-10-2012 Not

Re: [R] if url.exists() or not

2012-11-08 Thread veepsirtt
Hi Rusers, the file is available for download but it returns not exists. How to download the files? thanks veepsirtt > # > # check for if file exist

Re: [R] Download a file from url

2012-11-17 Thread veepsirtt
Hi R, I installed wget and tried to download the file from this http://nseindia.com/content/equities/scripvol/datafiles/16-11-2012-TO-16-11-2012ACCEQN.csv but it fails. How to get it using wget? thanks veepsirtt #Define Working Directory, where files would be saved setwd('G:/NIFTY'

Re: [R] postForm() in RCurl and library RHTMLForms

2012-11-24 Thread veepsirtt
Why I am getting this error? Error in getHTMLFormDescription(docNifty)[[1]] : subscript out of bounds -- View this message in context: http://r.789695.n4.nabble.com/postForm-in-RCurl-and-library-RHTMLForms-tp3026742p4650636.html Sent from the R help mailing list archive at Nabble.com. __

Re: [R] sendmailR-package-valid code needed

2010-08-23 Thread veepsirtt
ile, method, mode = "wb", ...) : cannot open: HTTP status was '404 Not Found' Warning in download.packages(pkgs, destdir = tmpd, available = available, : download of package 'Rmail' failed With regards veepsirtt -- View this message in context: http://r.789695.

Re: [R] Cran-packages-ProfessoR- how to Automatically email a file to an address using the perl program.

2010-08-25 Thread veepsirtt
Hi Jonathan lees How to use this code and after installing "ProfessR" package autoemail(eadd, sfile, hnote = "Exam Results") thanks veepsirtt -- View this message in context: http://r.789695.n4.nabble.com/Cran-packages-ProfessoR-how-to-Automatically-email-a-file-to-

Re: [R] RStudio -manipulate command

2011-04-26 Thread veepsirtt
require(quantmod) getSymbols("GLD") library(manipulate) manipulate( plot(Cl(GLD), xlim=c(0,x.max)), x.max=slider(10,100)) Why the graph is not plotting? thanks veepsirtt -- View this message in context: http://r.789695.n4.nabble.com/RStudio-manipulate-command-tp3474947p3474976

[R] RStudio -manipulate command

2011-04-26 Thread veepsirtt
(0, x.max)) : only the univariate series will be plotted Kindly help me. veepsirtt -- View this message in context: http://r.789695.n4.nabble.com/RStudio-manipulate-command-tp3474947p3474947.html Sent from the R help mailing list archive at Nabble.com. ___

Re: [R] RStudio -manipulate command

2011-04-27 Thread veepsirtt
require(quantmod) getSymbols("GLD") library(manipulate) manipulate( plot(as.matrix(Cl(GLD)), xlim=c(0,x.max)), x.max=slider(10,1000)) I am not getting the plot of closing price of GLD. V.Periasamy M.E Associate Professor Dept of Mechanical Engineering, IRTT-ERODE-638316 INDIA -- View thi

Re: [R] RStudio -manipulate command

2011-05-03 Thread veepsirtt
Why the mean value " h" is not changing as the slider moves from 0 to 25 ?. It remains always constant. library(manipulate) example <- function(x.max){ plot(cars, xlim=c(0,x.max)) abline(h=mean(cars$dist),col="blue",lty=2) } manipulate( example(x.max), x.max=slider(0,2

[R] Blotter package ?.

2011-02-18 Thread veepsirtt
Hi, Where is the "blotter" package?.It is not available at R-Forge. Let me know how to get it. With Regards veepsirtt -- View this message in context: http://r.789695.n4.nabble.com/Blotter-package-tp3313796p3313796.html Sent from the R help mailing list archive at

[R] Accessing graphs via url

2011-09-09 Thread veepsirtt
Hi I want to bring the graph from the site www.avasaram.com for the symbol GOOG here is the link http://www.avasaram.com/historyAction!addPatterns.action?model.ticker=GOOG&model.slectedPatternsIds=55 How to get the graph in R?. With regards veepsirtt -- View this message in context: http