[R] reikon: A package to interact with Thomson Reuters Eikon from R

2015-08-16 Thread Juan Manuel Truppia
Hi, I'm developing a package to interact from R with Eikon, the Thomson Reuters financial data platform (a la Rblpapi). You can find the package in Bitbucket at https://bitbucket.org/juancentro/reikon. The package is fully functional, but requires testing and usage in other environments than mine.

[R] Running R in Server

2015-08-16 Thread Swagato Chatterjee
Hello, I have written a R script which runs a regression of a dataset and saves the result in a csv file. Now this dataset has to be edited periodically which is done in a server. I need to run the R script in a server so that the results can also be shared in a server and used in a web

[R] Running R in Server

2015-08-16 Thread Swagato Chatterjee
Hello, I have written a R script which runs a regression of a dataset and saves the result in a csv file. Now this dataset has to be edited periodically which is done in a server. I need to run the R script in a server so that the results can also be shared in a server and used in a web

Re: [R] All results not showing in console (very large dataset)

2015-08-16 Thread John Kane
Write the results into an object and use head()? Quick example dat1 - data.frame(aa = sample(x, 500, replace = TRUE), bb = sample(x, 500, replace = TRUE), cc = sample(x, 500, replace = TRUE), dd =sample(x, 500, replace = TRUE) ) head(dat1) see ?head for more details John Kane Kingston ON

[R] All results not showing in console (very large dataset)

2015-08-16 Thread Aureus
Hi, I have a very large dataset, and have run a simper test on it. However, the output is so large that I cannot see the first sets of results in the console. How can I view them? I have tried saving to text, but it only saves what's in the console. Or is there a way to report the first X

[R] Error

2015-08-16 Thread Nikita Dinger
Dear Sir, I am getting this error Error in rep(xi, length.out = nvar) : attempt to replicate an object of type 'closure' I have read through the websites but cant really comprehend what this means? Need your help. This is my code complete - function(directory, idvec = 1:332) { df -

Re: [R] difference between write.csv(...) and write.table(..., sep=, )

2015-08-16 Thread Berend Hasselman
On 16-08-2015, at 16:38, Jinsong Zhao jsz...@yeah.net wrote: Hi there, I notice that write.csv is a wrap of write.table. However, I can't get the same results using both functions. Here is a reproducible example: x - matrix(1:6, nrow =2) rownames(x) - letters[1:2] colnames(x) -

Re: [R] cut variable within a loop

2015-08-16 Thread Janka VANSCHOENWINKEL
Hi David, Thanks for your comment. I'll explain what I want to do. I explained it already earlier but the explanation might have gone lost in some of the emails. The variable irrigation ranges from 0 to 100. (maybe not in de small sample I gave, but in reality I have over 6 observations and

Re: [R] difference between write.csv(...) and write.table(..., sep=, )

2015-08-16 Thread Marc Schwartz
On Aug 16, 2015, at 9:38 AM, Jinsong Zhao jsz...@yeah.net wrote: Hi there, I notice that write.csv is a wrap of write.table. However, I can't get the same results using both functions. Here is a reproducible example: x - matrix(1:6, nrow =2) rownames(x) - letters[1:2] colnames(x)

Re: [R] difference between write.csv(...) and write.table(..., sep=, )

2015-08-16 Thread Michael Dewey
I think that if you do ?write.csv and then page down to the section entitled CSV files the mystery will be solved for you in the first few paragraphs. On 16/08/2015 15:38, Jinsong Zhao wrote: Hi there, I notice that write.csv is a wrap of write.table. However, I can't get the same results

[R] difference between write.csv(...) and write.table(..., sep=, )

2015-08-16 Thread Jinsong Zhao
Hi there, I notice that write.csv is a wrap of write.table. However, I can't get the same results using both functions. Here is a reproducible example: x - matrix(1:6, nrow =2) rownames(x) - letters[1:2] colnames(x) - LETTERS[1:3] write.csv(x, ) ,A,B,C a,1,3,5 b,2,4,6 write.table(x, ,

Re: [R] Error

2015-08-16 Thread Bert Gunter
What do you think data is in: rbind(data, read.csv(filename[id])) str(data) ## before running your function will show you that it is probably the built in function data() which is probably the source of your error. Cheers, Bert Bert Gunter Data is not information. Information is not

[R] Error while submission

2015-08-16 Thread Nikita Dinger
I have completed part 2 of the assignment and am getting the desired output. But on submitting the code, it shows as the answer is incorrect along with this message: function (..., list = character(), package = NULL, lib.loc = NULL, verbose = getOption(verbose), envir = .GlobalEnv) Result:

Re: [R] cut variable within a loop

2015-08-16 Thread David Winsemius
On Aug 16, 2015, at 8:57 AM, Janka VANSCHOENWINKEL wrote: Hi David, Thanks for your comment. I'll explain what I want to do. I explained it already earlier but the explanation might have gone lost in some of the emails. I now see that you did explain that you wanted the positional

Re: [R] Error while submission

2015-08-16 Thread Sarah Goslee
On Sun, Aug 16, 2015 at 12:39 PM, Nikita Dinger dingernik...@gmail.com wrote: I have completed part 2 of the assignment and am getting the desired output. But on submitting the code, it shows as the answer is incorrect along with this message: This list is not an appropriate place for you to

Re: [R] Error while submission

2015-08-16 Thread Jeff Newmiller
Go to where you were given this assignment and ask them for help. --- Jeff NewmillerThe . . Go Live... DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go...

Re: [R] Error - cannot open file 'specdata/001.csv': No such file or directory; Windows 8, R Version 3.2.1

2015-08-16 Thread Anthoni, Peter (IMK)
Hi Nikita, To check whether the files are really there, run the following at the R prompt: getwd() list.files() *C:/Users/acer/My Documents/specdata/rprog-data-specdata/specdata* Your working path looks like you either need to set it to: C:/Users/acer/My