<div dir="ltr"><div><div>Hi Szabi,<br>"data" is probably not the function you are looking for. If you have troubles with any R function just type it with question mark "?data" to display manual. Start your R journey from R manuals, especially examples at the bottom of manual pages.<br></div>In case of future questions be aware datatable-help mailing list is not R-help mailing list, but mailing list related to data.table R package.<br></div><div>Regards,<br></div>Jan<br></div><div class="gmail_extra"><br><div class="gmail_quote">On 29 October 2016 at 13:57, bowlinggolyo <span dir="ltr"><<a href="mailto:szabolcs_pal@yahoo.co.uk" target="_blank">szabolcs_pal@yahoo.co.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I am a newbie to R.<br>
<br>
I can successfully load mydata into R-Studio, and I can see mydata in the<br>
workspace.<br>
<br>
However, when I run data(mydata1)<br>
<br>
I get the following warning message: In data(mydata1) : data set ‘mydata1’<br>
not found<br>
<br>
I need to run the data() command as recommended in the evReturn() command,<br>
which is part of the erer package.<br>
<br>
The code:<br>
<br>
library ("gdata")<br>
library("zoo")<br>
library('quantmod')<br>
library("lmtest")<br>
library("erer")<br>
<br>
mydata1 <- read.csv("ndx.csv",header=<wbr>TRUE,  sep=";")<br>
<br>
data(mydata1)<br>
<br>
<br>
What can I do to solve this problem?<br>
<br>
Tanks you for your help.<br>
Szabi<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://r.789695.n4.nabble.com/Specify-my-data-as-working-dataset-tp4726059.html" rel="noreferrer" target="_blank">http://r.789695.n4.nabble.com/<wbr>Specify-my-data-as-working-<wbr>dataset-tp4726059.html</a><br>
Sent from the datatable-help mailing list archive at Nabble.com.<br>
______________________________<wbr>_________________<br>
datatable-help mailing list<br>
<a href="mailto:datatable-help@lists.r-forge.r-project.org">datatable-help@lists.r-forge.<wbr>r-project.org</a><br>
<a href="https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/datatable-help" rel="noreferrer" target="_blank">https://lists.r-forge.r-<wbr>project.org/cgi-bin/mailman/<wbr>listinfo/datatable-help</a></blockquote></div><br></div>